Page 1 of 1
Location of replacement tags
Posted: Fri 12. Nov 2010, 01:35
by chiefwahoc
Where are the standard built-in replacement tags found in the code?
I'm looking for the code for the [download] RT specifically.
Thanks.
Re: Location of replacement tags
Posted: Fri 12. Nov 2010, 14:54
by flip-flop
Have a look into
Technics -> Core
especially in "include/inc_front/content.func.inc.php" around line 765 nad you will see. (Search for function "parse_downloads").
But the better solution without a hack is a separate RT e.g.
[xdownload=IDs||t:ags||f:older-IDs/]
Knut
Re: Location of replacement tags
Posted: Fri 12. Nov 2010, 16:21
by chiefwahoc
Thanks, Knut - I think the xdownload rt will work for me. Also saves me from having to write my own
