Description
Creates an HTML unordered list of menu items set in the Menu Navigation tab of the Soholaunch back-end.
Usage
<?php $navigation = $mytemplate->getNav($args); ?>
or
<?php $mytemplate->showNav($args); ?>
Creates an HTML unordered list of menu items set in the Menu Navigation tab of the Soholaunch back-end.
<?php $navigation = $mytemplate->getNav($args); ?>
or
<?php $mytemplate->showNav($args); ?>
The absolute path to the current template directory, from the parent web directory either echoed or returned.
<?php $templatePath = $mytemplate->getTemplatePath(); ?>
or
<?php $mytemplate->showTemplatePath(); ?>
The current page the user is on, either echoed or returned.
<?php $thisPage = $mytemplate->getThisPage(); ?>
or
<?php $mytemplate->showThisPage(); ?>
If using getThisPage(), a…
Read More »
After building many custom templates for use with Soholaunch and becoming fed up with the limitations of template pound variables, I’ve decided to standardize some simple functions. The result is my Soholaunch Template Class, something I will continue to add…
Read More »
If you need an automated way to figure out the installation path and directory to the Soholaunch install, you can use this function. The function relies on the use of my currentPage function for some string manipulation. It’s especially helpful…
Read More »
Unfortunately, Soholaunch doesn’t store the current page the user is on in any of it’s many session variables. I use this function in pretty much every template I create for Soholaunch. It basically just tells you what page is being…
Read More »
Instagram recently released some new features in their latest iPhone App build.
While there are a few unofficial Instagram API’s floating around out there, I thought I’d spend a little time playing with the feed until an official API…
Read More »
This PHP application is easy to implement into your own site. Simply download the source code and…
Read More »