Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
language variables
How is it possible to use language variables in DW7? I seem to remember something about being able to translate words in different languages and using them in the templates with some sort of global template tag. Any suggestions? ...
17/11/2009 11:23:16
No replies yet
Custom tags for custom designs?
Hi i am a neewly hired designer (and to little extent programmer). I have been introduced to DW and think i have a basic grasp of how things work. I have read in the design/template manuals, but do not quite get the workings... My job is to design th ...
16/11/2009 00:33:31
Last post: 16/11/2009 15:46:05
The use of [@If Defined]
Hi Is there a way to use the IF to test if a page has a given page ID of if a menu has any content? ex: < !--@If Defined(DwPageID==2702)-- > OR can the only be used to tell if a variabel has a value. ...
28/05/2009 10:17:28
Last post: 11/11/2009 08:24:27
xslt & javascript
Hi there i have this problem about a simple menu in xslt i want everytime i click on it a new window to be open here is the peace of code how i am doing that : <a onclick="window.open('{@FriendlyHref}',menubar=1,resizable=1,width=350,height=2 ...
06/11/2009 15:05:03
Last post: 09/11/2009 13:41:09
Example XML of ecom navigation
Where can I see an example of the XML for the ecom navigation? I have a page with both a conventional XSLT page menu and an ecom menu. Have tried this: http://developer.dynamicweb.dk/Weblog-16918.aspx?action=ShowArticle&ArticleID=162 but it only  ...
04/11/2009 15:36:36
Last post: 04/11/2009 15:46:34
Show random news from a newscategory
Our client has a lot of so-called LEAN-statements that need to "rotate" on their intranets frontpage. These statements has to be editable which makes us want to utilize the news-module. A random statement has to be shown each time the front ...
06/05/2009 08:43:51
Last post: 03/11/2009 10:57:39
Converts "special characters" from db
Content from database fields presented through Data List templates are converted. Symbols like "<" and "&" are converted to its correspondig HTML character encoding (&lt; and &amp;) making tagged information stored  ...
30/10/2009 12:47:04
No replies yet
Data Lists template tags?
Is it possible to do something based on current @row.value during rendering of a Data List. inside <!--LoopStart(Row)-->? In my case I am making a list view showing fields from the News data table (News v2 module). If the value processing in my ...
30/10/2009 10:24:37
Last post: 30/10/2009 11:41:49
Tech Review video?
Unfortunately, I didn't have the opportunity to attend any of the tech reviews of Dynamicweb 7. Since there was an online tech review I wonder if it is available as a downloadable video file, so that I can catch up on the latest features in Dynamicwe ...
23/10/2009 09:09:48
Last post: 30/10/2009 11:22:01
outputing XML
I need the content of a page to be exported in xml for a flash application. the content it will be only text and some links nothing else! any idea how its possible to make it in a simple way!! thanks a lot ! ...
26/10/2009 11:34:06
Last post: 27/10/2009 12:10:41
Pagemenu tags in Page template
Hi, In page templates we something create if conditions related to page IDs. I want to know if we can somehow access the current page's navigation xml in the page template, so that instead of checking for a specific ID, I can check if Sort=1 and Abso ...
22/10/2009 20:37:46
No replies yet
True HTTP Status 301 at AreaId 1
We have an old solution located at language area ID 1. This area ID cannot be deactivated, so we have to figure out something else. The best solution would be to give the user a true HTTP Status code 301 and redirect them to the new design/language a ...
21/10/2009 12:31:17
Last post: 21/10/2009 13:43:13
Custom fields in customerinfo in eCom shoppingcart
Hi, I have created custom fields for a user. Is it possible to retrieve these fields in step 2 of the checkout procedure. They dont show up when you type the DwTemplateTags tag in the template. Rewards / Aki ...
19/10/2009 17:40:23
Last post: 20/10/2009 20:28:07
More info on templates in Dynamic 7?
Hi, I am looking for more detailed information on the new template support in Dynamic 7. Instead of a nested templates based on master, page and paragraph there should be possible to use complete webpage as a template. Anyone with some pro or cons on ...
20/10/2009 14:58:29
No replies yet
eCom Product Active Status?
I've checked the template-tags manual serveral times: http://template.dynamicweb.dk/eCommerce/Dynamicweb-eCommerce-template-tags/Product-Catalog/Element/Product.aspx But I cannot find a tag that shows me if the product are active or not. I know that  ...
20/10/2009 10:05:52
Last post: 20/10/2009 10:24:26
eCom query Params
Hi, Is there a place wehre we can find the list of query params accepted in eCom? All I know officially about is the parameter based search document. By reading here and there I found the sort feature, and I know about comma separeted group id's to & ...
14/10/2009 17:34:06
No replies yet
if/else tag. Display cart or not
Hi! We need to display a link to the cart on all pages. If the cart is empty we simply want it to say 'cart empty'. Anybody know why the code below doesent work? <!--@If Defined(Ecom:Order.OrderLines.TotalQuantity)--> <a class='id1' href='De ...
08/10/2009 11:55:41
Last post: 08/10/2009 14:07:44
attachments in e-mail templates
Hi, Does anyone know if (and how) we can send attachments in the eCommerce e-mail templates? Best Regards, Nuno ...
11/08/2009 16:20:56
Last post: 07/10/2009 16:26:50
DW tag and javascript
Hey Can i use a dw tag like this @Global:Paragraph.Content(11) with javascript? I'm getting an unterminated string literal error because of the (11). I'm new to javascript so don't know a workaround. I have tried both replace and splitting up the tag ...
30/09/2009 15:51:14
Last post: 06/10/2009 23:24:36
ePay and MD5
ePay is offering a MD5 solution but how do I set this up in eCommerce? On step 5 where the ePay payment window pops up, you can just view the source and take the "accepturl" and paste in the browser URL. Then it looks like the order was pai ...
06/10/2009 11:13:20
No replies yet