View Full Version : disable next button for current post
Noogle
06-29-2005, 11:28 AM
Hi Guys -
I am a newbie and hope to get an answer to my question here!
Can anyone tell me how to disable the next button on the landing page.
Since the landing page loads the latest post, there is no next image and the site just reloads with the same pic. I would like to disable the next button only for the latest post!
Thanks a lot,
-N
Noogle
06-29-2005, 01:09 PM
sorry for spamming you guys...
I've found the answer to my question here
http://www.pixelpost.org/forum/viewtopic.php?t=1238
thx, n
diogobento
12-01-2008, 04:09 PM
Hi, I have the same question, but couldn't find any thread with an answer and the link is not working.
Any ideas?
Thanks.
jaywilliams
12-01-2008, 05:15 PM
Check out this addon:
http://www.pixelpost.org/extend/addons/ppendloop/
diogobento
12-01-2008, 09:37 PM
Great addon, that's exactly what I was looking for.
There is just a little inconvenient. I am already using GeoS Show Category Addon and my links for the next and previous button are as follows:
<a href="index.php?showimage=<SC_IMAGE_PREVIOUS_ID>&category=<SC_CAT_ID>" title="">« previous</a>
<a href="index.php?showimage=<SC_IMAGE_NEXT_ID>&category=<SC_CAT_ID>" title="">next »</a>
I tried changing the php code to $image_previous_link = "<a href=\"index.php?showimage=<SC_IMAGE_PREVIOUS_ID>&category=<SC_CAT_ID>\" title=\"\">« previous</a>";
$image_next_link = "<a href=\"index.php?showimage=<SC_IMAGE_NEXT_ID>&category=<SC_CAT_ID>\" title=\"\">next »</a>";
, but it didn't work as the <> before and after the SC tags end up being %3C and %3E in the html.
Any help?
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.