I have set the switch of one article to visibe only to subscribers (actually I lifted off the ticked switch that non-subscribers may see), but the article is accessible for all and everyone. NOT good!
What can this be?
I checked with an anonymizer which strips all cookies from my access and I had someone else test who isn't logged in at all and never was logged in. We both were able to access that article.
Subscriber functionality / visibility of articles works only if it is implemented in publication templates. The Journal set doesn't use this functionality (so switching visibility on/off has no effect), but Custodian does, you can download it from http://www.sourcefabric.org/en/products/newscoop_download/ (updated version will be available tomorrow)
-- Ljuba Rankovic Senior Front End Developer, Sourcefabric ljuba.rankovic@sourcefabric.org
Is it possible to implement this in The Journal? I worked around it for now and we have till the next issue (March) to get it working. I've finished the issue and everything is now set to work with The Journal design, I am rather loathe to redo all that work. I like the template.
You can easily grab needed templates from Custodian publication and try to incorporate them into The Journal, we will help in that process.
Templates that you need from Custodian:
- classic/subscription.tpl
- clasic/register.tpl
- clasic/user-chgpass.tpl
- classic/tpl/login-top.tpl
- classic/tpl/subscription-form.tpl
- classic/tpl/user-form.tpl
and add this to _html-head.tpl (this is for logout purposes):
ok, so this is feasible. And I have still that test site Andrey set up on the same server and will keep it, until we get it to work. I will look at this tomorrow.
E.g.:
{{ if $gimme->article->content_accessible }}
{{ $gimme->article->full_text }}
{{ else }}
<p>Please login or subscribe to see the article</p>
{{ /if }}
> Hi,
>
> I have set the switch of one article to visibe only to subscribers
> (actually I lifted off the ticked switch that non-subscribers may see), but
> the article is accessible for all and everyone. NOT good!
>
> What can this be?
>
> I checked with an anonymizer which strips all cookies from my access and I
> had someone else test who isn't logged in at all and never was logged in. We
> both were able to access that article.
>
> Andel
>