ProBlog - Pagination Problem
PermalinkBeen having issues with problog pagination on a custom single page and wondered if anyone could shed some light on the issue?
I have tried contacting the developer but although he gave me a great reply this is not working and now I can't get hold of him.
Sorry to cross post but I wanted to open this up to the community
http://www.concrete5.org/marketplace/addons/problog/questions-and-d...

Rony
I have tried that and it didn't help the code ends up like this.
<div class="ccm-next-previous-wrapper"> <br> <div class="spacer"></div> </div>
Edit: To be more clear I'm thinking that your problem may be related to the following:
or thereabouts... But going through and making sure thinks like that are getting set properly could go a long way in helping determine where your problem actually is.
Thanks, I'll PM you
public function getNextPost(){ global $c; $page_path = str_replace('/index.php','',Loader::helper('navigation')->getLinkToCollection($c)); $link = $c->getCollectionHandle(); $shortened = str_replace($link.'/','',$page_path); if(defined('DIR_REL')){ $shortened = str_replace(DIR_REL,'', $shortened); } $cID = $c->getCollectionID(); $db = Loader::db(); $q = "SELECT cID FROM PagePaths WHERE cID > $cID AND cPath LIKE '%$shortened%' ORDER BY cID ASC"; $ncID = $db->getOne($q); $np = Page::getByID($ncID); if($ncID){ return Loader::helper('navigation')->getLinkToCollection($np);
special emphasis on the
if(defined('DIR_REL')){ $shortened = str_replace(DIR_REL,'', $shortened); }
Very sorry I have not had time to look into this more. I am away on vacation with my wife for our 15yr anniversary.
Apologies again for not being as accessible as I am normally.
ChadStrat
This is the reason I love Concrete5 we are all here to improve the code base.
Chad:
Hope you are having a good trip and thanks for you input.