-
AuthorPosts
-
wca2012 Friend
wca2012
- Join date:
- July 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
October 11, 2013 at 3:22 pm #191313Hej All,
I’m am wondering about the lay out for iphone (mobile and so on). Is it possible that for the pages, I include a specific module or article? So that only these modules or articles show and nothing else?
For example if I make a module like (contact-phone or aboutus-phone ,etc.) That when you visit the site on Mobile, you only see these pages and nothing more when you go through the menu?
I do not really understond on how to do this. Right now, when you go to the site and view it on mobile, all you see is like half of the images and not everything I want to is there.
My other question: Is it possible to change the lay out of the mobile version? (background and button colors?)
Looking forward to your reactions!
All the best!
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 13, 2013 at 11:46 am #508839Hi wca2012,
When you open the templatesja_bistroetclayoutsiphone.xml file, you can see that layout containing modules/sections of JA Bistro template displayed on iPhone view. You can edit that layout file to decide which module you want to display on iPhone.
Make sure you backup the file and refer our T3v2 framework’s mobile layout before editing.
In addition, you can put the overridden css styles of module on iPhone into templatesja_bistrocssiphonetemplate.css file. And clear JAT3 cache before applying changes.
You know, this request is related to customizing our T3v2 template layout which is restricted within limited customization support by us, JoomlArt support policies.By that reason, you will need to hadnle this task by yourself.
wca2012 Friendwca2012
- Join date:
- July 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
October 14, 2013 at 1:34 pm #508940Thanks for your reaction Leo,
I didn’t quite get this. Is there no option then to put modules that wont show in the website, only on the mobile version? For example if I would make :
– food dishes mobile (custom html module) that would only show under menu button Menyer
– activities mobile module (custom html module) that would only show under menu button Aktivities
– contact mobile (custom html module) that would only show under menu button contactetc.
Hope someone can help me with this.
I understand that my request is within limited customization support by you guys, but really hope I could get some help :-[
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 16, 2013 at 10:32 am #509158Hi wca2012,
We will need to use the overridden css styles to make some modules showing on mobile view only (iPhone), instead of desktop view.
But, it will be better that you can send me PM with your website’s url, I will help to check and give you the suitable overridden css styles to reach your request.
wca2012 Friendwca2012
- Join date:
- July 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
October 17, 2013 at 6:10 pm #509371Thank you so much! Did you receive my pm?
wca2012 Friendwca2012
- Join date:
- July 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
October 17, 2013 at 10:49 pm #509382http://www.matkultur.nu is the site
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 18, 2013 at 1:42 am #509387Hi wca2012,
I have seen your PM, just wait me for a while. I will back to reply soon.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 18, 2013 at 4:12 am #509407Hi wca2012,
You just simply open templatesja_bistroetclayoutsiphone.xml file, change line:
<block name=”content-top”>content-top</block>
to
<block name=”content-top”>mobile_position</block>
Then create the Custom HTML modules (i.e food dishes, activities …) at mobile_position position, then clear JAT3 cache then. By that way, those selected modules will appear on mobile only.
wca2012 Friendwca2012
- Join date:
- July 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
October 20, 2013 at 11:45 am #509582Thanks, that worked. Now the original articles are also showing because I’m linking the menu to specific articles.
The articles are only meant for DESKTOP view. Is there a way to hide the articles on mobile, so only the mobile_position module will show? Or do I somehow have to create a mobile menu and change the following line:<block name=”mainnav” type=”iphone/mainnav” class=”black”></block>
to
<block name=”mainnav” type=”menumobile” class=”black”></block>
? If this works, then I don’t know where the menu item shall link to, maybe an empty mobile article (all menu items the same empty article?)
Thanks Leo!
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 21, 2013 at 12:20 pm #509697Hi,
You can hide the articles (com_content) on iPhone by putting below codes into the end of templatesja_bistrocssiphonetemplate.css file:
#ja-content {
display: none;
}Remember to clear JAT3 cache then.
wca2012 Friendwca2012
- Join date:
- July 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
October 22, 2013 at 11:11 am #509847Hi!
I’ve done that, but now also the modules won’t show on any page?
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 23, 2013 at 4:07 am #509918Hi,
Sorry. The correct css styles are:
.com_content #ja-content-main {
display: none;
}you should put these into the end of templatesja_bistrocssiphonetemplate.css file. Clear both JAT3 cache and browser cache on iPhone.
1 user says Thank You to phong nam for this useful post
-
AuthorPosts
This topic contains 13 replies, has 2 voices, and was last updated by wca2012 11 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum