Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Products
:
Gossamer Links
:
PHP Front End
:
$Number_of_Links
Previous Thread
Next Thread
Print Thread
View Threaded
Sep 6, 2003, 10:47 AM
Clueless
User
(74 posts)
Sep 6, 2003, 10:47 AM
Post #1 of 9
Views: 7300
Shortcut
$Number_of_Links
Where is $Number_of_Links (from subcategory.html) defined?
I can't seem to locate this.
Thanks
Regards,
Clueless
Sep 6, 2003, 10:54 AM
Andy
Veteran
/ Moderator
(18441 posts)
Sep 6, 2003, 10:54 AM
Post #2 of 9
Views: 7159
Shortcut
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!
Sep 6, 2003, 11:12 AM
Clueless
User
(74 posts)
Sep 6, 2003, 11:12 AM
Post #3 of 9
Views: 7155
Shortcut
Re: [Andy] $Number_of_Links
In reply to
Hi Andy,
Yes, what file is it that calculates or defines it.
Regards,
Clueless
Sep 6, 2003, 11:38 AM
Andy
Veteran
/ Moderator
(18441 posts)
Sep 6, 2003, 11:38 AM
Post #4 of 9
Views: 7157
Shortcut
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!
Sep 6, 2003, 11:51 AM
Clueless
User
(74 posts)
Sep 6, 2003, 11:51 AM
Post #5 of 9
Views: 7148
Shortcut
Re: [Andy] $Number_of_Links
In reply to
I want to change it.
Regards,
Clueless
Sep 6, 2003, 12:00 PM
Andy
Veteran
/ Moderator
(18441 posts)
Sep 6, 2003, 12:00 PM
Post #6 of 9
Views: 7142
Shortcut
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; ?>
?
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!
Sep 6, 2003, 12:13 PM
Clueless
User
(74 posts)
Sep 6, 2003, 12:13 PM
Post #7 of 9
Views: 7152
Shortcut
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
Sep 6, 2003, 7:37 PM
Clueless
User
(74 posts)
Sep 6, 2003, 7:37 PM
Post #8 of 9
Views: 7137
Shortcut
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
Time for plan B!
Regards,
Clueless
Sep 7, 2003, 3:03 AM
Andy
Veteran
/ Moderator
(18441 posts)
Sep 7, 2003, 3:03 AM
Post #9 of 9
Views: 7123
Shortcut
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
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!
Previous Thread
Next Thread
Print Thread
View Threaded