nivar Posted March 14, 2013 Share Posted March 14, 2013 how to create custom box on the front page which I can put html code. here is the pic of what i want to do. Quote Link to comment Share on other sites More sharing options...
Kraken Posted March 23, 2013 Share Posted March 23, 2013 Probably lots of different ways to do it but this is how I do it: 1. Find an existing box that is near to what you want in the tempates directory. 2. Copy it and rename it to whatever you want. box.mynewbox.php for example. 3. Edit main.php for the skin and put {include file='templates/box/mynewbox.php'} where you want the box to appear making sure it's within the sidebar class div wrapper. After that it's just a matter of editing the box.mynewbox.php to make it appear as you want creating new classes within common.css as required. Quote Link to comment Share on other sites More sharing options...
nivar Posted March 29, 2013 Author Share Posted March 29, 2013 Probably lots of different ways to do it but this is how I do it: 1. Find an existing box that is near to what you want in the tempates directory. 2. Copy it and rename it to whatever you want. box.mynewbox.php for example. 3. Edit main.php for the skin and put {include file='templates/box/mynewbox.php'} where you want the box to appear making sure it's within the sidebar class div wrapper. After that it's just a matter of editing the box.mynewbox.php to make it appear as you want creating new classes within common.css as required. thanks Kraken, it works perfectly Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.