REPLACEMENT TAG: Repository
Posted: Mon 1. May 2006, 14:40
This thread is a repository for custom replacement tags written by anyone.
FOR USERS
Please only post your tag once and follow the followinf rules...
Tags that are posted will require the 'x' to be replaced with a unique number that does not appear in any other custom replacement tag within the custom replacement tag file.
USAGE: Once you have the basic custom replacement tag file you may pick and choose the tags you wish to use by following the following steps...
FOR USERS
- in order to keep this thread as clean and efficient as possile plesae do not post ANY posts within this thread INCLUDING expresions of thanks & congrats, how to's & how do I's etc.
- all bug reports should go as a pm to theauthor of the replacement tag's post so that they may fix it
- ensure you have a custom replacement tag file within your 'phpwcms_template/inc_script/frontend_render/' directory. if you do not (thier is not one by defualt) then create one using the tutorial in the
following post. - abuse of these rules will result in the post being relocated or deleted so as to maintain the efficientcy of this thread
Please only post your tag once and follow the followinf rules...
- One post per tag
- All edits, bug fixes, additions and substractions should be maintained within the original post - comment as required.
- Maintain comments for author, revision,descprition,usage and example
- All replacement tags should have a unique name (please check against new RT's within this thread)
- All custom functions should have a unique name (please check against new RT's within this thread)
- SEARCH & REPLACE Pairs should have the array unmber replaced with an 'x' so as to force the end user to allocate a unique number to thier own custom replacement tag file - enableing then to pick and choose witch tags they like.
Tags that are posted will require the 'x' to be replaced with a unique number that does not appear in any other custom replacement tag within the custom replacement tag file.
USAGE: Once you have the basic custom replacement tag file you may pick and choose the tags you wish to use by following the following steps...
- Cut & Paste the code snippet from any post and place in the indicated part of the custom replacement tag file. This will either be in the FUNCTIONS or the TAGS section.
- replace the 'x' within SEARCH[x] & REPLACE[x] to a unique number that idealy follows on from the last tags number: for example the next tag after SEARCH[1] & REPLACE[1] should be SEARCH[2] & REPLACE[2]
- please note that each tag with have a search/replace pair that must use the same unique number identifyer.