Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Ian Chan
RE: Tagged lists showing unpublished guides [ reply ]  
2010-10-22 21:25
Thanks! That removed the unpublished guides from the list (fyi - I changed "@page =" to "@pages =").

By: Admin Admin
RE: Tagged lists showing unpublished guides [ reply ]  
2010-10-22 18:08
Oh... I understand now. I will push out a fix soon. For now you can add
@page = @pages.select{|p| p.published?}
to the end of the tagged method in ica_controller

By: Ian Chan
RE: Tagged lists showing unpublished guides [ reply ]  
2010-10-21 22:42
Hi Kim,

Thanks for looking into this issue. Yes, the tags for unpublished guides are removed from the tag cloud. However, if there are other published pages with the same tag(s) as the unpublished, it is still possible to see the unpublished guides.

For example, the "GEW 101:Bramen" guide on http://lib2.csusm.edu/course-guides/tagged/GE is unpublished and archived but still visible. That is b/c the GE tag is associated with a mixture of published and unpublished guides.

I looked at the index function that generates the list of guides for the tagged displays and it appears to not check the publication status of the guides.

By: Admin Admin
RE: Tagged lists showing unpublished guides [ reply ]  
2010-10-21 22:30
I am not able to replicate this. As an example you can view the demo portals (http://ica-demo.library.oregonstate.edu/course-guides/) there are only a couple published pages and only their tags are showing. I have also tested on both ours and the demo and if I publish a page it's tag shows and when I unpublish it the tag is removed.


By: Ian Chan
RE: Tagged lists showing unpublished guides [ reply ]  
2010-10-20 05:00
Yes, we are using v1.5

By: Admin Admin
RE: Tagged lists showing unpublished guides [ reply ]  
2010-10-19 23:50
Did you upgrade to V1.5?

By: Ian Chan
RE: Tagged lists showing unpublished guides [ reply ]  
2010-10-19 23:39
Hi Kim,

Unfortunately, the list of course pages by tag still displays course pages that are unpublished and archived.

Ian

By: Ian Chan
RE: Tagged lists showing unpublished guides [ reply ]  
2010-09-02 21:16
That post was helpful... thanks. Looking forward to the new release!

By: Admin Admin
RE: Tagged lists showing unpublished guides [ reply ]  
2010-09-02 00:06
I have fixed this in the upcoming 1.5 release (out next week hopefully).

You can also see this post:
http://alacarte.library.oregonstate.edu/node/1426

By: Ian Chan
Tagged lists showing unpublished guides [ reply ]  
2010-09-01 23:48
Perhaps I've mis-configured somewhere but I've found that our tagged guides lists are displaying guides that are set to unpublished or archived. Is this a settings issue? If not, can I adjust the script to only pull published guides?