It would be helpful and would save time if you made the code alterable. A good example are menues and stat counters. They require that code be embedded into your code. This can only be done after publishing in the 'Mysite' folder. Every time you publish you must reinsert the code. If you provided the capaility to alter code while working on the project(select file then code)one could embed the menu or stat counter code in your code and save it to the projects folder. This way the embedded code would always be there and there would be no need to insert it into the HTML pages after publishing.
The bad news is that a code creator, such a Sitespinner, cannot really allow editing since the code is recreated, based on your page's contents, everytime you publish or preview.
The good news is that you can use the code object (menu: Object > Code) or Page editor's 'Header' tab to embed your code into a page.
Great! but when I use the page editor it places the code after the Meta tags. The stat counter says they want it after <head>. Do you think it would make any difference?
A part of JD&Co web design ------------------------------------------------- "It's not where you take things from - It's where you take them to" -Jean-Luc Godard
Posts: 837 | Location: England | Registered: March 13, 2005
The code objects go between <body> and </body> by default. Technically a <head> inside a <body> is not valid HTML so it is better to place go the code into the header (that is, between the existing <head> and </head>.
To do that: click menu: Page > Page Editor. Go to the 'Header' tab and Press 'New Header' Then paste your code into the 'Custom Header' area.