Is there any way to insert a script in placeholder so it is placed at bottom of generated code just before the closing </body> tag? I need this for a counter report.
Printable View
Is there any way to insert a script in placeholder so it is placed at bottom of generated code just before the closing </body> tag? I need this for a counter report.
Hmm? Must be. Check back and see if one of the more savvy members has the answer.
I need to test this a bit more but I think bringing the place holder to the front [Ctrl+F] and putting it on the topmost layer in the page and layer gallery will get it pretty close to the bottom.
Go to web properties and use the Place holder (body) in the website tab.
Click any layer in the page and layer gallery and press "new layer". Name it something like "lastlayer" and drag it to the top of the list :) See attached.
I knew someone would have a suggestion.
For what it's worth, a placeholder that contains HTML script or any other script will be transparent unless it is calling an image to appear.
xtom is right. To get the code placed just before the </body> tag, you have to use "HTML code (body)" field on the "Page" or "Website" tab of the Web Properties dialog.
I assumed by the way the question was phrased that the OP had already got that bit :)