Developer forum

Forum » Development » Change generated html

Change generated html


Reply
We want to change the html-code for dwcontent and dwTopMenu. How can we do that?

Replies

 
Reply
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
 
Reply

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.

 
Reply
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 :)

 

 
Reply
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
Reply

That can be done from "Control Panel - Editing"


 


http://manual.net.dynamicweb.dk/Default.aspx?ID=610


 

 
Reply
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