-
AuthorPosts
-
January 11, 2010 at 11:23 am #147546
Hi,
First i want to say thanks for your geat work especially on mega menu and multi layout (mobile, etc).We are members and using Kyaniite 2 template to develop our new website.
In the main layout there is modules positions called content-mass-top, inset 1 & 2 and content-top …
But they are undocumented and not working …Is there a way to use it as there is some lack of positionning in this template especially in the main column.
Thanks for your answer.
January 11, 2010 at 12:04 pm #328964Hmmm ok
Some minutes ago this forum section look empty so i miss other posts …
I think i will find a solution in it.January 11, 2010 at 12:12 pm #328965Ok so far, i have modified this files :
templateDetails.xml
Added these lines :
<position>content-mass-top</position>
<position>content-top</position>
<position>content-bottom</position>
<position>content-mass-bottom</position>
<position>inset1</position>
<position>inset2</position>
layouts/default.php
Modified these lines :
$positions = array (
'left1' =>'left',
'left2' =>'',
'left-mass-top' =>'',
'left-mass-bottom' =>'',
'right1' =>'right',
'right2' =>'',
'right-mass-top' =>'',
'right-mass-bottom' =>'',
'content-mass-top' =>'main',
'content-mass-bottom' =>'main',
'content-top' =>'main',
'content-bottom' =>'main',
'inset1' =>'main',
'inset2' =>'main'
);
but it don’t work …
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 11, 2010 at 1:56 pm #328976Hello guy!
as default, The ja template only define necessary positions which use for the each layout.
Example with default layout.
[PHP]
$positions = array (
‘left1′ =>’left’,
‘left2’ =>”,
‘left-mass-top’ =>”,
‘left-mass-bottom’ =>”,
‘right1′ =>’right’,
‘right2’ =>”,
‘right-mass-top’ =>”,
‘right-mass-bottom’ =>”,
‘content-mass-top’ =>”,
‘content-mass-bottom’ =>”,
‘content-top’ =>”,
‘content-bottom’ =>”,
‘inset1’ =>”,
‘inset2’ =>”
);$this->definePosition ($positions);
[/PHP]You would like to acknowledge the JA Template Framework and others, pelase checkout the wiki site of joomlart, the link here:
http://wiki.joomlart.com/wiki/Main_Pagegood luck
January 11, 2010 at 7:04 pm #329003Hi and thanks for your answer.
Ok i understand and have my new module appearing in the “content-mass-top” position of framework.
But it is in the same box as component content …
I imagined it would be on top …like in framework image …Thanks for you reply.
January 11, 2010 at 7:17 pm #329004Ok Now i have to modify the main block ….
It’s ok.
ThxJanuary 25, 2010 at 1:01 pm #330327Hi,
Another question.
I succeeded in create right mass top module (so without any style, perfect for full width image).
For my component in mass top to have the good width (30%) i modified default layout and put 15 to $this->_basewidth;But there is a problem.
if i get a component in mass top, components in right (under mass top) have same width
but if there is no component in mass top components in right are half width (back to 15)…How to fix it please ?
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Saguaros 14 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum