-
AuthorPosts
-
qessence Friend
qessence
- Join date:
- January 2012
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 3 times in 1 posts
January 22, 2012 at 9:18 pm #173072Hello there , back on the forums !
Im having several difficulties making something im sure you guys could do without any effort , so, please, help me with this, cause im getting crazy.
All i need is a new module position upside the content-bot and, the most important, a left side new column in the content-bot position.
hope this will explian the issue more than my words:please, again, PLEASE, help me with this. I’ve searched the forums, but, despite there are several post with related info, none of them match my problem. ( and one, causes me an error on template.php)
qessence Friendqessence
- Join date:
- January 2012
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 3 times in 1 posts
January 22, 2012 at 9:25 pm #434883Sorry, i missed some information.
Using Ja Teline IIIv2 On J1.7.Thanks in advance, hope someone could help me with this.
qessence Friendqessence
- Join date:
- January 2012
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 3 times in 1 posts
January 23, 2012 at 11:45 am #434935I think im able to “more or less” create a new position (red one on pic from first post), but i cannot create the new column by my self , please help me with this, cause im stuck and cannot continue working without that column.
Ive tried to edit /plugins/system/jat3/jat3/base-themes/default/page/template.php this way:
http://www.joomlart.com/forums/topic/split-content-bot-into-two/
But nothing happens instead an error.I really need help with this column, please.
..Thanks.n6rej Friendn6rej
- Join date:
- November 2006
- Posts:
- 1040
- Downloads:
- 0
- Uploads:
- 63
- Thanks:
- 79
- Thanked:
- 145 times in 90 posts
January 23, 2012 at 7:25 pm #435014you should NEVER modify the core… please follow the wiki in my signature. You need to make a change to the content-bot block adding a new position there. for the top one simply put the module in the same position and it will automatically drop down and inherit the parents widths
qessence Friendqessence
- Join date:
- January 2012
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 3 times in 1 posts
January 23, 2012 at 7:36 pm #435018Well… thanks for the response but, i have already readed the JAWiki, and, well, sorry, i must be stupid, but im not able at all to create a new column there… if i were able to, i truly promise you, i wouldn be here bothering you guys.
Please could you be more specific? Please, i would love to learn, but i need some light here..
PS: Also.. i dont see any Wiki on your signature, i was talking about JAWiki, and that solves me nothing, all in can do is create one module under other, and i need columns. Maybe im such stupid, i know, but really need some light.
Thanks..
qessence Friendqessence
- Join date:
- January 2012
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 3 times in 1 posts
January 23, 2012 at 8:09 pm #435025In the meanwhile, i tryed this, this is the more close i can get by myself:
I’ve edited the default.xml layout via BackEnd template administration:
Changed:
<block name="content-bottom">content-bot</block>
To
<block name="content-bottom" type="spotlight">content-bot,content-bot1</block>
This creates a column, but it does not suits my requeriments cause their width takes all the entire main div, and what i need is a content-bot splited in two positions, lets say 10% new column 90% existing content-.bot.
Thanks in advance…n6rej Friendn6rej
- Join date:
- November 2006
- Posts:
- 1040
- Downloads:
- 0
- Uploads:
- 63
- Thanks:
- 79
- Thanked:
- 145 times in 90 posts
January 23, 2012 at 8:31 pm #435031the wiki explains about adding blocks and modules but you’ve done just fine…I”M not 100% sure on this but in .css add a “width:10%” statement for the new block. probably #ja_content-bot1 I’ll need to see it in action to tell you specifics… FIrebug can help you alot with this if you don’t know how ( again see signature )
n6rej Friendn6rej
- Join date:
- November 2006
- Posts:
- 1040
- Downloads:
- 0
- Uploads:
- 63
- Thanks:
- 79
- Thanked:
- 145 times in 90 posts
January 23, 2012 at 8:33 pm #435032<em>@qessence 296292 wrote:</em><blockquote>Well… thanks for the response but, i have already readed the JAWiki, and, well, sorry, i must be stupid, but im not able at all to create a new column there… if i were able to, i truly promise you, i wouldn be here bothering you guys.
Please could you be more specific? Please, i would love to learn, but i need some light here..
PS: Also.. i dont see any Wiki on your signature, i was talking about JAWiki, and that solves me nothing, all in can do is create one module under other, and i need columns. Maybe im such stupid, i know, but really need some light.
Thanks..</blockquote>
nah, T3 is not the easiest horse to tame, but **** is it flexible. Sorry bout the wiki I”ll have to remember to add it to my sig:-[qessence Friendqessence
- Join date:
- January 2012
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 3 times in 1 posts
January 23, 2012 at 8:48 pm #435036Sorry n6rej, since im working on local i cannot share with you a link…
But, if this is the code, it really creates a very very weird column.. not aligned at top, with white spaces… see the attach:
Green line: Content-bot Width
Pink line: Completly pointless blank space, dont even know from where it comes from.
Blue line: content-bot1: too far from content-bot, and UNDER the 2-columns (¿?)
Black Line: Default 2-columns working as expected.So as you see, something is broken here.
Are you sure that special specific class styles are created for this two modulepositions?
Thanks.n6rej Friendn6rej
- Join date:
- November 2006
- Posts:
- 1040
- Downloads:
- 0
- Uploads:
- 63
- Thanks:
- 79
- Thanked:
- 145 times in 90 posts
January 23, 2012 at 9:17 pm #435050<em>@qessence 296311 wrote:</em><blockquote>Sorry n6rej, since im working on local i cannot share with you a link…
So as you see, something is broken here.
Are you sure that special specific class styles are created for this two modulepositions?
Thanks.</blockquote>
no, which is why I said i’d want to see the site 😛 I’ve asked frank our css guru to jump in1 user says Thank You to n6rej for this useful post
qessence Friendqessence
- Join date:
- January 2012
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 3 times in 1 posts
January 23, 2012 at 9:19 pm #435051Thanks n6rej, hope Frank could help, meanwhile i’ll be testing my way.
Thanks again.pixelzombie Friendpixelzombie
- Join date:
- August 2010
- Posts:
- 339
- Downloads:
- 2
- Uploads:
- 49
- Thanks:
- 32
- Thanked:
- 168 times in 107 posts
January 24, 2012 at 1:47 am #435113Hi there,
the content-bot position is not really designed to show a spotlight there, but we can trick a little bit to make it work. please add this css code to your template.css
.ja-box-right {
position: relative !important;
}
This should move the right column to the left and fill the blank space. Before it was set to an absolute right position and was therefore displayed under the right block.
To change the width of your the spotlight position as you mentioned before, you just have to add to your layout
<block name="content-bottom" type="spotlight" specialwidth="30" special="left">new-pos,content-bot</block>
This will make the new module position (new-pos in my example) 30% wide and the rest goes to the content-bot position.
I hope everything was understandable.
Cheers
Frank
qessence Friendqessence
- Join date:
- January 2012
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 3 times in 1 posts
January 24, 2012 at 2:01 am #435114Hello Frank, Thanks for supporting.
I had tested the template since n6rej told me the info regarding the spotlight, and have found a walkaround by my self, let’s explain it hope you agreed with my method,
First, .ja-box.right already exists on the CSS, and have the absolute position, i’ve changed it to relative !important vía CSS and both colums are now side-by-side.
.ja-box-left didnt exist, so i created it on the CSS, and patched the witdh on .ja-box-left/right with an important mark on Width settings, using pixels, not percentages.
Didnt change anything on layout editor, except for this:<block name="content-bottom" type="spotlight" >content-bot,content-bot1</block>
Hope you agreed with me, if you believe this gonna cause some troubles, please, tell me.
Thanks again.
pixelzombie Friendpixelzombie
- Join date:
- August 2010
- Posts:
- 339
- Downloads:
- 2
- Uploads:
- 49
- Thanks:
- 32
- Thanked:
- 168 times in 107 posts
January 24, 2012 at 2:07 am #435115You can go that way too. I don’t see any problems applying a fixed width with pixel values. Does your site look good on other pages too? Then you’re good to go with that 🙂
I’m proud of your effort :-*
1 user says Thank You to pixelzombie for this useful post
qessence Friendqessence
- Join date:
- January 2012
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 3 times in 1 posts
January 24, 2012 at 9:51 am #435157Thanks pixelzombie =)
Well, since the webpage is not finished, i cannot be sure if this width setting will cause some troubles with the internal design of categories, but, well, lets “the future me” handle with that, i have good feelings with him.
Now i have a different issue, but i would like to take this opportunity to ask your support, i use the same post cause its strongly related with the initial feature requested.
Now that i have two columns, i need one more module position downside both, taking the 100% width of the initial content-bot module ( both actual columns).I’ve handled whit this editing the following:
/plugins/system/jat3/jat3/base-themes/default/page/template.php
Added:
<?php
//content-bottom2
if($this->hasBlock('content-bottom2')) :
$block = &$this->getBlockXML ('content-bottom2');
?>
<div id="ja-content-bottom" class="ja-content-bottom clearfix">
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?>
AFTER the endif of original content-bottom.Then, logged in into backend, went to layout editor and added this to template.xml:
<block name="content-bottom2">content-bot2</block>
Now i have, ( or seems that i have) a fully functional new module position under the two columns, taking the 100%percent of the original content-bottom and its style, but, n6rej me had told me to NEVER edit the code, so, im kinda scared. Anyway, i think there is no different way of doing this…
Any advice will be strongly appreciated.
Thanks you guys.AuthorPostsThis topic contains 19 replies, has 3 voices, and was last updated by qessence 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum