Irish SEO,  Marketing & Webmaster Discussion

 

What is this code used for...

This is a discussion on What is this code used for... within the Coding Help forums, part of the Webmaster Help category; I've picked up another site to maintain with code I've never seen before... <td>%%SUBMENU%%</td> What do the double-percentages mean?...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-05-2008, 11:04 AM
ButtermilkJack's Avatar
Wannabe Geek
 
Join Date: Feb 2006
Location: Dublin, Ireland
Posts: 267
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ButtermilkJack will become famous soon enough
Default What is this code used for...

I've picked up another site to maintain with code I've never seen before...

<td>%%SUBMENU%%</td>

What do the double-percentages mean?
__________________
Print & Web Design
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 07-05-2008, 11:54 AM
Hardcore Geek
 
Join Date: Nov 2006
Location: Navan, Meath
Posts: 566
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
davidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to all
Send a message via Skype™ to davidbehan
Default

I'd say it's used in server side code to look for %%SUBMENU%% and replace it with the actual sub menu that is probably built dynamically from a database.

I use $$$SUBMENU$$$ to do my replaces. They are placemarks in the template so I know where to put the sub menu.

It might have gotten outputted on to the page because they forgot to replace it or something.

Here's my raw template file:
$$$PAGETITLE$$$

but all the placemarkers get replaced on the actual pages of the site.

Hope that explains it.

Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 07-05-2008, 01:21 PM
ButtermilkJack's Avatar
Wannabe Geek
 
Join Date: Feb 2006
Location: Dublin, Ireland
Posts: 267
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ButtermilkJack will become famous soon enough
Default

Yep, that explains it perfectly. Thanks Dave!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
code

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Ruby on Rails VS PHP Code Igniter gav240z Coding Help 10 04-02-2008 12:04 AM
Help with website - why code like this? ButtermilkJack Coding Help 9 28-01-2008 01:30 PM
New Google Analytics Code... davidbehan Webmaster Discussion 5 02-01-2008 05:18 PM
Conversion tracking with no code? gav240z Google Adwords 0 17-12-2007 01:29 PM
recomend IP to Alpha2 and dialing code database Frodo Webmaster Discussion 2 27-01-2007 03:40 PM


Sponsored links

Paid On Results


All times are GMT +1. The time now is 01:44 PM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0