Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-05-22 04:59:51

Sheru
Member
From: Kathmandu, Nepal
Registered: 2007-05-09
Posts: 96

About rss_thumbpop plugin...

Greetings! I have used rss_thumbpop plugin in website. It’s great plugin people like me. Appreciate for this work to author.

I have run a problem. On prev/next links
When clicked on Next button then it takes to homepage instead of showing rest of images. Actually on header menu called “Photos” have this url(http://www.site.com/index.php?s=G-Photos). This displays images correctly but URL on Next button is something like( www.site.com/index.php?tpg=2) but it redirects to homepage.

What is my mistake? Any suggestions for me.

Thank you all for your help time and again

Appreciatively

Last edited by Sheru (2008-05-22 05:02:51)

Offline

#2 2008-05-30 07:08:45

Sheru
Member
From: Kathmandu, Nepal
Registered: 2007-05-09
Posts: 96

Re: About rss_thumbpop plugin...

Greetings! Don’t know much but for my requirement, I changed following url on the plugin code

$output[] = ($back) ? ‘<li class=“left”><a href=“index.php?s=F-Resources&c=C-Galleries&tpg=’.($thumbpage-1).’”>’.$backlabel.’</a></li>’.n : ‘’;// changed url $output[] = ($next) ? ‘<li class=“right”><a href=“index.php?s=F-Resources&c=C-Galleries&tpg=’.($thumbpage+1).’”>’.$nextlabel.’</a></li>’.n : ‘’;// changed url $output[] = ‘</ul>’.n;

It now helps to work for Next/Back button.

Offline

Board footer

Powered by FluxBB