2 sites 1 database  Bottom

  • 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.
  • 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
  • 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!
  • The system knows what type of browser it's being accessed by via the HTTP-Headers.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • 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?
  • 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
  • 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

    --
    ttgapers.com - the latest from the caribbean
    Caribbean News
    Online Shopping from USA, Canada, UK, France, Germany
    On Facebook
  • 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
  • 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.

This list is based on users active over the last 60 minutes.