Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorGhazi
    • CommentTimeAug 10th 2005
     # 1
    I'd like to add a couple of static pages, using the same layout as in the forum (the one in search.php for example). Any idea on how to do that, without rebuilding the page myself?
    •  
      CommentAuthorlament
    • CommentTimeAug 10th 2005 edited
     # 2
    wouldn't a CMS be better for you?

    just saying..
    •  
      CommentAuthorGhazi
    • CommentTimeAug 10th 2005
     # 3
    Not necessarily. I like vanilla. I just wanna add a couple of pages of my own.
    • CommentAuthorMark
    • CommentTimeAug 10th 2005 edited
     # 4
    You'd need to copy an existing page - like the search page for example.

    Then you'd need to create a control file for your new page. Control files are named the same as their root page, but they sit in the /controls folder and contain all controls to be used on that page specifically.

    So, the search page has search.php in the root, and it's control file is controls/search.php

    Take a look at them and you'll see what I mean.

    So, you can create a blank page by copying those and renaming them accordingly, and then remove / replace the search controls used on the search page with controls of your own.

    If you don't "get it", it might help to read the order of execution document in the wiki:

    http://lussumo.com/docs/doku.php?id=vanilla:development:orderofexecution
Add your comments
    Username Password
  • Format comments as