Mobile layouts and one of the initiatives for Drupal 8.

learn more… | top users | synonyms

2
votes
1answer
72 views

Omega theme, global css and the lack of grid at global.css

It seems that I misunderstood one major feature of the Omega theme. From what I see, the mobile-first basic css file - global.css - ignores the grid layout altogether and stacks elements one over ...
0
votes
1answer
34 views

Any way to add a Theme-based contextual filter to a view?

Essentially, I want Drupal to only use the view if the proper theme is active. This will apply to a mobile theme to be more specific. If desktop, use this view, else -- use this one. Is this ...
0
votes
0answers
22 views

Mobile nav to standard navigation loses functionality on screen orientation change

I am looking for the easiest solution to this problem: I have a javascript-enabled mobile menu for small mobile devices. I just found that when using Chrome on a Nexus mini tablet, it renders as ...
0
votes
1answer
41 views

Simple Mobile Redirect only redirects on first visit [closed]

I have installed Simple Mobile Redirect, enabled it, and added the redirection settings from admin side. I have also added the permissions. When my site is viewed from a mobile device, it redirected ...
1
vote
2answers
87 views

Use a different template file if use is on a mobile device

I currently am using page-front.tpl.php to display my Blog content type in a View. I want to use a different template if the user is on a mobile device, and have them either redirected to the mobile ...
0
votes
0answers
48 views

drupal multi-site primary domain content migrate to subdomain site

currently we have a single-domain site in production, for the purpose to develop a mobile site, i plan to do the multi-site set up so i add the extra folder under sites/m.myhostdomain.com, and have ...
0
votes
0answers
18 views

Shipping address not working in iphone [duplicate]

I am using drupal 7 and it is based on the shopping cart using the ubercart module. We paste the script getting from dudamobile site for working with iphone. In normal system browser the shipping ...
1
vote
1answer
93 views

Menus and mobile sites

We're using a theme based off Adaptive Theme, but even dropping columns below the main content still has undesired rendering outcome. When region-sidebar-first drops below content-inner there is a ...
2
votes
1answer
104 views

Is it possible to run a Drupal 7 site without jQuery? [duplicate]

Possible Duplicate: Remove jQuery and find out what is asking it to be included I'm building a simple site that is focussed on performance and must run well on mobile and other low-power ...
3
votes
2answers
237 views

iPhone uploded images rotated?

Has anyone else run into the issue with images uploaded from mobile safari from an iPhone are oddly rotated before they are published? I'm running into this issue and can't figure out how to fix it.
0
votes
1answer
32 views

Theme specific login redirection?

Anyone know of a way within the theme to redirect to a different url after login? Theme #1: Eg. User goes to www.examplesite.com logs in and is taken to www.examplesite.com/front Theme #2: Eg. User ...
1
vote
1answer
177 views

Mobile_Detect.php and Drupal

How might I make use of this Mobile Detect php class in a D7 site? Rather new to this so I'm really not sure where this can be implemented.
0
votes
0answers
91 views

using facebook oauth with Rest Server

I'm building an Android app that communicates with Drupal Services 3 through Rest Server module. On Drupal side, I'm using Facebook oAuth module for authentication. so I want to let the app users ...
1
vote
1answer
90 views

Browscap doesn't seem to hide blocks on google chrome for android

I have a website where I write some web development articles in it, in the blog page, I have set a slideshow with Views because the most of the slideshow modules are useless (it's my personal opinion, ...
0
votes
2answers
49 views

Filter Views results by users mobile OS

I'm building a mobile website with Drupal 7 and I need to filter articles displayed using Views by visitors mobile OS. If visitor is using Android phone - I would like display only articles with ...
1
vote
0answers
28 views

Mobile theme showing on PC in Drupal

We have a website in Drupal 6 with JD_Purity theme of JoomlaArt. It was working fine since but today suddenly it started showing the mobile theme for the home page with a link 'Desktop Version' on the ...
2
votes
2answers
496 views

Switch to Drupal Mobile Theme Programatically

I found the following code on http://detectmobilebrowsers.com/ and would like to use it to programatically switch from my default theme to a mobile theme that I will also have active. <?php ...
1
vote
1answer
133 views

DrupalGap response is HTML instead of JSON

I want to build a restful service to communicate with my Android app. System: Drupal Commons with Drupal 6 Module for restful service: DrupalGap Test tool: Poster plugin for Firefox I do ...
0
votes
0answers
109 views

Images do not show up on iOS but do show up on desktop

I am using an Omega subtheme and the Adaptive Image module to build a responsive website. I developed it locally and then migrated it to hosting. It looks and works fine on desktop versions of Chrome, ...
1
vote
1answer
196 views

Mobile Redirect

So I need to set up mobile redirect for a Drupal 7 site I've been working on, but there are some conditions and I can't quite decide what the best route would be. Basically, if the user is browsing ...
3
votes
2answers
292 views

How to detect a mobile browser using PHP in content?

I am a new Drupal 7 developer with some understanding of "stuff" but clearly not enough in this case! Using Drupal 7.14 with the PHP filter on I have the following in a Basic Page content type: ...
1
vote
3answers
769 views

how to connect android app to drupal database?

I have a Drupal Site with content. I now want to make an Android App. Obviously, I would like Android App to access my Drupal site database - has anyone tried this? From what I have read (from ...
2
votes
1answer
123 views

How to set type=“email” attribute on a Drupal form textfield

I'm doing some mobile forms with Drupal and have an email address textfield that currently has type="text" in the resulting HTML. I'd like this to be type="email" instead so that iOS shows a more ...
1
vote
1answer
77 views

Omega theme showing 404 on iPhone

I have a site on my local server which is served by apache using virtual hosts. I am using an omega sub-theme. On the desktop everything works fine. I try to browse to the site via the iPhone by ...
2
votes
1answer
271 views

Getting views data as a REST service

I need a way to get the output of a view as a REST service in JSON format. I read about the RestfulWS and the Services modules, but I didn't find enough documentation. Are these straight forward, or ...
1
vote
2answers
125 views

Is there any module for picking photos for image field on mobile platforms like iphone

I think this is probably impossible but I wondered if there was any way to provide image upload or equivalent for mobile platforms for drupal.
0
votes
1answer
341 views

Switch theme based on screen size

I need to switch my theme based on the users screen size instead of their user agent. Currently I'm using the Browscap & Mobile Switch modules and they work perfectly. My problem is that for ...
1
vote
0answers
183 views

How to change the View Mode based on theme?

I am using the ThemeKey module to change the theme for mobile users. I have a custom View Mode called Mobile to display different content. I would like to have when my mobile theme is loaded for the ...
0
votes
1answer
194 views

Drupal shows mobile theme on desktop

I have drupal 6 with mobile-tools module and idrupal theme for iphones. sometimes my website starts displaying mobile theme (idrupal) for desktop, and the only way to return back to normal theme for ...
1
vote
2answers
90 views

How can I show a single block only if the user is on iOS?

I have a Picture content type that allows users to upload picture files, something that iOS does not support. Since Apple in 2012 can't support something my first computer running Netscape Navigator ...
1
vote
3answers
1k views

Omega Theme: how to change the stacking order of each region for each layout?

I´m starting my first theme with Omega. I´ve read the documentation, and managed to understand how it works. My problem here is that I don´t know how to stack regions in different order for each ...
0
votes
1answer
96 views

Mobile website translation problem (losing language prefix)

I have site translations that works with language prefix m.mysite.com/ - default language (lithuanian) m.mysite.com/en - english ... If i translate site to foreign language and pushed menu button ...
2
votes
1answer
758 views

Drupal 7 and jQuery Mobile in a Custom Theme

I have built a Drupal 7 website that contains a mobile theme. What I want to do is run the newest version of Jquery Mobile - http://jquerymobile.com/ which requires Jquery 1.7.1. Drupal by default is ...
1
vote
1answer
83 views

Allow users to choose which layout to be applied

Is there any way to allow users to choose which layout to be applied (Omit the given media queries) for the Omega theme? For example, ESPN has a switcher for choosing the layout: When browsing in ...
1
vote
1answer
98 views

Is it possible to have a specific page.tpl.php for mobile devices?

Background is, that the "desktop-version" of the website will have some external advertisements added via javascript-tags. Due to the nature of these adverts, they don't scale down with the rest of ...
2
votes
2answers
409 views

Unexpected session reset when making authenticated user REST requests using Services module in Drupal 7

I am using Drupal 7 and Services module To create endpoints for login and subsequent functionality exposed for logged in users As noted here and here, the ideal workflow should be -- Make a POST ...
0
votes
1answer
58 views

Tera Wurfl for Drupal 7

Has anybody added or know how to add tera wurfl to their drupal 7 site? I have tried to implement it on my test site with no success. For those of you who don't know, it is a mobile detection program. ...
1
vote
2answers
789 views

How to use Simple mobile redirect module

I am in a fix and not sure how to use the simple mobile redirect module. I am using Drupal 7 site which has a separate domain for its mobile version. I would like to redirect the user(accessing from ...
1
vote
2answers
552 views

How to redirect a user to mobile site?

I have created a Drupal 7 site with all required functions. As per the requirement I have to create a mobile theme for this site, which I did effectively. Now problem is I need to redirect the user to ...
2
votes
1answer
422 views

Getting the number pad to show up for text fields

I would like to make entering data easier for my users who use the mobile version of my site. I've been searching around both Android and Drupal documentation and eventually found this: ...
1
vote
1answer
238 views

the question of enable “mobile switch” [closed]

I install the module of "mobile switch" and enable it. But I just only enable this module and set a mobile theme, the error message is showed: Notice: Undefined index: ismobiledevice in ...
3
votes
2answers
5k views

How do I maintain aspect ratio of scaled image with max-width?

When I use an Image Style that scales the original image, Drupal 7 (now 7.14) prints the height and width attributes in the img tag whereas before it didn't. So before, my CSS img {max-width: 100%;} ...
2
votes
2answers
207 views

Disable modules when browsing mobile site

I have a site that also serves its content to mobile devices. As these sites(desktop/mobile) uses same code. I have a problem in performance since the modules being used in desktop site is also loaded ...
1
vote
1answer
243 views

Drupal as mobile application backend

What I try to achieve is create a simple Form where I will be able to add new content (like "Question" objects for instance) and access the information through Services 3.x. My problem is that I am ...
3
votes
2answers
98 views

Choose theme depending on the USER_AGENT

How do I use the mobile theme if the $_SERVER['HTTP_USER_AGENT'] is mobile, and use the desktop theme if it is desktop?
1
vote
1answer
670 views

How does Browscap work? [closed]

How does Browscap work? Every Browser seems to be a crawler. I think that is a bug. How can I fix that? I'll used this tutorial and get this execption on the mobile url: PDOException: ...
2
votes
4answers
632 views

Display a Block for mobile only without creating new theme

I'm trying to display a main navigation menu block but ONLY for the site when it's viewed on a mobile. I need to do this without creating a new theme to do so though so it all works on 1 theme only. ...
0
votes
1answer
116 views

Developing a mobile website

I am using mobile tools module. It asks for path of mobile website. Does it mean that i need to develop mobile based pages again? i.e one for mobile and another for desktop ?
1
vote
2answers
129 views

Use mobile phone number as account ID so users dont have to register?

Im making a mobile first site. Is there a way of using a user's mobile phone number so they dont have to register for an account? Or, if a user creates an account the normal way on a desktop and ...
2
votes
1answer
405 views

How to set a form field sizes based upon the screen size responsively?

I'm building a mobile-first module in D7. I want to set the size attribute of a form (textfield, textarea) depending upon the screen size (i.e., using css media query). Is this possible?

1 2