Search the Community
Showing results for tags 'aiom'.
-
Hey, Been using this starter theme for a little while now and thought I'd open it up on github - https://github.com/benbyford/bb-starter It has all my favourite modules installed, .less, some hany .js libraries and a set of blog templates for a simple news / blog setup. The theme is built on the simple theme from PW with additional setup. For more info see the Readme.md file on github. See it here - http://bbstarter.nicegrp.com/ Thanks everyone for your continued work and fun using PW.
-
I wasnt quite sure where to post this (perhaps the AIOM thread is the correct place, if so I am sorry).. But I have a switch statement set up on certain values in an options. I have that part working like a charm.. However, when I echo: echo "<link rel=\"stylesheet\" href=\"{AIOM::CSS(array('styles/style.css', 'styles/slider.css', 'styles/style2.css', 'styles/style4.css'));}\">"; It just returns a link. It is like it is rendering one linked file and I receive a 404 error. DId I escape the "" the wrong way? switch ($switchColor) { case "Style3": echo "<link rel=\"stylesheet\" href=\"{echo AIOM::CSS(array('styles/style1.css', 'styles/slider.css', 'styles/style2.css', 'styles/style3.css'));}\">"; break; case "Style4": echo "<link rel=\"stylesheet\" href=\"{echo AIOM::CSS(array('styles/style1.css', 'styles/slider.css', 'styles/style2.css', 'styles/style4.css'));}\">"; break; default: echo "<link rel=\"stylesheet\" href=\"{echo AIOM::CSS(array('styles/style1.css', 'styles/slider.css', 'styles/style2.css', 'styles/normal.css'));}\">"; } I should have actually tried assigning it to a variable and then passing that in to the switch before I posted this. I solved it by assigning the AIOM array to a variable. So apparently that isnt working either.