Skip to Content

Resource Centre

Home > Links SQL > Globals

Globals

Links

> >|

Adding A Random Link

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=157147

8 out of 10 stars (4 votes)

Step-by-step instructions on how to add random links to your pages.

Review It Rate It Bookmark It

Adding Commas To Counts

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=163356

10 out of 10 stars (2 votes)

A global that adds commas to "grand_total" counts. For example, "1000000 links" will be displayed as "1,000,000 links".

Review It Rate It Bookmark It

Adding Line Breaks

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=153153

10 out of 10 stars (1 vote)

Instructions on modifying your columns to recognize and display line breaks.

Review It Rate It Bookmark It

Adding Random Characters

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=161118

10 out of 10 stars (1 vote)

Instructions for creating a global that will generate random letters and numbers in Links SQL pages.

Review It Rate It Bookmark It

Amazon-Style Search Terms

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=169815

9 out of 10 stars (3 votes)

A global that will dynamically search and display links in your directory related to the sub-category a user is viewing. Useful for shopping directories.

Review It Rate It Bookmark It

Change / to> in Related Category Title

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=222125#222125

10 out of 10 stars (1 vote)

Allows you to change the "/" in the related category title to a ">". Default LinksSQL display for the related category title looks like this; Category/Subcategory This global changes to it to look like this: Category> Subcategory

Review It Rate It Bookmark It

creating a different home page in LSQL

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=172795

This global allows you to point Links SQL to an entirely different home page than the LSQL built page.

Review It Rate It Bookmark It

Detailed page printing list of Links in current category

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=173039

1 out of 10 stars (1 vote)

Alex explains how to display a list of the links on a detailed page within the category that the detailed page sits. Way cool.

Review It Rate It Bookmark It

Display Links Added By A User

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=189103

7 out of 10 stars (1 vote)

This global will display all of the links added to the database by users as they browse the database.

Review It Rate It Bookmark It

Display new links of a specific category

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=273665#273665

Display the latest the new 10 links only of a single category. Usage: <%new_links_of_category('1234')%> 1234 = category id of specific category

Review It Rate It Bookmark It

Display new links of a specific category

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=273665#273665

Display the latest the new 10 links only of a single category. Usage: <%new_links_of_category('1234')%> 1234 = category id of specific category

Review It Rate It Bookmark It

Display the Last X new links

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=284438;#284438

Global task: Display the Last X new links. Global Usage: <%new_links('10')%> 10 = number of new links to be displayed

Review It Rate It Bookmark It

Display Time Of Most Recent Build

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=195588

This global will allow you to call a tag that will display the date and time of the most recent build that has been performed on your directory.

Review It Rate It Bookmark It

Display Top Categories

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=175442

8 out of 10 stars (2 votes)

A global which allows you to display your directory's top categories wherever you wish.

Review It Rate It Bookmark It

Display Top Search Terms

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=166816

8 out of 10 stars (1 vote)

This global will generate a list of the top five terms that have been searched for in your directory.

Review It Rate It Bookmark It

Displaying All Links In A Category On Detailed Pages

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=173012

This global, when added to the detailed.html template, displays on a link's detailed page all other links in that link's category.

Review It Rate It Bookmark It

Displaying Links In Two Columns

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=151075

1 out of 10 stars (1 vote)

A loop that displays links in two columns while categories are being viewed.

Review It Rate It Bookmark It

Displaying Popular Links

http://gossamer-threads.com/perl/gforum/gforum.cgi?post=153511

10 out of 10 stars (2 votes)

A global that will display the links in your database that have accumulated the most hits.

Review It Rate It Bookmark It

Displaying Total Hits

http://www.gossamer-threads.com

7 out of 10 stars (5 votes)

This global will display the total number of hits your directory has recieved.

Review It Rate It Bookmark It

> >|