my wip: http://example.izedemo.info/
(this is a temp link so in the future it will stop working)
I’m referring to: http://www.joomlart.com/forums/topic/how-to-create-new-position-in-joomla-1-5/ for guidance but there must be something a little different with this template… or maybe I just missed something…
My question is very usual and I’ve looked throughout the various forums – but no avail.
basically all I want is to add a new position in the template, possibly two, I’ve done it in other templates before – but I’m not a pro – I must have missed something…
what I’ve done:
stage 1.
after consulting with the guide link I’ve added the following lines to index.php:
(around line 140 – but I guess location is not crucial{?})
<?php if($this->countModules(‘ja_newposition’)) : ?>
<jdoc:include type=”modules” name=”ja_newposition” />
<?php endif; ?>
<?php if($this->countModules(‘ja_newposition2’)) : ?>
<jdoc:include type=”modules” name=”ja_newposition2″ />
<?php endif; ?>
what I get in response is: (even after completing stages 2+3)
Parse error: syntax error, unexpected ‘<‘ in /home/gvinot/public_html/templates/ja_norite/index.php on line 70
stage2.
I entered templatedetails.xml:
added two new positions:
<position>ja_newposition</position>
<position>ja_newposition2</position>
stage 3.
I’ve adde basic CSS code:
#ja_newposition {}
#ja_newposition2 {}
have tried it on /public_html/templates/ja_norite/css/layout.css (in HEADER)
and alternatively placed it in public_html/templates/ja_norite/css/template.css (in HEADER).
modules appear im modules menu (surely due to templatedetails.xml) but they are not assigned…
nw – of course I will research the wiki at : http://wiki.joomlart.com/wiki/JA_Tem…amework/Guides
http://wiki.joomlart.com/wiki/JA_Tem…Framework/FAQs
but a handy solution will be most appreciated 🙂