Mobile skin?
#1
Posted 01 May 2012 - 09:41 AM
A fix for this would be really useful (or i'll have to roll my own I guess!).
P
#2
Posted 07 May 2012 - 07:05 PM
#3
Posted 07 May 2012 - 08:08 PM
Yes, something like this http://community.inv...te-mobile-skin/ for content would be ideal!
It's not really that simple, I'm afraid, since administrators set the page content and the database templates in the ACP.
Nevertheless, mobile support is something on our agenda.
Developer / Senior Support
If it sounds like fun, it's not allowed on the bus!

Invision Power Services, Inc.
#4
Posted 07 May 2012 - 11:26 PM
It's not really that simple, I'm afraid, since administrators set the page content and the database templates in the ACP.
Nevertheless, mobile support is something on our agenda.
I suppose... I just thought IP.Content could come with a default mobile skin as it does for a desktop version as such: Pages would probably need to adopt the default ipb wrapper (mobile version) as database templates probably should. But of course you and other staff would have more insight. I find the default ip.suite architecture well formatted regardless. A solution I had wondered in the past was for article, page, and database templates have a separate demo mobile template that could be tied to a global mobile wrapper (and "untied" if desired via coding). In regards to a pages, each page could have a "mobile" tab for the HTML to be inserted. Obviously a single column layout would be advised as a simple solution for small devices, phones, to large devices, tablets.
#5
Posted 08 May 2012 - 03:48 AM
P
#6
Posted 08 May 2012 - 09:19 AM
Developer / Senior Support
If it sounds like fun, it's not allowed on the bus!

Invision Power Services, Inc.
#8
Posted 09 May 2012 - 03:24 AM
#9
Posted 09 May 2012 - 06:05 AM
The problem is with the page content and not the skin or the app.
While I agree more could be done with the default templates, I just make a copy of them and make a few edits so it works nicely. Like only showing the sidebar and blocks if it not the mobile skin using code similar to above.
(tng34) Custom Profile Field Dropdown 1.3.0
#10
Posted 09 May 2012 - 10:43 AM
I have mobile support working great with IP.Content.
The problem is with the page content and not the skin or the app.
While I agree more could be done with the default templates, I just make a copy of them and make a few edits so it works nicely. Like only showing the sidebar and blocks if it not the mobile skin using code similar to above.
Isn't the solution to have a different page content for mobile versions?
#12
Posted 10 May 2012 - 03:30 AM
Isn't the solution to have a different page content for mobile versions?
Yeah, thats what I meant, I use conditionals on the page content mainly, and then a few conditional tweaks to the article templates so they show correctly.
(tng34) Custom Profile Field Dropdown 1.3.0
#13
Posted 10 May 2012 - 09:00 AM
#14
Posted 10 May 2012 - 12:29 PM
if ( $this->registry->output->skin['set_key'] == 'mobile' ) {
echo '{parse articles}';
} else {
echo '
<div class="ipsLayout ipsLayout_withright ipsLayout_largeright clearfix">
<div class="ipsLayout_right">
{parse block="latest_posts"}
...
... // More blocks here
...
</div>
<div class="ipsLayout_content">
{parse articles}
</div>
</div>';
}Then in the article/database/page/block templates, I use the following to control whether certain parts get shown:
<if test="$this->registry->output->skin['set_key'] == 'mobile'">...Stuff Here to only Show on Mobile...</if> <if test="$this->registry->output->skin['set_key'] != 'mobile'">...Stuff Here to NOT Show on Mobile...</if>
(tng34) Custom Profile Field Dropdown 1.3.0
#15
Posted 12 October 2012 - 09:48 AM
This really seems old fashioned. Why not just make the entire default template responsive?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













