HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Pages Application

NickENickE New
edited April 2010 in Vanilla 2.0 - 2.8
Check out mah new application! Ok the idea isn't exactly new but it's a remake so whatever.

It allows you to reorder, hide and make your own menu items. Also allows you to make your own integrated custom pages (w/ php) -- OR let it read an uploaded directory structure so you don't have to manually input pages.

The custom pages part isn't integrated into the menu management part yet (todo list...), and haven't done anything with roles (also todo list...), but it's still pretty functional.

Whadday think?

Comments

  • oliverraduneroliverraduner Contributing to Vanilla since 2010 Switzerland ✭✭
    @NickE Could you please give a short instruction, how to set this application up?
    How and where can you modify the menu, where can you create/modify custom pages?

    There are a few people having this issue: @oinkfu @nicholaszen @Winipoo
  • Hi

    I had this same problem, so I figured I'd help you out :)

    First, I found the CustomPages plugin much easier to work out than this one. You'll find it in the plugins list for vanilla 2 on this site.

    To install, download the zip file and extract it to your plugins folder. Then goto your dashboard and you should see a new link on the left hand menu called Custom Pages. Goto that link and you'll get a page that will explain quite a lot, but here's a quick summary too.

    You create a new page inside the plugin/CustomPages/pages folder. That will be mapped to a url automatically, like say your page was called my_page.php then it would map to http://mydomain.com/plugin/page/my_page

    After that if you want a shorter url for your new static page, you can add a route to it in the dashboard. Goto the routes section of the dashboard and add a new route. Make the route expression what you want your nice url to be, and the target your actual page url. e.g. "my-page" and "/plugin/page/my_page" . After adding that, going to http://mydomain.com/my-page will look the same as http://mydomain.com/plugin/page/my_page

    Hope that makes sense, enjoy :)
  • Oh, modifying the menu can be done by making a simple theme and adding links to the default.master.php . Check out your themes folder for a start, copy the default theme, rename appropriately (follow instructions inside the theme readme). Then copy default.master.php into your themes' view folder. Edit that file and you'll see the menu markup there.
Sign In or Register to comment.