Tagged Questions

Mobile layouts and one of the initiatives for Drupal 8.

learn more… | top users | synonyms

-4
votes
0answers
12 views

jplayer in the mobile chrome [on hold]

I can't use soundmanager2 in samsung's chrome. In the mobile,have this problem. And I also use jplayer,is this have problem? How can I do ?
0
votes
0answers
28 views

Page auto scrolls to bottom on mobile

I've created a custom content type in D7. When I view my page on a mobile phone, the page always opens to the bottom of the page. My Basic Pages open at the top of the page. When I view my custom ...
0
votes
0answers
10 views

Browscap and Mobile Theme

Using the 2 together has really worked. However, the fields that are updated on a desktop are taking on the same affect of my mobile version. I also have the elements module. I want to the fields to ...
0
votes
2answers
40 views

Drupal Mobile Switch

Trying to switch a theme for the use of mobile devices in drupal. I am trying Mobile Switch to no avail at the moment. I have the mobile detect code on the site but need to know how to add a specific ...
0
votes
1answer
28 views

JQuery Mobile.js for drupal 7

I'm attempting to add the functionality of jQuery's Mobile.js to allow for the vclick event. I already have a website in place. What would be the easiest way to add this functionality for an admin ...
0
votes
1answer
38 views

How to set the front page with Mobile Switch

I am using Mobile Switch to switch to my mobile theme when viewed on a mobile device. However, I don't see any way of setting redirect to a custom front page. How can I do this?
0
votes
0answers
17 views

“No front page content has been created yet” only on mobile/tablet

I have the message " No front page content has been created yet" only on mobile/tablet. Any ideas to solve this problem.
0
votes
1answer
72 views

Zen 5: How to get navigation menu on top with narrow viewport?

I'm running Drupal 7.28 with Zen 7.x-5.5. In the default setup, there is a region on the right side named "First sidebar" which contains a block named "Navigation". I have put my navigation links ...
0
votes
1answer
57 views

Mobile navigation works on desktop resize but not on mobile devices

I'm using the mobile navigation module for a responsive menu, and it works perfect if I resize the browser window on my desktop, but it won't work on actual mobile devices (tested on iPhone and Galaxy ...
0
votes
1answer
81 views

How to update Geofield using a custom form and DrupalGap's node_save?

The code below successfully updates the title, but does not update the Geofield. The node_save function is provide by DrupalGap and described here http://api.drupalgap.org/node.js_.html var ...
0
votes
0answers
88 views

Switching to mobile theme while cache is enabled

I have a Drupal7 website using a modified Zen subtheme that looks ugly on mobile devices and i want some kind of utility to create a separate mobile theme . I tried to use differents modules like ...
1
vote
1answer
42 views

DrupalGap BarcodeScanner Integration

Does anybody have experience integrating external libraries with Drupalgap (in particular the BarcodeScanner)? I've been able to get BarcodeScanner working with Phonegap relatively easily but ...
0
votes
0answers
69 views

How to override or change a view block/region based on my frontpage template?

I have 2 different frontpages templates based on user´s device so I have: - mytheme/page--front.tpl.php - mytheme/page--frontmob.tpl.php and I have 2 different view blocks (even they are located in ...
0
votes
2answers
131 views

Is it possible to have different frontpage page--front.tpl.php based on user´s device (mobile/desktop)?

Hei, I am using the Dectect_Mobile module in order to detect whether the user is coming from a mobile/tablet device or not. I would not like to use other modules as Mobile switch or Mobile tools ...
1
vote
1answer
139 views

Can DrupalGap consume Views as HTML?

Is it necessary to write all the mobile app's own html files for displaying Drupal configured Blocks / Pages / Views? I was hoping I could just rebuild my primary Navigation menus using the DrupalGap ...
0
votes
1answer
46 views

How to map user/password to a mobile theme?

I'm working on a mobile version of a forgot password page, the problem I have is the mobile theme is triggered when users are on a page with a URL like: example.com/m/about Here, about would be a ...
0
votes
0answers
35 views

Edit profile page redirect to desktop theme

I have two themes in my Drupal website, one for desktop resolution and second one for mobile(iPhone) resolution. When I browse website on mobile, all pages working fine except edit profile page. ...
0
votes
2answers
64 views

Mobile switch more than is mobile is not mobile

D7 I am using mobile switch with panels to display different views for different devices, but the only options I see are is mobile or is not mobile. On bigger devices like tablets I would like to ...
0
votes
1answer
100 views

Anonymous users randomly get 404 errors on front page

I have a drupal 6 site that will occasionally serve up a 404 error to anonymous users on the home page only. It happens 2 or 3 times a day and I cannot figure out what is causing it. I can clear it ...
1
vote
1answer
248 views

Mobile_detect php redirecting to subdomain - Stuck in a redirect loop!

I am using the following code in a module for redirection to a subdomain whenever a mobile is detected; <?php function mobydetect_init() { include("PATH/TO/Mobile_Detect.php"); $detect = ...
1
vote
2answers
132 views

Problem with mobile_theme theme switcher module

I've tried using mobile_theme to switch to a selected mobile theme when a mobile visitor browses. But using online mobile emulators: mobilephoneemulator.com and transmog.net I found that half of pages ...
0
votes
2answers
435 views

Redirect to a custom page in hook_init()

I need to redirect users to a custom page using hook_init(). I have tried drupal_goto(), but it is not working fine. By using drupal_goto(), it is looping and it is not giving the correct result. ...
0
votes
1answer
178 views

mobile switch module not working if the site supports multilanguage

In my drupal 7 website i used multi language set up and the site is in English and Arabic.I installed Mobile_detect and Mobile_switch for mobile theme switching. But the mobile switching is not ...
0
votes
0answers
76 views

Can get call work as post call to create node or login as a user in drupal 6 from external source like mobile app

I have setup a Rest server in my Drupal 6 site. I am able to successfully post new node and login as a user using method:POST from Rest client in Firefox. I want to do the same things using a get ...
0
votes
1answer
75 views

Mobile Tools or Media Queries?

I have always used CSS media queries on past sites for a responsive layout. Recently bumped into Drupal Mobile Tools dev.7 and liking it thus far. Trying to understand the purpose of it besides ...
1
vote
1answer
150 views

Domain Name language negotiation and mobile prefix m

I have a question regarding the domain name language negotiation in drupal7. I have 3 languages and the following domains: de.domain.com en.domain.com fr.domain.com When i set this as the domains ...
-1
votes
1answer
69 views

Homebox column number different on mobile? [closed]

I have created a 3 column homebox site with rss feeds in an attempt to roll my own replacement for google ig (which is to shut soon). It works perfectly for what I want. Is there a simple method to ...
0
votes
1answer
233 views

Don't load Javascript on Mobile

What to do if you don't want to load JS files on mobile devices? Let's say, the navigation of a website uses javascript (dropdown for example), and that Javascript is loaded within the .info file ...
0
votes
1answer
400 views

slide show on mobile devices browsers

I created a view formatted slideshow using drupal.rg/project/views_slideshow and another formatted flexslider using drupal.rg/project/flexslider but the two blocks show no content when display the ...
0
votes
2answers
746 views

Dynamically size images for mobile first design (omega theme)

I've built my first site using an omega subtheme and I'm really liking it. The mobile first design dynamically changes the width of the page to follow the width of the browser. With my column ...
0
votes
1answer
91 views

Regarding content slider on mobile screen

I am trying to make a Drupal 7 desktop site into a responsive one. There is a view of type node listing the node title and image in a grid format on front page. I want that on the mobile screen ...
2
votes
1answer
297 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
45 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 ...
1
vote
2answers
580 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 ...
1
vote
1answer
175 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
210 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
928 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
34 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
988 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.
1
vote
0answers
206 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 ...
2
votes
1answer
230 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
140 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
49 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
2k 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
330 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
325 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
705 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 ...
7
votes
2answers
2k 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: ...
0
votes
3answers
4k views

how to connect android app to drupal database? [closed]

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 ...
3
votes
2answers
1k 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 ...