Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
On the newspaper I m working on Ive got subscriptions working great.When a user tries to login thats not approved to full access they see a page that has "you must be a subscriber" several times.Thinking this is example "blog-list.html".If they click on the subscribe it leads to the subscription or payment form..How could I make it to where a user who isnt subscribed yet doesnt see a page with the several subscribe tags..In otherwords I want to make a custom page and when someone tries to see restricted content they see my custom page stating once "you must be a subscriber" then can click subscribe from my page to get to payment.php

Attachments

It appears that you are using something like the following code (where 'subscribed' will be set only for relevant users) -
Code: Select all
<cms:pages>
    <cms:if subscribed >
        .. show page comtents ..
    <cms:else />
        <h3>You must be subscriber to see this content</h3>
    </cms:if>
</cms:pages>

You should modify it to make it as follows -
Code: Select all
<cms:if subscribed >
    <cms:pages>
       .. show page comtents ..
    </cms:pages>
<cms:else />
    <h3>You must be subscriber to see this content</h3>
    <a href="#">Link to subscription page</a>
</cms:if>

Hope it helps.
Thank you once again KK..
3 posts Page 1 of 1