Extras catalogue

SIMPLX Template

Latest release 15 years ago (June 1, 2011).

simplxtemplate

  • By larscwallin

About

So finally, heres my first experimental version of the SIMPLX Template strategy. Again :)

What do i mean strategy? 

Well what you get with this download is simply a very generic template which uses Property Sets to customize just about every aspect of the look and feel of the template. This makes it easy peasy for non tech people to change the apperance of their site. This at least is the long term plan ;)

Why not just use TV's?

TV's are in my mind, contrary to the their namning, more about per-page/per-page-type customization. The Property Sets are meant to reflect the very base properties and attributes of the template, not behaviour etc. so they should of course be combined with TV's.

Share your stuff

By simply exporting and sharing Property Sets you can share your configurations :)

Try it and get back to me with comments.

Ciao,

Lars

Installation & usage

MODx 2.0.*

The previous versions of MODx use a slightly different syntax for lists then 2.1. This makes the default Property Set break. Lists will appear empty. 

Just download and change the default Property Set and see what happends ;)

Get the  Property Set from the url by copy pasting its content and saving it as properties.js (or something) 

https://gist.github.com/1002320

Replace the default set

  • Click on the "Import Properties", choose the new file and click "Import"

Adding a new set

  • Create a new Property Set by clicking on "Add Property Set"
  • Check "Create New Property Set", fill in name and desc and click save
  • Now import new file you just created
  • To use, change the first row in the template [[!propertySet? &use=`new_set_name`]]

Have fun :)

At a glance

MODX 3 compatibility unknown. Based on our testing and community reports where available.

  • Developer larscwallin
  • Latest release June 1, 2011 (15 years ago)
  • First seen in SiteDash June 1, 2011 (15 years ago)
  • License GPLv2
  • MODX support 2 – 2.1
  • Databases MySQL , SQL Server

Releases 1 indexed release

Changelog
MODX.com

0.2-pl

June 1, 2011

15 years ago

<p><b>Added</b></p><p>New cool propertySet Snippet which makes it possible to set temporary Property Set to use. Very nice!</p><p>Example: </p><p>[[!propertySet? &amp;use=`simplx_template_example`]]       .......</p><p>     [[!propertySet? &amp;p=`my_property`]]</p><p><b>Fixed</b></p><p>Scrolling was not working for the content area :p</p>