Customizing SMF > Modifications and Packages

TinyPortal - v1.0 - update Apr. 1, 2012

<< < (368/419) > >>

AMWebby:
I'm currently running SMF 1.1.16 but considering upgrading to SMF2 and ditching my current CMS (Joomla) in favour of something like Tiny Portal.

One requirement I have is to develop a mobile version of the portal and forum. I currently use the wap2 version of SMF wrapped in a mobile theme for Joomla, which you can see here, http://m.amoc.org/forum

I'd like to achieve the same thing with Tiny Portal and SMF 2, has anyone successfully adapted Curve or smf4iphone to actually work with Tiny Portal, rather than disabling the Tiny Portal blocks?

IchBin™:
I don't really see how you could put blocks in a mobile theme. That really defeats the purpose of keeping a mobile theme compact so that it will display on all the different size screens on mobile devices.

Haven't seen anyone do anything like what you are suggesting. sorry.

AMWebby:

--- Quote from: IchBin™ on April 29, 2012, 12:48:24 PM ---I don't really see how you could put blocks in a mobile theme. That really defeats the purpose of keeping a mobile theme compact so that it will display on all the different size screens on mobile devices.

Haven't seen anyone do anything like what you are suggesting. sorry.


--- End quote ---

You can do it by using HTML5, CSS3 and media queries to resize the contents and rearrange the blocks dependant on screen width.

I've done it with the current AMOC site, as you can see if you follow the link.

Looks like I'll have to bake my own.

bloc:
Since TP use a table for its layout, using css to change the sidebars into "bottom-bars" will be difficult, unless you rewrite the TP template for panels. If its CSS based however, that would work.

But also much of the TP block size code and in part also the block content itself, would need to be less rigid, so it fits within a liquid layout.

Due to that I opted a long time ago to just turn off the blocks in TP, for mobile devices. But theres no reason why they can't be added still - just needs more work on aforementioned areas.

AMWebby:
I have got some css code that turns tables into display blocks using media queries but it does sound as if I could re-engineer the tiny portal blocks. I'll set up a sandpit next week and have a play around.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version