Not 100% sure this is the way to go but I'd alias the original page
(change your non-mobile version to a new name) then replace the page
tag with one that conditionally calls the appropriate tag.  The one
thing I'm not sure of is whether or not that approach will be able to
handle merging to both tags.

Other option would be to conditionally remove the non-mobile content
based off a variable set to mime type.

Then again, I'm not a dryml engine expert so there may be another
better approach still.

On Feb 15, 8:38 am, Mikkel WF <[email protected]> wrote:
> Hi..
>
> Is it possible to override the default page-tag definition with
> another one based on the mime type?
>
> I'm trying out how to implement jqTouch into my hobo, and would
> therefore like to have an alternative page-tage rendered whenever i
> load the page from a mobile device.
>
> I'v got the mime-type selection under control (Thanks to 
> RyanBhttp://railscasts.com/episodes/199-mobile-devices), so i only need to
> render an alternative page tag.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
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/hobousers?hl=en.

Reply via email to