PDA

View Full Version : [No Bugs Here] weird template replacement issue


recumbent615
Sun 2nd Mar '03, 11:54pm
Hi,
Has anyone else seen or has anyone determined why we can nolonger use replacements inside of replacements. has the replacement expansion code changed in the latest version of VB. Has anyone else seen this . I've seen it in the Bluecrome theme where {menu_bullet} is replaced by <img src="{imagesfolder}/breadcrumb.gif" width="11" height="10">&nbsp;
results in the imagesfolder not being expanded, but, the replacement for imagesfolder is :
{imagesfolder} is replaced by /forums/themes/bluechrome [edit] [revert to original] [view original]


Kevin

NOTE: I am running VP 2.3.0 and VbPortal 3.B22. On a RH Linux 7.3 fully patched kernal. My PHP version is 4.1.2

Steve Machol
Mon 3rd Mar '03, 6:12pm
This is working differently in vB 2.3.0. Moving to Bugs for a Dev to look at this.

Streicher
Tue 4th Mar '03, 11:57am
I remember that since the first versions of vB2 you can not use replacements inside replacements. So, thats not a bug IMHO.

Stadler
Tue 4th Mar '03, 1:29pm
Works for me ...

I've checked this for 2.2.9 and 2.3.0 RC3 locally and had no problems.

I'm using {imagesfolder} in my <body>-replacement and it works without problems.

Freddie Bingham
Wed 12th Mar '03, 12:21pm
I don't think we have ever advertised being able to use replacements inside of replacements as a feature. Also I can not find any instance in CVS where the functionality that affects replacements was changed.

To the point though, it appears that putting a replacement inside of another still works, it just doesn't get parsed when you are looking at the list of replacements in the admin cp.