-
AuthorPosts
-
azilanur Friend
azilanur
- Join date:
- November 2006
- Posts:
- 54
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 14
- Thanked:
- 2 times in 1 posts
January 16, 2012 at 1:08 pm #172845Hi,
I want to ask how to disable content-main or content bottom module at home menu because I don’t want the blank box appear like that, please refer attachment template blank box with red highlighted.
And how to disable top module at home menu, please refer attachment template blank box with blue highlighted.
Thank you.
Notes: For your info, i want to make the first homepage fit to screen, thats why i need to take out unnecessary module only at first home menu.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
azilanur Friendazilanur
- Join date:
- November 2006
- Posts:
- 54
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 14
- Thanked:
- 2 times in 1 posts
January 17, 2012 at 12:46 am #434064Ok. but why it hides mainbody for every page, i just want to hide for home page only?
I can see that you give guide for create a template override for this particular “home page only” display – where you will delete the main content block from the override layout only. It’s too technical for me, can you help me?
Thank you.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
January 17, 2012 at 6:07 am #434099Hi
Let me know how i can help you more
If you want that i make this override for you you must give me via Private Message your Super User access to your backend
azilanur Friendazilanur
- Join date:
- November 2006
- Posts:
- 54
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 14
- Thanked:
- 2 times in 1 posts
January 17, 2012 at 2:42 pm #434145Hi,
I already private message to you to access back end. Pls check.Thank you.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
January 17, 2012 at 4:36 pm #434149Hi
I have created a new layout “nomain” and a new profile “nomain” at this profile i have assigned the nomain layout with Hide main content on YES and without the navhelper block and have assigned this profile to the Item Home in Page assignments
Could you check now ?
Thanks
azilanur Friendazilanur
- Join date:
- November 2006
- Posts:
- 54
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 14
- Thanked:
- 2 times in 1 posts
January 17, 2012 at 5:13 pm #434153Hi,
I can see there is a new profile that you already assigned the nomain layout with Hide main content on YES and without the navhelper block from Template Manager-> Profiles-> NomainThen regarding you have assigned this profile to the Item Home in Page assignments, is it at Menu Manager-> Main Menu-> Home Item -> Page Display Options-> Page Class-> -nomain
But the content of other page still not appear, is it i need to do some setting thats not very technical?
Thank you.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
January 17, 2012 at 8:13 pm #434166Hi
I think something was modified on your site i can see positions out of the template or not completely visible
Wich type of changes have you done at your website ?
Because all your configuration in template manager is correct Layouts and profile are correct
azilanur Friendazilanur
- Join date:
- November 2006
- Posts:
- 54
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 14
- Thanked:
- 2 times in 1 posts
January 17, 2012 at 11:34 pm #434174Hi,
1).For your info, before this, I follow step by step instruction link thread Ja_Blazes that you provide for me, such as
– Template Manager-> Profiles (Blue)-> Hide Main Content Block-> Yes
– Menu Manager-> Main Menu-> Home-> Page Display Option-> Page Class> -nomain
– Open template css, copy paste following code:
#ja-mainbody {
display: none;
padding-top: 20px;
}.body-nomain #ja-container {display: none;}
2).Other than that, i edit color, font and background at ja_kranos/css/template.css, ja_kranos/css/menu/dropline and unpublish unnecessary module, now i re-publish all the module.
Can you help me to solve this, thank you.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
January 18, 2012 at 6:31 am #434246If you read with attention the thread you will notice that only one of the code suggested must be inserted in the template.css
.body-nomain #ja-container {display: none;}
if you add the code
#ja-mainbody {
display: none;
padding-top: 20px;
}All the mainbody template will be hidden
I have corrected this error in your template.css now all the template is correctly showed
Regards
1 user says Thank You to pavit for this useful post
azilanur Friendazilanur
- Join date:
- November 2006
- Posts:
- 54
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 14
- Thanked:
- 2 times in 1 posts
January 19, 2012 at 5:12 am #434400Hi,
Yes the mainbody not hidden anymore at my testing server.
I just want to double check with you regarding the profiles, so you have set the default profiles is Nomain profiles isn’t it?
Because at localhost, I try to setting by delete code : #ja-mainbody {display: none;padding-top: 20px;} in my template.css but mainboyd still hidden on other page, otherwise I need to copy the whole setting from server to localhost.Thank you.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
January 19, 2012 at 7:17 am #434431<blockquote>so you have set the default profiles is Nomain profiles isn’t it? </blockquote>
Not exactly
1) I have created a new layout without the navhelper block and named it nomain
2) I have created a new profile with Hide Main content to yes and as layout nomain and called this new profile nomain
3) I have assigned this new profile to the Home item in your main menu through the Page Assignments feature ( Down left )
In this way only the Home has the Hide main block and not the entire site that have the default profile assigned to all other pages.
Regards
1 user says Thank You to pavit for this useful post
azilanur Friendazilanur
- Join date:
- November 2006
- Posts:
- 54
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 14
- Thanked:
- 2 times in 1 posts
January 19, 2012 at 1:21 pm #434488Hi,
After I change hide mainbody content to NO, its ok already at my localhost. If the localhost ok, later I will replace my localhost to my testing server. Thank you.
AuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 13 replies, has 2 voices, and was last updated by azilanur 12 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to disable content-main or content bottom module at home menu
Viewing 13 posts - 1 through 13 (of 13 total)