Tag: template

contaxg.com The attached file is the home page template for http://contaxg.com , which is running version 3 of Siteframe.
0 comment(s) / glen / Miscellany / on December 4, 2007 at 21:14

Template Dev - Previous and Next With Thumbs This text file includes a snippet that can be used to render Previous and Next functions with thumbnails. If the Previous or Next page does not have an image it will use the page title. If there is no previous or next page it will do nothing.
2 comment(s) / cglusky / cglusky's dev notes / on June 17, 2006 at 06:26

Template Dev - Using All and Menu Together The {all} block can be used to generate arrays of info from several classes. Folders, pages and images are the main objects of interest for the {all} block. You can use {all} to generate a list of all folders: ---------------- {all class="folder"} {$folder.title} {/all} --------------- Or you can combine it with menu to add more sophisticated formatting options: ...
0 comment(s) / cglusky / cglusky's dev notes / on June 2, 2006 at 14:30

menu items based on login I'd like to have menu items display only if the  member has logged in. I see how to do it for an 'admin', but can I do it for groups? what would the syntax be? thanks.
1 comment(s) / mabzy / Q&A / on April 16, 2006 at 16:47

siframe version 1.2 Here is the latest build for the siframe template. Changes from 1.1.2: -Turned off right click (for most modern browsers) on page and file images -Turned off IE image toolbar for entire site -New font (Verdana) for easier reading (maybe) -All recent/random thumbs now take you to page view -File view now supports an image up to 750px wide -Links are now underlined on hover vice bold ...
1 comment(s) / cglusky / cglusky's dev notes / on April 8, 2006 at 19:13

The Blue Blog Template Set This is another template set based on a design taken from Open Source Web Design . Nothing special here; it's a clean, softly-colored design primarily intended for text applications such as blogging. This template set will be available in the next regular release of Siteframe. You can see it in action at http://broadpool.com .
1 comment(s) / glen / Templates / on January 6, 2006 at 07:10

HowTo: customize templates You could, of course, simply edit the provided template files and save them. However, in doing so, you run the risk of having your modifications overwritten when a new version of the software is installed. Siteframe provides features that allow you to customize your templates safely and maintain your changes between software releases. The custom.ini File The template.ini file provides...
0 comment(s) / glen / HowTo / on November 22, 2005 at 12:41

DEPRECATED: all_folders (Smarty extension block) The {all_folders} block has been dropped and has been replaced with the generic {all} block. To use it, change {all_folders ...} to {all class="Folder" ...} and everything should work just the same. The {all_folders} ... {/all_folders} block iterates through all the folders and produces a template context for each folder. If the parent=N parameter is provided, then only folders which are...
0 comment(s) / glen / Templates / on May 26, 2005 at 22:28

menu (Smarty extension function) {menu} is a custom Smarty function for the construction of menus. A menu , in this context, is a set of links and text for a specific function. For example, if you are signed in, the bottom of this page has a menu with various items such as "New Comment" and "Send Feedback." If you are the owner of a page, there are even more options like "Edit" and "Delete." These menus are all...
0 comment(s) / glen / Templates / on April 20, 2005 at 16:41

Template Sets and Directory Structure In Siteframe Beaumont, all standard templates are stored in the directory identified by the configuration variable dir_templates , which is usually named "templates" and is created immediately beneath the root directory of the website. Templates that are used by common site functions are stored immediately in that directory and are called "site templates." These templates are used for...
0 comment(s) / glen / Templates / on April 9, 2005 at 11:18

template.ini template.ini is a template definition file that maps between "logical names" of templates and the physical filenames that actually hold the template content. Each directory has a template.ini file with line in the format: <logical-template> = <physical-template> Internally, Siteframe uses the logical-template name to refer to templates; the template.ini file translates...
0 comment(s) / glen / Templates / on April 9, 2005 at 07:40

calendar (Smarty extension function) The calendar function creates a small table containing a calendar of the specified month, with links to archive pages for the specific days in the month that contain pages. There are several optional parameters: year - if not specified, the current year is used. month - if not specified, the current month is used. folder - if not specified, the calendar contains links...
0 comment(s) / glen / Templates / on April 6, 2005 at 07:55