The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[HOW TO - vB4] Create a own vBulletin page (without plugin and php file)
Here is a trick that allows you to create vBulletin pages without plugin or php files.
PHP Code:
|
#22
|
||||
|
||||
Quote:
Google "htaccess mod_rewrite" |
#23
|
|||
|
|||
Oh cool, all's that needed it a mod rewrite.
I'm currently using Mattyasia's. Thanks for replying |
#24
|
|||
|
|||
Quote:
What I am doing now is making a widget with HTML code in a Static HTML widget. Then I make a new layout with the Layout manager and place the widget into the center of the layout, just below the Primary Content. Then I go to to the Section Manager and make a new section naming it accordingly. And with the Layout window in the Layout editor, I select the layout I created earlier. This puts the content of the widget on the center of a page all by itself, if I want. The only problem that I am having is that not all of the HTML codes work in the widgets. Headers and Navigational commands within the widget either don't work at all or take you to the Home page in CMS. For instance, I have a very long article that is in a widget and navigation code that will take you to a section heading so that you don't have to scroll through a lot of text to get to that section. And after you have read that section you can click a TOP button that should take you back to the top of the page where the Contents are listed. Either link takes you to the Home page in CMS. Here it is: http://www.light-after-darkness.org/...ssion-of-Faith Clicking on a title in the Contents section should take you to that section, it doesn't it takes you Home. Clicking on "TOP" at the end of a section should take you back to the Contents portion of the article, it doesn't. Any ideas, after this long post? |
#25
|
||||
|
||||
Google "anchor html". You have your anchor links incorrect which is why they aren't going to the correct place. I've gotta run right now, but you should be able to google it and see what is wrong (hover over your links in the page to see where they are currently going).
|
#26
|
|||
|
|||
Quote:
SEE ME So I don't think it is something wrong with the code. |
#27
|
||||
|
||||
Quote:
Code:
http://www.light-after-darkness.org/forums/articles/WCF1.php#I On the CMS page, the link for the first article is: Code:
http://www.light-after-darkness.org/forums/#I Code:
http://www.light-after-darkness.org/forums/content.php?59-The-Westminster-Confession-of-Faith#I |
#28
|
|||
|
|||
Would it be possible to get rid of what I have attached here in yellow?
I'm finding it to be quite redundant and also I'm unable to separate the words about and us like I can in the blockhead. |
#29
|
||||
|
||||
I suppose you could, but you'll have to edit your template. To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.
|
#30
|
|||
|
|||
Quote:
My apologies, I'm understanding what you told me but I'm not understanding why you told me and how this would get rid of the aboutus text? I've create a template called, "custom_aboutus". If I were viewing this in firebug, I could see that the line for the aboutus text is this: Code:
<span>aboutus</span> Code:
{vb:stylevar htmldoctype} <html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> <head> <title>{vb:raw vboptions.bbtitle}</title> {vb:raw headinclude} </head> <body> {vb:raw header} {vb:raw navbar} <div id="pagetitle"> <h1>{vb:raw pagetitle}</h1> </div> <h2 class="blockhead">About Us</h2> <div class="blockbody"> <div class="blockrow"> Test here </div> </div> {vb:raw footer} </body> </html> Code:
{vb:raw navbar} Thanks |
#31
|
|||
|
|||
I can't see the text when i write on this template what stylevar color i have to edit?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|