Page List Problem

Permalink
Hello, I have a problem with page list...
http://www.peterbajetta.eu/en/home/...

In the News & Events I've but a page list block pointinghttp://www.peterbajetta.eu/en/news/... link to only show the article in that section.
When I am in editing mode it shows correctly the two articles that actually are in that section, but if I log out it shows me 8 pages!?!
Why?

 
Mnkras replied on at Permalink Reply
Mnkras
did you publish the page? what version of C5?
petebp replied on at Permalink Reply
Yes I have.
When I'm in editing mode it shows correctly the two pages,
when I pubblish it it shows 8 pages...

It's the last version of C5... the 5,4
jereme replied on at Permalink Reply
jereme
I am experiencing this same issue.

When I'm logged in, the Page List behaves correctly, but when I log out it shows every page in the sitemap.

I am 101% positive that the most current version of the page is published and that there are no customizations to the page list block.
jereme replied on at Permalink Reply
jereme
For what it's worth, I cannot reproduce this on my own website, which was installed at 5.3.3.1 then upgraded to 5.4.0.

However my client's website which was 5.3.2 and was then upgraded via 5.3.3 -> 5.3.3.1 -> 5.4.0 is exhibiting the issue.
jereme replied on at Permalink Reply
jereme
Steps taken in a failed attempt to correct:

1. Cleared browser cache
2. Cleared site cache
3. Refreshed Page List block
4. Ensured most current version was approved
5. Added a new instance of the block with the same settings

In all instances I get the described behavior. Everything looks right when logged in, and goes to heck when logged out.
petebp replied on at Permalink Reply
I've found another problem that I didn' had before uprgrading to the 5.4

Try to search something on this page (for example simmis)...
http://www.peterbajetta.eu/index.php/en/search_results/?search_path...

I've also set the search to a specific area of the website but in fact now it search in the whole site! Both in edit mode and in pubblished mode.


This was working before I've upraded!
petebp replied on at Permalink Reply
Ok, I give it up... everyday is worst... Now I see that in the main menu doesn't display links when I'm not logged in...

Can someone tell me how to downgrade to version 5.3?
c5mix replied on at Permalink Reply
Similar thing is happening to me on a fresh install of 5.4 (no upgrade from a previous version). Except in my situation I am using the page list block to display all pages of a certain page type. When logged in everything is correct. However, when logged out an external link (name 'Showcase') that I have at the top level of the site shows up in the page list. Attached are screenshots.
c5mix replied on at Permalink Reply 2 Attachments
screenshots wouldnt attach - trying again
andrew replied on at Permalink Best Answer Reply
andrew
Possible fix.

Open concrete/models/page_list.php

and replace:

$this->filter(false, "((select count(cID) from PagePermissions pp1 where pp1.cID = {$cInheritPermissionsFromCID} and pp1.cgPermissions like 'r%' and (pp1.gID in (" . implode(',', $groupIDs) . ") or pp1.uID = {$uID}))) > 0 or (p1.cPointerExternalLink !='' AND p1.cPointerExternalLink IS NOT NULL)");

with this:

$this->filter(false, "(((select count(cID) from PagePermissions pp1 where pp1.cID = {$cInheritPermissionsFromCID} and pp1.cgPermissions like 'r%' and (pp1.gID in (" . implode(',', $groupIDs) . ") or pp1.uID = {$uID}))) > 0 or (p1.cPointerExternalLink !='' AND p1.cPointerExternalLink IS NOT NULL))");


Note: Sites that we're hosting should already have this applied. We'll be releasing this fix along with some others in a very minor release as quickly as possible.
c5mix replied on at Permalink Reply
Thanks Andrew! That fixed it for me
petebp replied on at Permalink Reply
Thank you very much andrew!
This worked, but I still got some problems with the site search, that now doesn't search in the selected section but in the whole site.
And I still got page list problems in another block that I use for the main menu.
Waiting and hoping that the update will fix all these bugs... :)
Thank you!