Author Topic: {template_url} not getting parsed inside an included file  (Read 2673 times)

0 Members and 1 Guest are viewing this topic.

Offline www.girls-on-bikes.com

  • Full Member
  • ***
  • Posts: 145
    • View Profile
    • http://www.girls-on-bikes.com/
{template_url} not getting parsed inside an included file
« on: May 30, 2003, 02:03:41 AM »
Hello All,
I have a php include file that is used for adding my own links to the nav bar.
Say inside home.html, I have this:
<?php include("4gmenu.php"); ?>

4gmenu.php contains, among other things, some of the formatting from the original script, namely {template_url}
Now that is not getting "parsed" inside of 4gmenu.php

What would I need to do to get the {...} stuff to parse inside of a php include file?

Thanks

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
{template_url} not getting parsed inside an included file
« Reply #1 on: May 30, 2003, 02:07:21 AM »
u cant, because 4images was designed to parse .html templates.
but u can try just use $varibales instead of {tags}
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

 

Post your comments here