Welcome to Geeklog, Anonymous Saturday, June 22 2024 @ 09:50 am EDT

Geeklog Forums

Previous/Next Links for categories


Status: offline

lestat

Forum User
Chatty
Registered: 11/15/03
Posts: 64
Hello,

In which template are the previous & next links located for going from page to page within categories?
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
I believe that's hardcoded in index.php. Look for

Text Formatted Code
 $display .= COM_printPageNavigation($base_url,$page, $num_pages);

 
 Quote

Status: offline

lestat

Forum User
Chatty
Registered: 11/15/03
Posts: 64
Hi Turias,

Thanks, but I'm looking to change the link color. Where can I do that?
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
in your lib-common.php, in COM_printPageNavigation(), find all 4 lines that look like this:

Text Formatted Code
 $retval .= '<a href="' ............ '</a> ';
 


change them to look like:

Text Formatted Code
 $retval .= '<a class="pagenavlink" href="' ............ '</a> ';
 


Then, just add the pagenavlink class to your style.css file like so:

Text Formatted Code
.pagenavlink
{
    color: #FF0000;
}

 
 Quote

Status: offline

lestat

Forum User
Chatty
Registered: 11/15/03
Posts: 64
Awesome! Thanks!
 Quote

All times are EDT. The time is now 09:50 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