-
AuthorPosts
-
September 11, 2011 at 3:12 am #168405
I have tried for hour to make a new position under the main content on the JA Social template but I have not been able to do it, can some one please help me with this.
I did the php file calling for the module and save it in blocks, did the call for the position in the xml file, added the block on the template layout section but still can not get it to work.
Below is a picture of where Im trying to set up the new position with the layout that I use. Please help
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
September 11, 2011 at 4:02 am #411972HI thomascollado,
It would be helpful to know the version of Joomla you are using.
I will set a small tutorial here for Joomla 1.5.First, Insert your Template Position in the TemplateDetails.xml like this:
Code:
<positions>
<position>left</position>
<position>right</position>
<position>top</position>
<position>Your Module Name</position>
</positions>Then I would Insert a new <div> here in the Index.php for the new module position (EXAMPLE):
Code:
<div id="ja-wrapper">
<!-- BEGIN: MAIN NAVIGATION -->
<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
<div id="ja-header" class="clearfix">
<h1 class="logo"><a href="/index.php">YOUR DESCRIPTION HERE</a></h1>
<div id="ja-usertools">
<a href="http://www.your_web_site.com">tag name</a>
</div>
<div id="New-Module>
<jdoc:include type="modules" name="YOUR NEW MODULE" />
</div>
<div class="clr">
</div></div>
Finally you need to go to the Module and publish that to the template position, you do this in the control panel by going to:
Extensions > Module Manager > Module Name
Click on the module to edit it.
Under the Details here you’ll find a
Enabled: Yes
position:What ever you named it aboveListbox listing all the positions you can publish this module to. Make sure the New Module module is published to the position named above. Make sure the module is enabled by changing the Enabled to Yes.
Apply and Save your changes…
Preview your work.
Let me know if you need further help.September 25, 2011 at 10:36 pm #414925Thank you so much for your help.
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by thomascollado 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
New module position under content for the JA Social template.
Viewing 3 posts - 1 through 3 (of 3 total)