Topic: Class Switch |
|||
|---|---|---|---|
Posted: 2011-12-01 |
|||
|
User |
First of all Hello World from down under in New Zealand I've playing around with pyrocms and couldn't find a css switch so I've written a quick plugin for it. Firstly Does one exists. Secondly where can I upload it so everyone can use it I've done a quick tut on my blog with the full code http://www.kevinphillips.co.nz/news/pyro-cms-plugin/ All comments welcome but please DBAD Happy codeigniting Kevin Phillips (also known as Dollar Dad) |
||
| Quote | |||
Posted: 2011-12-01 |
# 1 | ||
|
User |
hi Dollar dad! Nice plugin there! to answer your question, you can submit your plugin via the add-ons section here on the site. or here's the direct link to it. http://pyrocms.com/store/add |
||
| Quote | |||
Posted: 2011-12-01 |
# 2 | ||
|
User |
Hi Jayson Uploaded. Hope I've crossed all the t's and dotted the i's OK |
||
| Quote | |||
Posted: 2011-12-01 |
# 3 | ||
|
User |
Hi Kevin, Nice little function. I was just wondering if there was a way that you could just access the alternator function from CI (http://codeigniter.com/user_guide/helpers/string_helper.html) to get your desired result. Nathaniel |
||
| Quote | |||
Posted: 2011-12-01 |
# 4 | ||
|
User |
Good point - I hadn't thought of that. I was actually looking to see if I could use PyroCMS on a project that I'm converting from another CMS. I'll have a look but not tonight (I'm in New Zealand and it's well past beer O'Clock) |
||
| Quote | |||
Posted: 2011-12-02 |
# 5 | ||
|
User |
New version uploaded using the CI alternator function from the string helper I've also uploaded it to GitHub GitHub PyroCMS CSS Switcher |
||
| Quote | |||
