8000 GitHub - dibeja/how_ministash: A simple "Stash LIke" plugin for EE1.x
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dibeja/how_ministash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

how_ministash

The Ministash Plugin is aimed to give EE1 users the opportunity to use partials and layouts (more info about in this very good article by John D Wells: http://johndwells.com/blog/homegrown-plugin-to-create-template-partials-for-expressionengine)

It's MINI so you have only three funcions:

SET:
{exp:ministash:set name="YOURSTASHNAME"} content {/exp:ministash}

To set a "one time" stash

APPEND:
{exp:ministash:append name="YOURSTASHNAME"} content {/exp:ministash}

To add content at the bottom of a stash

GET:
{exp:ministash:get name="YOURSTASHNAME"}

To retrieve the content previously set

INSTALLATION:
Just put the pi.ministash.php file inside system > plugins

IMPORTANT! In EE1 the pagination is appended at the top or at bottom of the resultset, so you cannot stash it! Sorry folks, it's not my fault :)

THANKS TO: Mark Croxton: for the wonderful and original Stash plugin Max Lazar: for the MX Jumper plugin wich give me a good starting point

Happy templating!

About

A simple "Stash LIke" plugin for EE1.x

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0