Member
Member
no64   2007-08-12, 12:23
#1

This is showing up the "prev" "pagenumber" "next" links below the albums.

`

`

how can I add an
`

rel="ajaxcontent"

`

to those displayed links?

Thank's

Member
Member
aitf311   2007-08-12, 15:28
#2

Do a search for "function printPageListWithNav(" without the quotes in template-functions.php. You can add it to the output there.

Member
Member
no64   2007-08-12, 18:38
#3

Do you mean this part:

`function printPageListWithNav($prevtext, $nexttext, $nextprev=true, $class="pagelist", $id=NULL) {

echo "";

$total = getTotalPages();

$current = getCurrentPage();

echo "n";

if ($nextprev) {

  echo "n  "; 

    printPrevPageLink($prevtext, "Previous Page");

  echo "";

}

for ($i=1; $i 
Member
Member
aitf311   2007-08-12, 21:55
#4

I believe you will need to make the following change to the top of that function: echo "";

There is no other way to do this in the index.php or album.php that I know of.

Member
Member
no64   2007-08-13, 07:50
#5

Well, I can't get it to work.....so there is no way to set up a "prev" and "next" manual so I can create a "href" with that "rel" inside?

Administrator
Administrator
acrylian   2007-08-13, 08:36
#6

Yes you can do that. Use these functions, they return only the link:
getNextPageURL()
getPrevPageURL()

Member
Member
penzoto   2007-08-13, 13:51
#7

*edit this forum does not render the code properly.
sry dude

Member
Member
no64   2007-08-13, 19:44
#8

acrylian....could you please give me a complete code line - I have that little understanding in php, it is shameful

Administrator
Administrator
acrylian   2007-08-14, 09:00
#9

That's not shameful. I am not that great php programmer myself, but this is quite easy:

`

previous

`

Member
Member
no64   2007-08-14, 11:00
#10

Thank's , I'll try it right away

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.