Location of replacement tags

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
chiefwahoc
Posts: 2
Joined: Fri 12. Nov 2010, 01:27

Location of replacement tags

Post 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.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Location of replacement tags

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
chiefwahoc
Posts: 2
Joined: Fri 12. Nov 2010, 01:27

Re: Location of replacement tags

Post by chiefwahoc »

Thanks, Knut - I think the xdownload rt will work for me. Also saves me from having to write my own ;)
Post Reply