-
AuthorPosts
-
milsirhc Friend
milsirhc
- Join date:
- January 2011
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
February 27, 2011 at 2:18 pm #160771Hi,
I’m trying to add an additional block above content-mass and right block and I’m having some difficulties.
I’m not very familiar with codings to a step by step guide would be very appreciated.
Thanks.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
February 27, 2011 at 3:09 pm #378612Hi,
You do following steps:
– Open Template Manager
– Choose default template (your case is Rasite)
– Choose Layout tab
– Edit default layout
– Add this code
<block name=”breadcrumb” style=”raw”>breadcrumb</block>
before <block name=”content-mass”> and <block name=”right”>You can refer to http://wiki.joomlart.com/wiki/JA_T3_Framework_2/Guides#Layouts_Panel
milsirhc Friendmilsirhc
- Join date:
- January 2011
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
February 28, 2011 at 3:29 am #378722Anyone know how to do this?
milsirhc Friendmilsirhc
- Join date:
- January 2011
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
February 28, 2011 at 10:02 am #378818Come on Joomlart team.. I’ve asked for help so many times and most of the time I end up spending hours to do it myself.
I really need help with this. Would really appreciate if the team can spend a little time on this.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
February 28, 2011 at 10:10 am #378823Did you try doing as suggested above?
<em>@khoand 224083 wrote:</em><blockquote>Hi,
You do following steps:
– Open Template Manager
– Choose default template (your case is Rasite)
– Choose Layout tab
– Edit default layout
– Add this code
<block name=”breadcrumb” style=”raw”>breadcrumb</block>
before <block name=”content-mass”> and <block name=”right”>You can refer to http://wiki.joomlart.com/wiki/JA_T3_Framework_2/Guides#Layouts_Panel</blockquote>
milsirhc Friendmilsirhc
- Join date:
- January 2011
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
February 28, 2011 at 10:57 am #378843<em>@phill luckhurst 224343 wrote:</em><blockquote>Did you try doing as suggested above?</blockquote>
Not sure how I miss that. I thought no one was responding to this post..
Btw, it did not work for me.
milsirhc Friendmilsirhc
- Join date:
- January 2011
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
February 28, 2011 at 10:58 am #378844<em>@khoand 224083 wrote:</em><blockquote>Hi,
You do following steps:
– Open Template Manager
– Choose default template (your case is Rasite)
– Choose Layout tab
– Edit default layout
– Add this code
<block name=”breadcrumb” style=”raw”>breadcrumb</block>
before <block name=”content-mass”> and <block name=”right”>You can refer to http://wiki.joomlart.com/wiki/JA_T3_Framework_2/Guides#Layouts_Panel</blockquote>
Thanks mate. 🙂
I tried it and it still did not work for me. I put in ?tp=1 and I still can’t see the block. Not sure why.
milsirhc Friendmilsirhc
- Join date:
- January 2011
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
February 28, 2011 at 11:41 pm #378947I really need this to work.
Please advise.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
March 1, 2011 at 3:28 am #378971Dear milsirhc,
You can add a new block as child block of the top blocks,try like this
Go to template manager >> your template >> Layout tabs ,go to edit your actived layout,you would see block like this
<block name=”topsl” specialwidth=”30″ special=”right” type=”spotlight-top” >user1,user2,user3,user4,user5</block>You can add below it this block
<block name=”breadcrumb” type=”modules” >your module positions</block>
Now you have a new block that displaying above the main body section.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 1, 2011 at 10:09 am #379050<em>@dathq 224542 wrote:</em><blockquote>Dear milsirhc,
You can add a new block as child block of the top blocks,try like this
Go to template manager >> your template >> Layout tabs ,go to edit your actived layout,you would see block like this
<block name=”topsl” specialwidth=”30″ special=”right” type=”spotlight-top” >user1,user2,user3,user4,user5</block>You can add below it this block
<block name=”breadcrumb” type=”modules” >your module positions</block>
Now you have a new block that displaying above the main body section.</blockquote>
Example: the code you add<block name=”breadcrumb” type=”modules” >custommodule</block>
And when you choose position for your module, if no custommodule position, you do following steps:
– Open <joomla url>templatesja_rasitetemplateDetails.xml file
– Add this code
<position>custommodule</position>
before this code (at line 72 if you haven’t modified this file)
</positions>
– Clean cache by click JAT3 Clean Cache linkmilsirhc Friendmilsirhc
- Join date:
- January 2011
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
March 1, 2011 at 10:18 am #379055<em>@dathq 224542 wrote:</em><blockquote>Dear milsirhc,
You can add a new block as child block of the top blocks,try like this
Go to template manager >> your template >> Layout tabs ,go to edit your actived layout,you would see block like this
<block name=”topsl” specialwidth=”30″ special=”right” type=”spotlight-top” >user1,user2,user3,user4,user5</block>You can add below it this block
<block name=”breadcrumb” type=”modules” >your module positions</block>
Now you have a new block that displaying above the main body section.</blockquote>
Hi dathq,
Appreciate your help with this.
I tried adding the code below the topsl block and assign the module to that position but it is not displaying still.
My code:
<?xml version="1.0" encoding="utf-8"?>
<layout name="desktop">
<!--Extra css load for this layout-->
<stylesheets>
</stylesheets>
<blocks name="top" style="xhtml">
<block name="absolute" type="modules" style="raw">absolute</block>
<block name="top-panel" type="modules" style="raw" main-inner="1">top-panel</block>
<block name="mainnav" type="mainnav" main-inner="1"></block>
<block name="header" type="header" main-inner="1"></block>
<block name="cpanel" type="usertools/cpanel"></block>
<block name="topsl" specialwidth="30" special="right" type="spotlight-top" >user1,user2,user3,user4,user5</block>
</blocks>
<block name="breadcrumb" type="modules" >breadcrumb</block>
<blocks name="middle" colwidth="30">
<block name="content-mass-top" >content-mass</block>
<block name="inset2" width="25" >left</block>
<block name="right1" >right</block>
</blocks>
<blocks name="bot" style="xhtml">
<block name="cs" type="modules" style="raw" no-main="1" >ja-cs</block>
<block name="tabs" type="modules" no-main="1" style="raw" >ja-tabs</block>
</blocks>
<blocks name="bottom" style="xhtml">
<block name="botsl" type="spotlight" style="JArounded" >user6,user7,user8,user9,user10</block>
<block name="footer" type="footer" ></block>
</blocks>
</layout>milsirhc Friendmilsirhc
- Join date:
- January 2011
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
March 1, 2011 at 11:31 am #379065Thanks mate.
I tried it but still no luck.
If I put the new block within the <blocks name=”top” style=”xhtml”></blocks>, the breadcrumb appears.
However, if I put it as a new block or within <blocks name=”middle” colwidth=”30″></blocks>, it does not appear..
This is confusing!
<em>@khoand 224646 wrote:</em><blockquote>Example: the code you add
<block name=”breadcrumb” type=”modules” >custommodule</block>
And when you choose position for your module, if no custommodule position, you do following steps:
– Open <joomla url>templatesja_rasitetemplateDetails.xml file
– Add this code<position>custommodule</position>
before this code (at line 72 if you haven’t modified this file)
</positions>
– Clean cache by click JAT3 Clean Cache link</blockquote>
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 1, 2011 at 1:15 pm #379078Sorry for make you confusing, my fault.
– You put this code into <block name=”top”></block>
<block name="breadcrumb" type="modules" >custommodule</block>
This step add breadcrumb block (position name is custommodule). But when you create new module, you can’t choose custommodule position because custommodule position isn’t available
– To custommodule position is available, you do following steps:
+ Open <joomla url>templatesja_rasitetemplateDetails.xml file
+ Add this code
<position>custommodule</position>
before this code
</positions>
+ Clean cache by click JAT3 Clean Cache link
milsirhc Friendmilsirhc
- Join date:
- January 2011
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
March 1, 2011 at 1:43 pm #379085<em>@khoand 224679 wrote:</em><blockquote>Sorry for make you confusing, my fault.
– You put this code into <block name=”top”></block>
<block name="breadcrumb" type="modules" >custommodule</block>
This step add breadcrumb block (position name is custommodule). But when you create new module, you can’t choose custommodule position because custommodule position isn’t available
– To custommodule position is available, you do following steps:
+ Open <joomla url>templatesja_rasitetemplateDetails.xml file
+ Add this code
<position>custommodule</position>
before this code
</positions>
+ Clean cache by click JAT3 Clean Cache link</blockquote>Hi khoand,
Getting closer! It is displaying in the top position but what I need is to put it on top of the main content page:
I guess I’ll need to create a new position that fills up the entire top middle block?
Mate, if you ever come to Sydney, let me know and I’ll buy you a beer for your kind effort!
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 1, 2011 at 2:09 pm #379087Thank you. You’re welcome 🙂
AuthorPostsThis topic contains 37 replies, has 5 voices, and was last updated by milsirhc 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum