Please Log in or Create an account to join the conversation.
Probably the easiest solution is to use CB Content Module to insert CSS then protect the module using your plans so it's only accessible to those with a subscription and thus loads your custom CSS only if they're subscribed.Is it possible to add an automatic page class by subscription. So if a premium logged in member is visiting any page the class is there and small bits of content can be styled accordingly, or even some hidden and others shown?
I don't really recommend doing that. You'd need to put that into your Joomla template index.php file and would mean you'd be loading CB on every page and calling that code on every page. The above module approach is probably a safer and more future-proof solution.Then where I want to personalise the page I add <?php echo $name;?> I assume I could do a similar thing to get the subscription plan alias and place in the <body> as a class. But how would get get that to pull through?
Please Log in or Create an account to join the conversation.
Probably the easiest solution is to use CB Content Module to insert CSS then protect the module using your plans so it's only accessible to those with a subscription and thus loads your custom CSS only if they're subscribed.
Please Log in or Create an account to join the conversation.