Mainbody does nor colapse

GK User
Thu Mar 31, 2011 10:52 am
Hi, I am trying to buil my homepage modules only. In template magager - edit style, I have Main Body - FrontPage - Componet only, but still when I publish modules in left and right position a gkContent occur. What should I do?
Beta test is here: http://solarian.ro/beta/ro/
thanks!
User avatar
Fresh Boarder

GK User
Sun Apr 03, 2011 5:21 pm
I see you've managed to solve your problem. How did you do that?

I've set mainbody only for the frontpage and added a module to mainbody position, but it does not show. Instead it shows articles, which shouldn't be visible.
User avatar
Senior Boarder

GK User
Sun Apr 03, 2011 7:55 pm
I used a non elegant solution: just delete line
Code: Select all
<?php $this->loadBlock('main'); ?>
in /templates/gk_coffe/layouts/default.php. Thus, I can't use anymore any position from left to right. Also, you may want to do a copy of /templates/gk_coffe/layouts/default.php, give it another name, one for homepage and other for your rest of pages, where you want articles and other module positions. In template manager you can easily asign thouse default.php where you needed.
But this solution is non elegant hack, the Main Body - FrontPage - Component only shoud be what it means.
User avatar
Fresh Boarder

GK User
Sun Apr 03, 2011 9:05 pm
Hi

Please don't remove "main" block.
This is no good at all. :huh:

If i understood when, you want only to display modules on frontpage, right?
If so, on template parameters you only need to disable "Show mainbody on frontpage" option.

Cheers ;)
User avatar
Platinum Boarder

GK User
Mon Apr 04, 2011 6:14 am
Where exactly is located this option? I can't see it
User avatar
Fresh Boarder

GK User
Mon Apr 04, 2011 6:57 am
Well, Mainbody only does what Component only shou;d do in my mind :) Setting Main Body - FrontPage option to Mainbody only articles disappears from frontpage, which what I want it
User avatar
Fresh Boarder

GK User
Mon Apr 04, 2011 7:06 am
We are talking about J1.6 version, not about J1.5 :)
When template is set to display mainbody only on the frontpage it also displays content. CAn you fix this?
User avatar
Senior Boarder

GK User
Mon Apr 04, 2011 7:28 am
yes, we are at j 1.6 coffe topic.
My template is now set to mainbody only for homepage, my Home menu is set to 0 intro, 0 article, 0 links etc so, aparently, so far, everythings looks ok, frontpage components like pools or system messages opens in mainbody, I can publish modules in mainbody position and I don't have any article output in my frontpage, which is ok. By content you understend articles or modules?
User avatar
Fresh Boarder

GK User
Tue Apr 05, 2011 5:30 pm
Maybe my problem is that I have three front pages: one for "All" languages, one for English and another one for Lithuanian - my native language. I guess that Gavick team still needs to implement this, as I guess it currently works only for the main default page - the one set for "All" languages. Any way to fix this easily? :)
User avatar
Senior Boarder

GK User
Fri Apr 08, 2011 8:13 pm
Bump. Any idea how to solve this?
User avatar
Senior Boarder

teitbite
Sat Apr 09, 2011 9:17 pm
Hi

Yes it works only for acctual frontpage and not for the frontpage view pages. If You want to have couple languages maby You should use JomFish and simply transplate the content to this languages. This way any frontpage lang will be visible on acctual frontpage.

You can also attache some css code to menu item and hide the part You do not need. You can do this in code or use a module which will add this code on certain pages.
User avatar
Moderator

GK User
Sun Apr 10, 2011 6:43 pm
teitbite wrote:Hi

Yes it works only for acctual frontpage and not for the frontpage view pages. If You want to have couple languages maby You should use JomFish and simply transplate the content to this languages. This way any frontpage lang will be visible on acctual frontpage.

You can also attache some css code to menu item and hide the part You do not need. You can do this in code or use a module which will add this code on certain pages.


It seems like we are talking about different things. Here a quote about the latest JoomFish release (2.1.6): "JoomFish 2.1.6 is not compatible with Joomla 1.6!". I don't understand why are you suggesting me to use JF if it is not available for J!1.6.

Isn't there a way to determine if a page is default, no matter to which language it set default?
User avatar
Senior Boarder

teitbite
Tue Apr 12, 2011 6:40 am
Hi

That's because I didn't noticed that it's about 1.6, sorry. I'm sending this question to our programmer.
User avatar
Moderator

GK User
Tue Apr 12, 2011 7:20 pm
Great. Awaiting for a solution. Thanks.
User avatar
Senior Boarder

GK User
Tue Apr 12, 2011 11:00 pm
Please send me your admin and ftp access to [email protected] with topic subject in header.
User avatar
Platinum Boarder

GK User
Mon Aug 29, 2011 12:25 pm
Same problem here with 2 languages and frontpage issue, but in Pixellove template
User avatar
Fresh Boarder


cron