0

I have created the index.php and templateDetails.xml file along with css and js and images folders then zipped it all and got it discovered on joomla 3.3.

Trouble is because I added in my index.php html code for the menu and a js slider which works fine with a link to the js and css in the head , the menu and header with slider are at the bottom of the page and I don't know how to position it to the top in my custom template via module manager or by going to menus and trying to place it in position of custom template. There seems to be no option like there is with other templates.

When I click on preview of my custom template it shows basic positions but there is none listed in corresponding elements I've created by just adding the html to my template.

7
  • Don't expect a Joomla workable template, by just adding pieces of html in your template. Have you read anything about Joomla templates first? Getting Started, Modifying a Template, Create a basic Template
    – FFrewin
    Commented Nov 16, 2014 at 9:50
  • It's hard to understand what you have do! Can you provide your template code? Commented Nov 16, 2014 at 11:01
  • I do not just expect to throw in html. I've been trying to follow a tutorial on bootstraps and JUI but I think I might just go back to drupal because changing cms is starting all over, I just thought joomla might be easier for clients.
    – cea
    Commented Nov 17, 2014 at 3:20
  • But I was hoping to replicate a block menu from html yes, within module manager advanced tab.
    – cea
    Commented Nov 17, 2014 at 3:22
  • @cea The tutorials you need to follow are those in my first comment
    – FFrewin
    Commented Nov 17, 2014 at 8:50

1 Answer 1

3

Because you have added your markup directly to index.php you cannot position it with module manager, as that controls the visibility, content and position of defined modules.

Instead you should add your slider markup as a new custom html module, in module manager, and then assign it to a position in your template. In the case of a menu it would be better to use the menu module, as the content can then be controlled directly from the module manager. Just assign a menu module to the position you want your menu to show in and publish it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.