News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

mobile theme

Started by KahneFan, March 18, 2009, 03:23:26 PM

Previous topic - Next topic

KahneFan

Link to the theme


This is an extremely lite theme of the (main) pages for those who visit your site a lot while mobile. Weather on a cell phone, pda, or...

MOBILE DEMO Note: After clicking the link, click "forum" to get past the portal page and see the normal forum pages.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Marcus Forsberg


KahneFan

Pretty basic, but that's what it's for :D

Now I just need to figure out how to make it recognize when I dial in with Opera Mini.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Antechinus

You should be able to add another browser sniffer to the <head>, like the ones that are already there, but I don't think SMF has the appropriate setting to call by default. You'd need to make a custom $context to pick up Opera Mini.

This is one for IE7, as an example:

// for ie7!
if($context['browser']['is_ie7'])
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/ie7.css?fin11" />';


I suggest asking for help in the Coding Discussion board.

KahneFan

Will do, thanks. I've also wondered if a member could have 2 profiles, but have all credit given to 1(?).
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Antechinus

I think that would be a fairly serious mod. I can see it involving some heavy duty alterations and frankly am not sure it would be worth it.

KahneFan

Well, there's already the feature to assign posts from 1 member to another. What would it take to state ALWAYS credit posts from member X to member Y?
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

BAlGaInTl

Any chance of a 1.1.x vesion?

I could really use a mobile theme, but I don't want to use SMF 2.0 until it is final.

KahneFan

I have not themed for 1.1.x and don't have plans to at this time. Sorry.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Advertisement: