I'm more than happy to do the example css file and write the help file as
well.

On Mon, Feb 2, 2009 at 11:05 PM, Christian Mohn (h0bbel)
<[email protected]>wrote:

>  Writing up such an example on the wiki would be very useful for all of
> us.
>
>
>
> Chrisian
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Arthus Erea
> *Sent:* 3. februar 2009 00:00
> *To:* [email protected]
> *Subject:* [habari-dev] Re: Mobile Page Implementation
>
>
>
> Just a reminder...
>
>
>
> Owen has kindly created a helper method which makes it much easier for
> plugins to add new RewriteRules. New plugins, unless they need more
> complicated rules, should probably use this new helper, which is described
> in the commit: http://trac.habariproject.org/habari/changeset/3066
>
>
>
> I'd be happy to write up an example using this new method, if you want. It
> basically involves adding a new rule, then calling the theme from that rule.
>
>
>
> On another note, it'd be nice if your plugin included a default mobile.php,
> including appropriate CSS. Themes can override this, but a default look for
> unsupported mobile themes would be nice.
>
>
>
> On Feb 2, 2009, at 5:52 PM, Chris J. Davis wrote:
>
>
>
>  Yeah, I can hack an example up for you later tonight.
>
>
>
> On Feb 2, 2009, at 4:51 PM, Khaled Abou Alfa wrote:
>
>
>
>  Gotta be honest with you Chris, wouldn't know where to begin. Could you
> point me to the lines in the plugin that might help me out here?
>
> On Mon, Feb 2, 2009 at 10:31 PM, Chris J. Davis <[email protected]>
> wrote:
>
> I would just make a plugin for this. You can already point the output of a
> method to a given URL, ala the lifestream plugin:
>
>
>
> http://www.chrisjdavis.org/lifestream
>
>
>
> Create your mobile.php file and use the theme system to load it when the
> url /mobile is called.
>
>
>
>
>
> On Feb 2, 2009, at 4:29 PM, Khaled Abou Alfa wrote:
>
>
>
>  Hey all,
>
>
>
> Just trying to implement a version for mobile viewing, which kind of got me
> thinking as to what the best implementation of this would be. In my ideal
> world (it's a crazy place) I would basically have a mobile.php file (which I
> would style accordingly). This file would then function as showing the same
> things shown in home.php but would be redirected under mysite.com/mobile/;
> so obviously there might have to be some work done on url.php?
>
>
>
> Sooo any ideas how to go about doing this?
>
>
>
> Thanks duders.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to