View Full Version : new BLANK page?
MajorFm
07-01-2005, 12:10 PM
Is it possible to create a new blank page with no head, no nav, nothing in there, just the .css...? i want to create a popup box with diffrent content in there but only available to a certain usergroup...
KW802
07-01-2005, 12:32 PM
I'm starting to think that I send out psychic brain waves because I was contemplating the same thing earlier this week! :eek: I have a flash application that I want to display full screen but only allow certain user groups to access.
The short answer is "No" because the 'header' and 'footer' templates are automatically included with the CMPS output presentation. That means that even if you create a new page with just one module on it with no borders, etc. then the header and footer will still show. Brian might have a trick to overcome it but the only way I see to get around it is by putting some code into the templates to prevent their output if the CMPS page name = X.
MajorFm
07-01-2005, 01:05 PM
indeed.... if this is possible... how, how, how? lol
Brian
07-01-2005, 08:57 PM
If you edit your adv_portal template and change the $header and $footer variables to something like this then it should do the trick.
<if condition="$page != 'page_name_here'">
$header
</if>
Then do the same with the $footer. :)
MajorFm
09-03-2005, 03:49 AM
That didn't work, i replaced $header with your above code and put the page name in the page_name_here bit that i don't want the header to appear but it still appeared, what am i doing wrong?
MajorFm
09-03-2005, 03:38 PM
Anyone, i was hoping to get this done today?
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.