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

$Number_of_Links

Quote Reply
$Number_of_Links
Where is $Number_of_Links (from subcategory.html) defined?

I can't seem to locate this.



Thanks

Regards,
Clueless

Quote Reply
Re: [Clueless] $Number_of_Links In reply to
You mean what's the 'inc' file?

Cheers

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] $Number_of_Links In reply to
Hi Andy,



Yes, what file is it that calculates or defines it.

Regards,
Clueless

Quote Reply
Re: [Clueless] $Number_of_Links In reply to
Mmm.. just had a look in install.dat, but couldn't actually see where it was defined, sorry :(

Why do you need to know?

Cheers

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] $Number_of_Links In reply to
I want to change it.

Regards,
Clueless

Quote Reply
Re: [Clueless] $Number_of_Links In reply to
To what? Why not just do it in the <? ?> section?

<? $New_Num = number_format($Number_of_Links); echo $New_Num; ?>

? Unsure

Cheers

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] $Number_of_Links In reply to
It has do with $Number_of_Links being based on isValidated. (I'm assuming)

Your script line works.. it's returns the same value as Number_of_links.

We want it based on isValidated AND another column..... (actually just another column)

It's just a small piece of a what we are attempting to change.

Regards,
Clueless

Last edited by:

Clueless: Sep 6, 2003, 12:15 PM
Quote Reply
Re: [Clueless] $Number_of_Links In reply to
Andy,

Figured it out Finally - It's a column in the Category table that is calculated in Category.pm Blush

Time for plan B!

Regards,
Clueless

Quote Reply
Re: [Clueless] $Number_of_Links In reply to
Ah, I could have told you that :p I thought you were trying to find out where it was passed to the template from Crazy

Cheers

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!