vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Screwed up templates

mikelbeck
09-16-2005, 07:30 AM
I hammered a couple of custom templates that I had made, so I restored a backup to a different database, copied the data from the 'template' field and inserted it into the proper template (using phpMyAdmin).

Now, when I edit the template in the style manager, all of the <if> type code in the templates is screwy. For example, these used to be an <if> statements:


\" . (($VariableName) ? (\"
\") : (\"\")).\"


What's that all about?

noppid
09-16-2005, 09:03 AM
Damned if I know. It's to do with the parsing. But I'd think that would have worked. I just don't know though. I've never traced that code.

mikelbeck
09-16-2005, 09:14 AM
Damned if I know. It's to do with the parsing. But I'd think that would have worked. I just don't know though. I've never traced that code.

Here's something else I found... if I leave the template as-is, it works. But if I go in, edit it, save it and try to re-display the page it's used on, it's all screwy - that stuff is displayed as text and not parsed anymore.

Odd...


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum