Add 1. next to link name
$template = str_replace('{NUMBER}', $linkssofar + 1, $template); $linkssofar++;
global $start; $template = str_replace('{NUMBER}', $linkssofar + $start + 1, $template); $linkssofar++;
This thread is closed, so you cannot post a reply.
Comments on Add 1. next to link name
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
What is the variable for adding the link number in front of link name
example:
1. link name
2. link name
3. link name
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
{NUMBER} should do it.
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
Thanks Paul
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
{NUMBER} dont work in displaylinks.tpl
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Confirmed and fixed for 4.0.7.
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
yes but {LINKNUMBER} work
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
{LINKNUMBER} is slower since it performs queries to calculate. On a small site you might not notice a difference, on a big one you would.
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
Ok looking forward to the update
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
The number field does not work correctly if a category have say 3 pages on every page the number starts with 1.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
In classes/onelink.php replace with and that should do it.
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
Ok works thanks Paul