The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
20 views

How to change number of item per page in taxonomy page?

I have multiple content types. I want to change number of item per page in teaser mode and it is different for every content type. In admin/config/system/site-information we can change number of ...
0
votes
1answer
28 views

How can I call node id in template file?

Using Drupal 7. I have a page--front.tpl.php template file. And I want import a node in this file. How can I do it?
1
vote
2answers
58 views

Custom page with fixed content

Me again with the noob question. I want to achieve this: At the url http://ROOT/something/{numeric_id_here} to get a page that lists the header and the footer of the theme and my custom content. The ...
0
votes
0answers
27 views

Taxonomy Term page visit report

Is there any module which track page visit count for taxonomy terms? Several module exists for node visit report(including Core Statistics) but none found for taxonomy term page visit count. Some ...
1
vote
2answers
28 views

Show articles on new page

Is there a way to not promote articles on to the front page and instead gather them under a main menu link? Like main menu link -> myArticles and on click all articles written will be shown there?
0
votes
1answer
42 views

Create a landing page as the front

I have created a content type called 'landing', however when I try and setup this as my homepage config/system/site-information to the alias 'landing' It takes on the node--front.tpl.php as the ...
0
votes
1answer
33 views

Perform task on opening the site

I'm new to writing modules. I would like my custom module to perform a task whenever the main page is loaded and no user is logged in, like when a user enters the url to my page, then the page loads ...
0
votes
0answers
25 views

problem with Single Page Website module

I wanted to try out the Single Page Website module for Drupal 7 I followed the instructions and all seemed to work well, except my anchor links wouldn't work i.e. it wouldn't scroll down the page ...
1
vote
1answer
24 views

Drupal distro for landing pages

At my current work we do often landing pages (with their own domain) I was wandering if someone already thought to do them with Drupal: A multi-site (only one database) with several landing pages, ...
-1
votes
1answer
21 views

Page redirect with condition

I want to redirect the users to a particular page when they view a certain page when there are some conditions. The condition is that the user has uploaded a node, for example an article. Say there ...
0
votes
0answers
89 views

imageresizer outputs image paths with query strings, how can I remove query string from such resources?

In the page speed analyzers it is recommended to Remove query strings from static resources. I know how to remove these query strings from .css files in the following way: function ...
0
votes
2answers
43 views

How to redirect the user to a specific page after node is added/edited by user

I'm trying to create a drupal 7 website where users can upload pictures with a title. When the user uploads an image with title, it has to be approved by the admin who then publishes it. My question ...
0
votes
1answer
13 views

How to use Content Complete Module?

Tried to read https://www.drupal.org/project/content_complete but that didn't give me much so now I'm stuck. I've set what Content Type + Fields to use and Rebuilt Cache. Then I keep getting this ...
0
votes
1answer
26 views

Which hook to use in a custom module for tracking access to one particular page?

I'm probably not fully awake this morning because it seems so trivial but I cannot figure it out. I need a hook to track when user access a certain page (path = 'export-csv'). This page is not a node ...
-1
votes
1answer
18 views

How to restrict access to page by URL depending on which page you came from

I have page which implements by hook_menu and i want to permit access for this page if user come from certain form but not from just url string. How can i solve it? Thanks.
-1
votes
1answer
25 views

Display content from mymodule_page in two regions

Is the way, to put mymodule page content in region content, and sidebar programmatically without using blocks? ex. function mymodule_page(){ $page['content']['my'] = array( '#type' ...
0
votes
1answer
36 views

Add a youtube video in the template file using url

I've tried using this code <?php print theme('video_embed_field_embed_code', array('url' => $video['http://www.youtube.com/embed/Zz1HPLtecOg'])); ?> but it only displays the url and doesnt ...
0
votes
0answers
49 views

How do I create different landing pages?

I am newbie to Drupal and I have deadline to make a website. So, I apologize if this question sounds silly to you.. I wanted to create a website that has one front page and 8 different landing ...
0
votes
2answers
34 views

Creating new template for new page

In drupal 7, I created a content type called page and set the url to /about. If I check the source code I see <link rel="canonical" href="/website/about"> and <link rel="shortlink" ...
1
vote
2answers
37 views

add variable to process_page($vars) in form function

Is there an option to change $vars array in form function? I would like to pass some variables to page template in form creation function .. If not, what are other options to influence page.tpl from ...
0
votes
1answer
47 views

How to display a view without using a page template - drupal 7

So on a drupal site I am working on the client has a page where they have a view without a page template applied to it, and now the client wants to change the url of that page. As soon as I change the ...
0
votes
0answers
25 views

Rebuild exterior elements of form on submit

On the user page I display two types of groups a user can be subscribed to: a pending membership or an approved membership. To illustrate this: The 'cancel membership request' button is the submit ...
0
votes
2answers
24 views

Drupal page other than main

It mightbe a lame question but I want to be able to display a custom page let say: "/news". So, I created a template named: page--news.tpl.php with my content, some rendered views etc. Now when I got ...
0
votes
1answer
53 views

How to make a non-Drupal page and where to place it? [closed]

I need to create a page (it's receipt) which is not drupal-page. How it should work: User clicks the link in "User Menu" or in "User Profile" This link is made from link to custom page itself and ...
0
votes
0answers
17 views

Call up the Nodequeue drag and drop page in Pages

I'm using Pages Module and Nodequeue; what I'd like to do is present some users with the administration drag and drop page that I can access at admin/structure/nodequeue/my_list/view/1 . And would ...
0
votes
1answer
72 views

Contact Form in custom Theme

I need to create one request information form that goes to each page in my website. That means I need to add that form into page.tpl.php page. Form includes just basic information like name, email, ...
0
votes
0answers
13 views

D7 Facebook OAuth Module: Get Page Info

I've installed the Facebook OAuth module and have my app all configured. I have played with it a bit and see how to easily pull in user info from Facebook. The example of the photo album is nice. ...
0
votes
1answer
171 views

Page transitions in drupal 7

I am interested in using https://github.com/dgileadi/zepto-page-transitions for page transitons in drupal 7, i am not a coder but have some experience with setting up drupal sites with themes from ...
-1
votes
1answer
23 views

Give a basic page a different appereance by rendering it with views

I'd like to render a basic page to look somewhat different for my mobile site. Now I have come up with a combination of views-view--mobile-aboriginalartsfestival.tpl.php, ...
0
votes
1answer
55 views

Drupal best way to render content type data and meta-data

I am new to Drupal and struggling on the best approach to choose, I have several questions which are all related to my approach. Let say I have a content type "Rooms" and would like to create 2 ...
0
votes
1answer
39 views

Panels with multiple rows?

I've got a Node/Page Panel that consists of 2 columns. What I would like to do is to have 2 rows/sections in one of the columns. I haven't found that option in layout designer, only to have a section ...
0
votes
0answers
47 views

Drupal 7 showing literal php code as HTML after transfer

I am in a strange problem. I had a site transfered to one server to another and the new server is showing me literal code of PHP after transfer. The epicness of weird situation is that the front ...
0
votes
0answers
37 views

How to override taxonomy term page output with external tpl.php file

I am working on Drupal 6 project and in that I am using different taxonomy and for each taxonomy I want to add some content. To add content to particular taxonomy term's page I want to override its ...
0
votes
1answer
57 views

How to add an editable text box to a page

So i have created a page which uses an XML feed to generate some output. I want to be able to add a textarea from the FORM API so that i can allow user of my site to enter some details on to the form ...
1
vote
1answer
70 views

Add class to page content output

I have the following snippet in a theme's page.tpl.php: <div id="content-wrap" class="row"> <?php print render($title_prefix); ?> <?php if ($title): ?><h1 ...
0
votes
0answers
19 views

Admin pages failed to load [duplicate]

I am unable to view my admin pages. Whenever I load my page like /admin/config or admin/modules it says unable to load. I have increased max-time to 300 I can browses my site normally no problem ...
0
votes
0answers
36 views

Add CSS file on delete specific node

How can I add a css file to the specific page where you delete a node of type = ... . I know you can add css files to specific pages like this: function hook_preprocess_page(&$vars) { $path = ...
0
votes
0answers
23 views

Create a page to edit only one user field

I have a category field related to users witch is a taxonomy term reference. this field is hidden when editing user profile page. But I need to create a new page that allow me to only edit this field ...
-1
votes
1answer
55 views

Is there a way to include jQuery-1.10.2 for specific php functions?

I need to include jquery-1.10.2 for a module I am building in Drupal 7. The problem is, if I include the file with drupal_add_js in the module's .inc file, it causes the admin menu to display strange ...
0
votes
1answer
36 views

Should I use the theme layer or a module to create a complex, static page?

We have a few pages like the following on my site, everpurse.com: https://everpurse.com/home They contain moderately complex markup and CSS. My approach to creating these pages is to create a module ...
0
votes
0answers
80 views

Multilingual Panels does not allow content translation

Drupal 7.26 Multilingual Panels 7.x-1.0 Panels 7.x-3.4 Domain Access 7.x-3.11 Domain + I18n Variables Integration 7.x-1.0 Hello, I am attempting to use Multilingual Panels to translate panel ...
0
votes
0answers
52 views

Render node with tabs in Drupal 7

If I set up a menu callback with this function: function mymodule_menu_callback($nid) { $node = node_load($nid); return drupal_render(node_view($node)); } Then when the node is rendered it ...
1
vote
0answers
55 views

Unable to add a block to a custom page [closed]

I'm trying to add Facet API blocks on my custom page. But the blocks are not displaying on added region. I'm using drupal cloudy theme with recruiter profile. the blocks are visible if I add those ...
0
votes
2answers
252 views

jQuery problem click function [closed]

I'm having trouble doing simple stuff in jQuery. What I wanted was to call a function when something was typed in an input field. Now I'm just trying this: when you click anywhere on the page to ...
0
votes
2answers
66 views

How do I can change the default description of Drupal 7 elements?

I'm trying to change the default descriptions in different pages like (add users). I tried devel themer to findout where there descriptions are came from but it showed nothing. for example look at ...
0
votes
2answers
98 views

How to Create a Blank Page

I need to create a completely blank page in Drupal. For simplicity sake the entire page should display the following: <html> <body> <h2>Hello World!</h2> ...
0
votes
1answer
75 views

Stylesheet for specific page overwritten by standard css

In my subtheme.info I have : stylesheets[all][] = css/style.css And in my template.php I have: function subtheme_preprocess_page(&$vars) { $path = current_path(); if ($path == ...
0
votes
1answer
31 views

Page Navigation issue after executing a jQuery

Using JSinjector, i included a jQuery and made use of a function. I wrote a query inorder to display the external link within a certain div section (within our site). My code goes here (function ($) ...
0
votes
1answer
26 views

How to create a component which has specific content on each page

I'm a novice at drupal, so I'm still figuring things out. I'm looking for a way to accomplish the following the 'drupal way'. I want to create a component, or a block, or something that allows the ...
1
vote
1answer
167 views

Change content of $page['content'] variable

I have overwritten my login page with a file named page--user--login.tpl.php. Now I have this: <div class="main-container container"> <div class="row-fluid"> <section<?php ...