Developer forum
E-mail notifications
Change generated html
Posted on 07/02/2008 16:20:11
We want to change the html-code for dwcontent and dwTopMenu. How can we do that?
Replies
Posted on 07/02/2008 17:37:13
andreas.matilainen@skapa.se wrote:
We want to change the html-code for dwcontent and dwTopMenu. How can we do that?
dwTopMenu is congiured under your page template under Modules>Tempaltes, there you will be able to change the name of dwTopMenu. DwContent cannot be changed as far as my knowledge
Posted on 08/02/2008 05:26:14
DwContent tag is replaced by the output of your page's paragraphs, see the http://templates.dynamicweb.dk/Default.aspx?ID=2141. So, to change it, just change the content of your paragraphs.
Posted on 08/02/2008 10:08:08
If you want to "change" the DwContent tag, you would have to create a string replacement in Pageview.Output to replace your Custom tag, to output the same thing that DwContent does :)
Posted on 08/02/2008 16:09:29
jed@dkis.dk wrote:
If you want to "change" the DwContent tag, you would have to create a string replacement in Pageview.Output to replace your Custom tag, to output the same thing that DwContent does :)
Ok, is that the only way?
This is how it looks in my TopRTopNavigation.html page in the page folder.
... and if I take view source in the browser of that code
Test test test | |||||||||||
What I want to do is remove that irritating row that gets inserted at the top of all pages in DWContent.
Nicolai Høeg Pedersen
Posted on 08/02/2008 16:15:22
Posted on 08/02/2008 16:35:16
NP wrote:That can be done from "Control Panel - Editing"
http://manual.net.dynamicweb.dk/Default.aspx?ID=610
Thanks Nicolai!
Exactly what I needed, how could I have missed that...
You must be logged in to post in the forum