<h2 class="blockhead">Titre de la page (title page)</h2> <div class="blockbody"> <div class="blockrow"> Le texte que vous souhaitez mettre (the text) </div> </div>
{vb:raw footer} </body> </html>
It'll just create a link to this url: /forum/misc.php?do=page&template=wazaaa
The template MUST be named custom_xxxxxx - change xxxxxx to whatever you want.
When call the page, you enter template=xxxxxx where xxxxxx is the part of the template name after custom_
PS: You are free to customize the text in the template
Did you put the template in that particular style?
That's just the template. THIS_SCRIPT is defined in the php page.
Ohh sorry, were would i find that? if i post that would it help?
--------------- Added [DATE]1261126003[/DATE] at [TIME]1261126003[/TIME] ---------------
Quote:
Originally Posted by nubian
betty02,
Thanks for your reply.
You code removes the blockhead, I want to retain it.
Actually what I'm looking to do is change the text from this...
to this...
Any idea on how to accomplish this?
I plan on creating a massive amount of customized pages, like 50+ pages, so I'm debating on whether I should go this route or go with Lynne's method of using actual php files.
It's all picked up of your template name e.g if template is called custom_AboutUs it will appear like this - AboutUs, so if it's called custom_aboutus it will appear like aboutus. Pretty sure you cannot use spaces though.
Ohh sorry, were would i find that? if i post that would it help?
--------------- Added [DATE]1261126003[/DATE] at [TIME]1261126003[/TIME] ---------------
It's all picked up of your template name e.g if template is called custom_AboutUs it will appear like this - AboutUs, so if it's called custom_aboutus it will appear like aboutus. Pretty sure you cannot use spaces though.
Damn damn damn, I was hoping in creating multiple pages like this with spacing in the words.
I want to make a new page for my home page which would be index.html/php. I made the template and named it custom_homepage.
What shoud I use to call the template? If I make a file, index.php, what should go in it?
Thanks
This is not the tutorial to use for what you want to do. You need to call the page using misc.php if you use this tutorial. There is another tutorial in this section for making vbulletin pages that you may call whatever you want (like a new index.php page).
This needs an extra div class so that the now default vb css browser resetting will render HTML correctly. Using a default class from 4 and wrapping it around all custom entered HTML, then renders lists, paragraphs and so forth correctly.
Sorry if this has been asked, but how can i set it to be viewable by only certain usergroups?
tia
You would have to put a condition around the stuff in the page you don't want others to see:
HTML Code:
<vb:if condition="is_member_of($bbuserinfo, x,y,z)">
the content you want usergroups x.y,and z to see
<vb:else />
You do not have permission to see this page
</vb:if>