TinyPortal

Development => Support => Topic started by: FCtptest on August 10, 2010, 10:16:21 AM

Title: Problem with gender chart
Post by: FCtptest on August 10, 2010, 10:16:21 AM
http://www.fancya-chat.com/FAC_Forum/index.php
SMF version: 2rc3
TP version: TinyPortal 1.0 beta 5.2
Theme name and version: Own
Browser Name and Version: Firefox 3.68
Mods installed: over 200

Related Error messages:


I am running TP Beta 5.2 with RC3 and I keep getting errors. I am trying to install the gender chart via use existing bloc code and get the following.
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/fancyach/public_html/FAC_Forum/Themes/default/TPsubs.template.php(48) : eval()'d code on line 27

<span class="smalltext"><a href="', $scripturl, '?action=search;advanced">', $txt['search_advanced'], '</a></span>

Please advise.
Title: Re: Problem with gender chart
Post by: Freddy on August 10, 2010, 01:40:29 PM
Well the line you give is mixing BBC code and HTML, it probably should be :

<span class="smalltext"><a href="', $scripturl, '?action=search;advanced">', $txt['search_advanced'], '</a></span>

I replaced the url bit near the end...

Where did that line come from ? Is that code you made for the block ? What's the full code you are using ?
Title: Re: Problem with gender chart
Post by: FCtptest on August 11, 2010, 11:56:16 AM
Sussed it thanks