Joomla: How to add a unique 3 column row only to Frontpage?
I want to add a unique 3 column row only to Frontpage. I also want to be able to change the contents of these columns via Admin panel. I don't want these 3 columns to be shown on any other page within the website. The contents of these columns could be text, image, etc. And after this row ends, the regular conten开发者_C百科t of the page should begin as usual.
Any help with the above issue is highly appreciated.
Thank you.
Joomla is design to work exactly as you are describing. Here are the things you will need to consider -
1. Module position - your template has different positions that modules can be placed in. Does your template have one in the location you would like to put this content? Most template designs will provide you with a map of all the template positions so you can determine this. You can also add ?tp=1 to any URL on the site and it will display all of the positions available. If there is no position where you want to display the content, you can add it to index.php in your template with something like this -
<jdoc:include type="modules" name="name-of-position" style="none" />
If you add a new position, you will also need to add the name of the position to templateDetails.xml for it to show up in the positions drop down list. You can also type the name in if you don't want to add it to templateDetails.xml.
2. Content display module - you will need to display the content in a module. If you don't plan to change the content often, you can just use the Custom HTML module and put what ever you need right in to the module directly, then assign the position you determined in step 1 Depending on your needs, you might need to install a module that displays article content or something more suitable, check the Joomla Extension Directory if necessary.
3. Menu assignment - in order for the module to only show up on the home page, you will need to change the Menu Assignment for the module. Change the Menus option to "Select Menu Item(s), then select the home page menu item only.
Are you talking about Featured articles on the front page.You will have to go to the backend. select content menu > Featured Articles. Add your articles under featured articles category. When you are done, publish them and unpublish those that you dont want to included on the front page.Am sure this will work.
精彩评论