[SOLVED] Mobile Tab Layout

12 years 7 months ago - 12 years 7 months ago #175657 by clickmo
[SOLVED] Mobile Tab Layout was created by clickmo
Our website has different joomla layouts depending on what mobile browser is being used. This however does not help the profile which is all in the content area. Is there a way to create different tab positions if the website is being viewed from a mobile browser?

Please Log in to join the conversation.

12 years 7 months ago #175718 by krileon
Replied by krileon on topic Re: Mobile Tab Layout
New positions? No, but it's possible with a CB template to change the entire layout of the tabs. See default templates PHP file for a tab map as well as source to edit profile layout.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 7 months ago - 12 years 7 months ago #175724 by clickmo
Replied by clickmo on topic Re: Mobile Tab Layout
Sorry you loast me. Are you saying I need a different template for the website or that the community builder component has a template somewhere in it. I like the idea of changing the layout because that's what I have been doing. Simply swapping out desktop blocks with mobile blocks.

Ok found default and it's easy enough but where do I tell it to load default or say dark?

Please Log in to join the conversation.

12 years 7 months ago #175744 by krileon
Replied by krileon on topic Re: Mobile Tab Layout

Ok found default and it's easy enough but where do I tell it to load default or say dark?

You select what template is used from CB configuration on the user profile tab. All the other default templates user the default template PHP file and just load different CSS files.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 7 months ago #175751 by clickmo
Replied by clickmo on topic Re: Mobile Tab Layout
I mean programatically. I basically want to do a check for a mobile browser and override the default template so that it if formatted for the screen

Please Log in to join the conversation.

12 years 7 months ago #175760 by krileon
Replied by krileon on topic Re: Mobile Tab Layout
I suppose you'd do that directly inside the default.php file within the profile rendering function to dynamically change layout. You'd need some sort of PHP to check if the browser is mobile or not then just use an IF statement to load either/or layouts.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: clickmo

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.215 seconds

Facebook Twitter LinkedIn