Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 01:14 am EST
Geeklog Forums
LINKS need target="_blank"
TagStar
Anonymous
Here's a small improvement to libconfig.
First of all search for $LANG01[84] this corresponds to the 'LINKS' from the main page.
First of all, I like to order by hits rather than the id.
$sql = "SELECT lid,title,url FROM {$_TABLES['links']}"
. COM_getPermSQL() . ' ORDER BY hits DESC,lid ASC LIMIT 15';
Second, I like links to open in a new window, so I did this.
$newlinks [] = '<a target="_blank" href="' .
First of all search for $LANG01[84] this corresponds to the 'LINKS' from the main page.
First of all, I like to order by hits rather than the id.
Text Formatted Code
$sql = "SELECT lid,title,url FROM {$_TABLES['links']}"
. COM_getPermSQL() . ' ORDER BY hits DESC,lid ASC LIMIT 15';
Second, I like links to open in a new window, so I did this.
Text Formatted Code
$newlinks [] = '<a target="_blank" href="' .
20
22
Quote
geeklog-fan
Anonymous
thanks.. that's a great idea.. i hate it when people leave my site
17
18
Quote
All times are EST. The time is now 01:14 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content