Spatvark
11-15-2002, 01:22 AM
OK, I'm hardly the worlds greatest at HTML, let alone PHP but this strikes me as an incredibly simple problem...
<span class="mainmenu"> <a href="{U_FAQ}" class="mainmenu"><img src="templates/blueSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3">{L_FAQ}</a></span>
How come the href is {U_FAQ}? I don't understand how that can be a valid href... the same goes for {L_FAQ} That comes up as FAQ on the page...
Anyone understand this? My reckoning is that it's referring to another php file where the {U/L_BLAH} things were assigned to different things.
Now, to clarify, I'm referring to a tpl file in a phpBB 2.0.1 file (overall_header.tpl for any who actually run a phpBB fora) and I want to add another link in but I don't dare since I don't understand how it all works.
Would it be possible for me to use a bog-standard href link? e.g.
<a href="http://blah.blah.com/forums/blah.php" class="mainmenu"><img src="templates/blueSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="FAQ 2" hspace="3">FAQ 2</a></span>
And finally, did anyone understand any of what I just said? =P
(p.s. can you mods/admins in the know make it so it doesn't convert the html here? I can't remember the codes so I need someone to do it for me...)
<span class="mainmenu"> <a href="{U_FAQ}" class="mainmenu"><img src="templates/blueSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3">{L_FAQ}</a></span>
How come the href is {U_FAQ}? I don't understand how that can be a valid href... the same goes for {L_FAQ} That comes up as FAQ on the page...
Anyone understand this? My reckoning is that it's referring to another php file where the {U/L_BLAH} things were assigned to different things.
Now, to clarify, I'm referring to a tpl file in a phpBB 2.0.1 file (overall_header.tpl for any who actually run a phpBB fora) and I want to add another link in but I don't dare since I don't understand how it all works.
Would it be possible for me to use a bog-standard href link? e.g.
<a href="http://blah.blah.com/forums/blah.php" class="mainmenu"><img src="templates/blueSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="FAQ 2" hspace="3">FAQ 2</a></span>
And finally, did anyone understand any of what I just said? =P
(p.s. can you mods/admins in the know make it so it doesn't convert the html here? I can't remember the codes so I need someone to do it for me...)