Jump to content

thatigibbyguy

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by thatigibbyguy

  1. Hey guys, I've created an initial ProcessWire bootstrap repository if any of you want to use it.

    Try this, branch it out, do whatever you want with it. 

    https://bitbucket.org/thatgibbyguy/base_html5_processwire

    The features of this bootstrap are:

    • HTML5 Boilerplate
    • Modernizr/HTML5 Shiv

    Javascript Libraries:

    • Twitter Bootstrap Javascript Library
    • jQuery-1.8.2
    • jQueryUI-1.9.1
    • jQuery.fittext.js
    • jQuery.mobile-1.20
    • jQuery.scrollto-1.4.3.1
    • retina-0.0.2

    CSS/LESS Frameworks:

    • font-awesome (not 3.0 yet)
    • KUBE Grid (in LESS)
    • Twitter Bootstrap Library (in LESS - library.less)
    • Base LESS file (style.less) 

    Key changes to Ryan's initial download are just that I took each one of his calls and abstracted them out as includes. So Ryan's functionality has been abstracted into the following includes:

    • Breadcrumbs -> breadcrumb.inc
    • Page Titles -> pagetitle.inc
    • Random Image -> randomimage.inc
    • Search -> search.inc
    • Sidebar -> sidebar.inc

    For example, to add the breadcrumbs to your site, simply include it in your markup like so:

    include("./breadcrumb.inc"); 

    Also included is Soma's Markup Simple Module.

    • Like 6
  2. I have a template file following Ryan's planet.php template starter demo. The structure is

    processwire/site/templates/planet.php

    Inside of planet.php, I have inserted the code you have provided. When I run that page, your code just prints out exactly as is. Nothing else happens.

    Is that a little more clear?

  3. Hi all, I'm a total beginner to things like this. I understand creating fields, but not much else.

    I'm trying to install this module to the template using Ryan's planet walkthrough. 

    I've inserted 

    $treeMenu = $modules->get("MarkupSimpleNavigation"); // load the navigation module
    echo $treeMenu->render(); // render default menu

    Just to see what would happen and it just prints out. Where am I supposed to put this at if not in the body of my template file?

    Thanks for everything, everyone.

×
×
  • Create New...