Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

title_linked

Quote Reply
title_linked
Just trying to setup my PHP templates and notice that title_linked does not seem to work.

Using default template

<?echo $title_linked_row?><td colspan=
2 valign=bottom><?echo $body_font?>

<?echo $title_linked?>

Any ideas??







Regards,
Clueless

Quote Reply
Re: [Clueless] title_linked In reply to
Try adding this into your template (to show you all the available tags);

<? global $GLOBALS; foreach ($GLOBALS as $var => $val) { echo "<b>$var</b> => $val<BR>"; } ?>

Hope that helps Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] title_linked In reply to
Thanks,

The global didn't do anything.

But, title_linked is a part of the default template.

I'm not doing anything fancy just looking at the PHP default templates.

title_linked => The full category name with each section linked.





Regards,
Clueless

Quote Reply
Re: [Clueless] title_linked In reply to
I reported that problem and the solution back in July. Never got a response...

http://www.gossamer-threads.com/...title_linked;#205702

Dan

Last edited by:

Dan Kaplan: Mar 16, 2003, 3:58 PM
Quote Reply
Re: [Clueless] title_linked In reply to
Sorry about the late reply. I just had a look into this and it seems to be a bug in the code. If you open up admin/Links/PHP/Page.inc.php around line 738, you'll see:
Code:
$link['title_l'] = _title_linked("$cat_name/" . $link['Title']);

I mistakenly named the variable title_l instead of title_linked. You should change it to:

Code:
$link['title_linked'] = _title_linked("$cat_name/" . $link['Title']);

Adrian
Quote Reply
Re: [brewt] title_linked In reply to
brewt,

That didn't work.

Regards,
Clueless

Quote Reply
Re: [Clueless] title_linked In reply to
What do you mean it didn't work? What happens. It works here for me, other than the fact that the title of the link isn't in there. You can fix that by changing it to:
Code:
$link['title_linked'] = _title_linked("$cat_name/" . $link['Title']) . $link['Title'];

Adrian
Quote Reply
Re: [brewt] title_linked In reply to
What it looks like in cgi is;

Home : Category : Category :

What it looks like in php;

Home : : :

Regards,
Clueless

Post deleted by Clueless In reply to

Last edited by:

Clueless: Apr 17, 2003, 9:11 PM