Announcement

Collapse
No announcement yet.

Blank vB Page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • jawinn
    replied
    Sorry for the bump, but how do I create a link in the nav bar to get to this new template?

    Leave a comment:


  • jawinn
    replied
    great thanks, what would be the code to add a link to this new page in the nav bar?

    Leave a comment:


  • Colin F
    replied
    Simply add a template, naming it for example custom_MYPAGE.
    It has to be prefixed with custom_.

    Copy this into it and add your own content:
    Code:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        $headinclude
        <title>$vboptions[bbtitle]</title>
    </head>
    <body>
    $header
    $navbar
    
    YOUR CONTENT HERE
    $footer
    </body>
    </html>
    Then, call that up using misc.php?do=page&template=MYPAGE
    without the custom_ this time.

    Leave a comment:


  • jawinn
    started a topic Blank vB Page

    Blank vB Page

    How would I create a blank vB page where I can add my own HTML code? The page would basically have the header and footer of vB but HTML code in the body.

    If this is unclear I have an example of what I want to do but don't know if it’s ok to post it.

    Thanks in advance,
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X