Hi everyone
After a bit of research, I have concluded that there are two main approaches to creating mobile-enabled versions of existing Drupal sites:
* Using the mobile theme http://drupal.org/project/mobile and setting up some theme switcher / URL alias to redirect requests to 'clean' pages * Using the .mobi loader module http://drupal.org/project/mobi_loader + .mobi theme http://drupal.org/project/mobi combo, so all requests for the site.mobi domain are intercepted and get the 'clean' theme. However, I have found it quite buggy, so many requests for the mobile site are still getting the default theme, as reported here http://drupal.org/node/163541
Besides, none of these two themes pass the compatibility tests at http://mtld.mobi
How are you managing the mobile versions of your sites? Has anyone combined the above two approaches?
Thanks in advance for any comments and suggestions.
---------------------------------------------------------------------- Albert Cuesta http://www.canalpda.com
The document header in your page template can call up a different stylesheet for your mobile visitors. Something like
<style type="text/css" media="handheld">@import...</style>
Aside from your basic semantic structuring (and avoiding table-based layouts), there are css practices that can help. See http:// www.alistapart.com/articles/pocket/ for some tips.
One wrinkle in all this: My understanding is that Safari in the iPhone does not honor mobile stylesheets. Go figure.
Hope this is helpful.
Laura
On Sep 30, 2007, at 1:34 PM, Albert Cuesta wrote:
Hi everyone
After a bit of research, I have concluded that there are two main approaches to creating mobile-enabled versions of existing Drupal sites:
- Using the mobile theme http://drupal.org/project/mobile and
setting up some theme switcher / URL alias to redirect requests to 'clean' pages
- Using the .mobi loader module
http://drupal.org/project/mobi_loader + .mobi theme http://drupal.org/project/mobi combo, so all requests for the site.mobi domain are intercepted and get the 'clean' theme. However, I have found it quite buggy, so many requests for the mobile site are still getting the default theme, as reported here http://drupal.org/node/163541
Besides, none of these two themes pass the compatibility tests at http://mtld.mobi
How are you managing the mobile versions of your sites? Has anyone combined the above two approaches?
Thanks in advance for any comments and suggestions.
Albert Cuesta http://www.canalpda.com -- [ Drupal support list | http://lists.drupal.org/ ]
Laura,
You are right, the iPhone does not pay attention to mobile stylesheets. The only thing I have been able to do is switch stylesheets when "iPhone" is in the the useragent string.
Thanks, Mark
On Sep 30, 2007, at 3:45 PM, Laura Scott wrote:
The document header in your page template can call up a different stylesheet for your mobile visitors. Something like
<style type="text/css" media="handheld">@import...</style>
Aside from your basic semantic structuring (and avoiding table-based layouts), there are css practices that can help. See http:// www.alistapart.com/articles/pocket/ for some tips.
One wrinkle in all this: My understanding is that Safari in the iPhone does not honor mobile stylesheets. Go figure.
Hope this is helpful.
Laura
On Sep 30, 2007, at 1:34 PM, Albert Cuesta wrote:
Hi everyone
After a bit of research, I have concluded that there are two main approaches to creating mobile-enabled versions of existing Drupal sites:
- Using the mobile theme http://drupal.org/project/mobile and
setting up some theme switcher / URL alias to redirect requests to 'clean' pages
- Using the .mobi loader module
http://drupal.org/project/mobi_loader + .mobi theme http://drupal.org/project/mobi combo, so all requests for the site.mobi domain are intercepted and get the 'clean' theme. However, I have found it quite buggy, so many requests for the mobile site are still getting the default theme, as reported here http://drupal.org/node/163541
Besides, none of these two themes pass the compatibility tests at http://mtld.mobi
How are you managing the mobile versions of your sites? Has anyone combined the above two approaches?
Thanks in advance for any comments and suggestions.
Albert Cuesta http://www.canalpda.com -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi - I am not sure if this is the right place to ask but here goes...
I am looking to add a job board to my drupal site - I asked a developer to work on it but he has not provided any communication nor any product so now I need to find someone who can actually deliver. I want to create a simple job board that a visitor can post a job, pay for the job using paypal, and create a rss feed of the jobs. I have a few other requirements but that's the basics.
If you are interested, please contact me. I am not looking to offshore the work. Assuming this goes well I would hope we can work together on future drupal needs for CN.
Thanks, Allen CenterNetworks www.centernetworks.com
On Tuesday 02 October 2007 07:42:43 Allen Stern wrote:
Hi - I am not sure if this is the right place to ask but here goes...
I am looking to add a job board to my drupal site - I asked a developer to work on it but he has not provided any communication nor any product so now I need to find someone who can actually deliver. I want to create a simple job board that a visitor can post a job, pay for the job using paypal, and create a rss feed of the jobs. I have a few other requirements but that's the basics.
If you are interested, please contact me. I am not looking to offshore the work. Assuming this goes well I would hope we can work together on future drupal needs for CN.
Thanks, Allen CenterNetworks www.centernetworks.com
Does this not meet your needs? http://drupal.org/project/jobsearch
The correct place to post this would be on the forums: http://drupal.org/paid-services
Hi,
Can someone help me understand on the link below - how to move the "related links" above the "comment" section? http://www.centernetworks.com/facebook-a-developers-perspective
I don't know if these are considered blocks?
Thanks, Allen
On Sat, 06 Oct 2007 13:22:03 -0400 Allen Stern wrote:
Can someone help me understand on the link below - how to move the "related links" above the "comment" section?
Just edit your node.tpl.php. It's in your theme's folder.
I don't know if these are considered blocks?
In Drupal-talk they are not. Blocks are the /admin/build/block things ;)
On Sat, 6 Oct 2007 20:49:43 +0300 Yasen Pramatarov wrote:
On Sat, 06 Oct 2007 13:22:03 -0400 Allen Stern wrote:
Can someone help me understand on the link below - how to move the "related links" above the "comment" section?
Just edit your node.tpl.php. It's in your theme's folder.
I don't know if these are considered blocks?
In Drupal-talk they are not. Blocks are the /admin/build/block things ;)
Ah, sorry, I didn't see your site first. The "Related Links" area is really a block. So you can't move it with editing the node.tpl.php.
You can 1) move the blocks by changing their weight in administration section or 2) place the contents of a block anywhere by using module_invoke[0] and then printing the result.
[0] http://drupal.org/node/26502