I am looking into different angles for handling building an interface for mobile devices to access my zikula website. There are only certain features from my module I plan to rewrite for mobile access, but I was wondering if I could have two sites that were actually looking at the same database?
What things do I need to be concerned about? And is this even feasible?
Any ideas appreciated.
- mercromina responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 08:01 PM
- craigh responded to »TagIt 3.0 for Zikula« 03:58 PM
- localrags responded to »Remove contents of nuke_sc_anticracker from Database« 11:30 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
2 sites 1 database
-
- Rank: Softmore
- Registered: Nov 30, 2005
- Last visit: May 07, 2010
- Posts: 104
-
- Rank: Team Member
- Registered: Jan 19, 2003
- Posts: 432
How about doing a special theme for the mobile version? Or even more simple, a special CSS with media="handheld"?
You may also take a look at the wurfl project which is providing a xml file with the technical capabilities (like accepted image formats, max. resolution, screen sizes, etc.) of many mobile clients.
--
Guite | ModuleStudio -
- Rank: Softmore
- Registered: Nov 30, 2005
- Last visit: May 07, 2010
- Posts: 104
I guess I don't understand how the system knows you are on a mobile and then uses that theme. Can you help me understand how that works? or is it just a matter of looking at the project you refer to.
I am currently looking at Googles IUI, but I guess I haven't gotten far enough to understand how it works.
Any insight would be helpful!! Thanks! -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6840
The system knows what type of browser it's being accessed by via the HTTP-Headers.
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Softmore
- Registered: Nov 30, 2005
- Last visit: May 07, 2010
- Posts: 104
Well, all the documentation I have read about setting up website for mobile devices highly recommend a subdomain for the mobile site which is a honed down version of the real site. So back to my first question: What would be the best way to share my Zikula site across subdomains?
I thought there was a multi-site feature in Postnuke? Was that abandoned in Zikula? -
- Rank: Developer
- Registered: May 17, 2004
- Last visit: Apr 08, 2010
- Posts: 386
you can have two site on one database (with different prefix), but for the moment you can't share table between the two zikula instance
edited by: mumuri, datetimebrief -
- Rank: Softmore
- Registered: Dec 23, 2003
- Last visit: May 05, 2010
- Posts: 351
Do we know if there are any plans for this (mobile browser detection)?
Reason I ask is:
1. Popularity of mobile browsers today
2. Adsense (monetization) for mobile sites uses different code
3. Time to load
What are the developers thoughts on this?
supa
--
Caribbean News
Online Shopping from USA, Canada, UK, France, Germany
On Facebook -
- Rank: Software Foundation
- Registered: Jul 21, 2001
- Last visit: May 31, 2010
- Posts: 604
It's something I have thought about for years but never got around to it. It's a trivial matter to do actually. Maybe you should make a feature request in the tracker.
Drak
--
Zikula Lead Developer
Board Member of the Zikula Foundation
Follow me on twitter.com/zikuladrak -
- Rank: Team Member
- Registered: Mar 15, 2004
- Last visit: May 26, 2010
- Posts: 110
You should also refer to this PHP function:
get_browser — Tells what the user's browser is capable of
http://php.net/manual/en/function.get-browser.php
Note: In order for this to work, your browscap configuration setting in php.ini must point to the correct location of the browscap.ini file on your system.
browscap.ini is not bundled with PHP, but you may find an up-to-date » php_browscap.ini file here - http://browsers.garykeith.com/downloads.asp.
While browscap.ini contains information on many browsers, it relies on user updates to keep the database current. The format of the file is fairly self-explanatory.
- Moderated by:
- Support
