Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Posts posted by Luis

  1. Ok, found some time today so I published a first version of a basic ecommerce template.

    The Shop Plugin is fully implemented.

    Every content is PW driven.

    You got the possibility to mark a product as featured or as topseller to let them shown at the homepage.

    Also you could mark a brand and a category as featured, so they will be outputted aside the slider.

    Slider content is generated from pages.

    My focus was to implement the most common options and to give the user a base template to work on.

    Built on top of the Twitter Bootstrap Framework.

    Still working on it :)


    Plz dont laugh about the brands :D

    • Like 2
  2. Hi there,

    I´m using the basic navigation output from Ryan´s example site.

    I got Pages assigned to the Basic-Page Template which I don´t want to be shown in the Navigation.

    So here is my solution:

    Create a new field called: navhide

    Type: Checkbox

    Label: Do you want to hide this page from Topnavigation?

    Edit the Basic-Page Template and add the created field.

    Open your head.inc and add the following to where your Topnavigation shoud be outputted:

    <ul class="nav">
       $homepage = $pages->get("/");
       $children = $homepage->children("navhide=0");
       foreach($children as $child) {
     $class = $child === $page->rootParent ? " class='active'" : '';
     echo "<li$class><a href='{$child->url}'>{$child->title}</a></li>";

    Please remember that the given html classes are from one of my projects, so feel free to add your own.

    You now find a new field in Pages assigned to basic-page template called navhide.

    If checked your Pages will be hidden in navigation.

    Hope this will work for someone :)

    • Thanks 1
  • Create New...