Page List not working unless I'm logged into c5.

Permalink
Hi. I'm using Slate Theme with Page List views and it's not working. It was suggested I re-post here in hopes someone might be able to help.

I've re-installed c5. I totally blew away the database and files.
I can tell that my prev. install of c5 was way messed up because it just behaves and looks different now.

I still cannot get the Page List to view/show up correctly unless I'm logged in. See attachments.

I don't know how it works but maybe I'm missing some install on my server that this functionality depends on..??..

I've turned off caching and cleared browser caches too.
I haven't messed with any permissions.
Also, see block-settings.jpg

I did request php get updated. They did it last night to version 5.3.2. Might there be other version issues I can look for?

I just really don't know web dev. enough to troubleshoot this anymore.

Not sure where to turn for more help on this issue.

I added the auto-nav to cover for the page list view not working. (it's just temporary for now)

3 Attachments

wlollc
 
cannonf700 replied on at Permalink Reply
cannonf700
I'm not sure what's going on but you could try installing another page-list type block from the market place and see if that makes a difference.

You might also try adding just a basic page list (without a template for images or anything) to see if the problem is on your custom template.

Anyway - here are some add-ons that you could try:
http://www.concrete5.org/marketplace/addons/page-list-title/...
(this is built on the back of the page list block so would be good for testing your problem and easy to set up for your current needs)
wlollc replied on at Permalink Reply
wlollc
Thank you for taking time to reply. I'll try them and let you know.
wlollc replied on at Permalink Reply
wlollc
I thought I was adding just a basic page list. Is the block titled "Page List" not the default that came with the install of c5? It may or may not have come from the Slate theme I installed...I really do not know. Can you elaborate a bit on how to go about adding a basic page list different than how I tried to get this one working?

Thanks !
wlollc replied on at Permalink Reply 2 Attachments
wlollc
I installed your Page List Title. It has the same problem but it does show the title. It works if I'm logged in but not when I log out. See attachments.

Any ideas??
cannonf700 replied on at Permalink Reply
cannonf700
Not sure what to tell you...
Are you "Publishing" your edits or just "Previewing" them?

It looks like a problem with your install. Hopefully someone else can chime in with some ideas.
wlollc replied on at Permalink Reply
wlollc
Yes, I am publishing.

I did notice that if I create aliases of the pages, then those work. Aliases show up fine.

I'm not sure why or how to debug something like this.

Hopefully, someone can shed some light on this new information.
mkly replied on at Permalink Reply
mkly
When I first look at this, I'm thinking it might have something to do with permissions. Based on the fact that you can see them while logged in.

Another possibility is that there is a javascript library that is not getting included while logged out that you need.

I didn't see a link to the site you are working on. Is it publically available somewhere? If you are uncomfortable posting it here you can private message me so I can take a look.
mkly replied on at Permalink Reply
mkly
I just received a message from you saying that a new user you created and added to the "Administrators" group cannot view pages in the sitemap

If you haven't already, go in and turn off your cache. Type "Cache" in Intelligent Search and set it to Off. Then clear your cache. Type "Clear Cache" in Intelligent Search.

If after clearing your cache I would check to see if advanced permissions were enabled. Type "Advanced Permissions" in the Intelligent Search box.

Do not turn them on if they are not on, I just want to find out where we are with permissions.

After that if Advanced Permissions are not turned on, I would take a look at "Task Permissions"(Inteligent Search again) and see what groups are included next to "View Sitemap". Administrators is likely the only group there unless you have added anything.

Then I would go to the sitemap and at Home and any off the pages that are not appearing in the page list etc and click on them and select "Set Permissions" and see what they have for permissions set. The group "Guest" should be selected for "Who can view this page". Administrators should have edit permissions as well.

Let me know how it stands after that and we'll continue if needed.

Best Wishes,
Mike
mkly replied on at Permalink Reply
mkly
Ok I logged in and it does appear that Advanced Permissions are enabled. There is nothing wrong with that, but also means that you may have to sort out some permissions issues to get it working.
mkly replied on at Permalink Reply
mkly
I don't need ftp access but could you make sure that
define('PERMISSIONS_MODEL', 'advanced');

is in /config/site.php
wlollc replied on at Permalink Reply
wlollc
It wasn't there so I added it.

How can permissions be the issue if I never messed with them save turning on adv. perms. on accident.???

Makes no sense.

Would redirect have anything to do with it? (just reaching here)

I tried the Page List on different host(hostgator) with another site on c5 and it works fine. Maybe perms at the file level?
hansmonasso replied on at Permalink Reply
hansmonasso
Did you ever solve this problem? Same problem over here. Tried everything in the book.
TBG replied on at Permalink Reply
I am having the same problem. Did anyone get this resolved??
wlollc replied on at Permalink Best Answer Reply
wlollc
Please go here (http://www.concrete5.org/index.php?cID=411267&editmode= ) and upvote (green plus sign button) this to push for it's fix for the next release. Thanks.
wlollc replied on at Permalink Reply
wlollc
I never did get this issue resolved. I ended up changing to a new hosting provider (for other reasons), reinstalled c5 and Slate theme and all worked fine.

I did, however, determine that by using alias(es) it did work. But that meant a doubling of all my pages that were involved in the listing.
nickratering replied on at Permalink Reply
nickratering
I have all permissions are correct for the pages and blocks, but if I ignore permissions in the pagelist model, all pagelists reappear.


protected $ignorePermissions = true;
fhinojosa replied on at Permalink Reply
I know this thread is a bit old but maybe it will be useful for someone else.

Thanks nickratering... it got me going into the right direction, actually ( I think that thanks to you guys) concrete core has a method that overrides this setting just for the current list.

The code to use is:
$pageList->displayOnlyPermittedPages(false);


use it before the get method:
$pageList = new PageList();
     $pageList->filterByParentID($this->cID);
     $pageList->displayOnlyPermittedPages(false);
     $pages_underneath_me = $pageList->get();


Cheers,
Pancho

BTW: My concrete version is 5.6.3.3
mckoenig replied on at Permalink Reply
mckoenig
Are those page lists in a global area stack? If so you have to click "Approve Changes" in the stack in order to make it visible to non-admins.