Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 17 Jan 2012, 09:12
diades diades is offline
Join Date: Jul 2002


Has anyone had occasion to use the <vb:comment> tag? Can anyone give me an example of its use? I want to drop it into a product via a plugin to 'erase' part of the page but just get an error which means that I have no idea.

Community for Webmasters & Developers
Reply With Quote
Old 17 Jan 2012, 11:11
Yellow Slider Yellow Slider is offline
Join Date: Aug 2006
No one's gonna be able to help you if you don't post the actual code.
Reply With Quote
Old 17 Jan 2012, 11:14
kh99 kh99 is offline
Join Date: Aug 2009
Real name: Kevin
You just put <vb:comment> ... </vb:comment> in a template, around the part that you want to comment out. If you're doing a str_replace or the like on a cached template that won't work, because the cached template has already been compiled so you can't use <vb: tags. The cached template is php, so you might be able to put in /* and */ as long as you make sure you're not putting them in the middle of a string.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 18:51.

Layout Options | Width: Wide Color: