Related Pages Block Query
Permalink
I'm using the related pages block type in my side nav & I want to display the active page in the list.
However, the block type is set up to not display the current page. Does anyone know how I could achieve this?
However, the block type is set up to not display the current page. Does anyone know how I could achieve this?
Hi moosh,
Related pages is a paid for add-on.
http://www.concrete5.org/marketplace/addons/related-pages/...
Any help would be much obliged.
Related pages is a paid for add-on.
http://www.concrete5.org/marketplace/addons/related-pages/...
Any help would be much obliged.
Oh, ok !
So, I don't have this addon...
I only should help you if you send me the block controller + view.
So, I don't have this addon...
I only should help you if you send me the block controller + view.
Thanks moosh,
looking forward to hearing from you.
looking forward to hearing from you.
Thank you.
In controller.php, try to add, between line 147 ( $this->set('pl', $pl); ) & 148 ( return $pages; ) :
In controller.php, try to add, between line 147 ( $this->set('pl', $pl); ) & 148 ( return $pages; ) :
array_unshift($pages, $c);
Moosh my friend, you are the man.
Thank you.
Thank you.
You're welcome ^^
What blocks type are you talking about exactly?
Because I don't find "Related pages" block type ...
++