The tag has no wiki summary.

learn more… | top users | synonyms

-4
votes
1answer
16 views

Body field not displaying in Page content type

While adding content in Page content type. I cannot see body field. What should I need to check?
1
vote
1answer
22 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 ...
1
vote
2answers
31 views

Trying return array as page content

I'm working on a module in Drupal 7. I have three different forms set up with hook_form. I would like to display the three forms on one page along with some html to organize the forms and apply some ...
0
votes
0answers
56 views

How to customize registration ,login and forgot password pages in bootstrap theme?

I want to customize registration, login and forgot password pages, theming and changing the position of submit buttton and including social connect, i have used this code function ...
0
votes
0answers
10 views

Create a media page with view using and taxonomy

I've installed the media module and set everything up for it to work. And it's working. Now i want to divide my media items into two groups: Videos and Fotos. I'ved set a taxonomy term video and fotos ...
-4
votes
1answer
32 views

Error while redirecting [on hold]

I'm a nooby in Drupal and i have a page not found error while redirecting. I have created a new page with the xxxx/%node/xxxx URL and when I make a redirection to that page from a another one i have a ...
0
votes
0answers
18 views

How to list articles from multi taxonomy terms (assigned as roles)

I have an installation with 1000s of articles which contains fields such as author, translator, editor... I can create a page via views which lists all articles of an author by using contextual ...
1
vote
2answers
85 views

How do I customise the header and footer using a page template for a particular content type?

I have a content type. I want to customise the node pages for this content type, I've used node--[content-type].tpl.php but I need to use a page template to customise the header and footer and ...
0
votes
1answer
32 views

Creating page with hook_menu, updating content with AJAX every 10 seconds

After doing research I'm still not sure what's the best way to do the following: Create a page with hook_menu, generate the content with a callback Run that callback and update HTML with new content ...
0
votes
2answers
52 views

Custom template for a specific page within module for Drupal 7

I'm writing a module for Drupal 7 that gives every user with the right permissions a new page in his profile. I want this page to only display the Drupal header and a div with a specific ID, for a JS ...
0
votes
1answer
39 views

How to embed a quicktab instance in a page?

How do I can embed a qiucktab instance in page? I'm not going to create a region and assign the quicktab into that region. is there anyway to do such thing without using region?
0
votes
0answers
39 views

How to use $page object to put code inside existing wrapper, and altering module file

I'm editing Supersized module: First question is: is there anything that can help me to alter module file (supersized.run.inc) that will follow drupal principles (not editing directly module files), ...
0
votes
2answers
28 views

Dynamic locations in page content

My company website has several physical locations / branches that need to be referenced all throughout the website on basic pages. I would like to create one central table with one instance of each ...
3
votes
3answers
139 views

Different logo on specific page / node

I have a special page called www.mydomain.com/special (whcih is a page node type). Only on that specific page, I want an extra image in the header of that page (next to the logo) The logo and ...
1
vote
1answer
56 views

Drupal 7 page template for right to left languages e.g. page--rtl.tpl.php

Trying to create a custom page.tpl dependant on language or 'right to left' support, here is what i have so far. function THEMENAME_preprocess_page(&$variables) { ...
0
votes
1answer
41 views

Drupal embed nested menu in page? [closed]

Currently, I have a structured site with several categories and several pages per category. Currently I am using the main menu as the structure, with a hierarchical tree-like menu. I found a theme ...
-1
votes
1answer
65 views

how to create a page.tpl.php without $page['content']?

The page.tpl.php of my website shouldn't contain <?php print render($page['content']); ?> because it is only set of blocks. The problem is I'm not able to insert comment form into node pages of ...
0
votes
2answers
35 views

I have some difficulties with page.tpl.php

I've created a page.tpl.php for my website. it must only contain some blocks not the the $content. that's why I created a few blocks attached them to their region and embedded their corresponding ...
0
votes
0answers
167 views

The requested page could not be found on user settings

I am trying to change the following user settings: However upon clicking Save configuration I get an error saying The requested page could not be found. Any ideas how to fix this? Note: I already ...
0
votes
0answers
8 views

views block in taxonomy page, display article/content that use current taxonomy

How use views block in taxonomy page for display article/content use that taxonomy. For example, I have taxonomy 'video'. I want display articles, that use taxonomy 'video' by using views block ? ...
0
votes
1answer
32 views

Module Page Keeps Redirecting

I inherited someone else's project. I see he created a module called bcompanies.module. In that module file I see this: function bcompanies_menu() { $items['company'] = array( 'title' ...
0
votes
1answer
178 views

Rendering Taxonomy Custom Fields in page.tpl.php

Ahoy all, so, having some issues with displaying specific fields related to taxonomy terms in a page I created (page--taxonomy.tpl.php) Essentially, I am trying to set a background image to a div, to ...
0
votes
0answers
22 views

Adding a super-title to a set of nodes

As part of a larger Drupal 7 website, I'm creating a set of pages to describe the stages and contestants of a competition. The various pages, (eg. a contestant's entry in a round of the contest) are ...
2
votes
2answers
54 views

Not all content showing up after uploading to live server

I have been working on a site for a client and I have ran into a bit of an issue. I built the site locally and then pushed it to a staging server to show the client and everything is running fine. ...
1
vote
2answers
129 views

How to integrate a custom one page php app into drupal 7?

I am trying to integrate a custom website into the drupal 7 system. On this website there is a lot of user interaction with buttons, database queries, ajax loaded elements, … . I need to get the the ...
4
votes
1answer
137 views

Working with template suggestions on Drupal 8

I need Drupal to use a custom page template if the URL contains a particular _GET parameter. In D7 I would do something like this in the theme's template.php: function ...
0
votes
1answer
22 views

Adding comments to pages

Is it possible to add a the content type comments to a page? When I create a page and look to see what can be added into a panel comments are not available Thank you!
0
votes
1answer
77 views

Run query after page load

I have a table of reservations which is built using Views module. I want to highlight new reservations only 1 time. So I want to run a database update query (function db_update) after a page load. I ...
0
votes
0answers
35 views

Including User Profile Fields on a Public View Page

My current efforts to create a public facing page for viewing users is proving futile and I would like to know what others do to create worthwhile facing public profile pages. For now, I've created a ...
0
votes
0answers
78 views

Creating new content redirects to PAGE NOT FOUND

When I create content, regardless of the content type, I am redirected to a page not found error message even though the page is created. Can you please help? I got this message: Page not found Add ...
1
vote
1answer
83 views

How to provide pagename.tpl.php to specific page?

I have basic knowledge of Drupal ,I know that if I am giving page name with .tpl.php file taht directly apply to that specific page .but to apply that I don't know so can you please help me ?
3
votes
1answer
35 views

Images not showing correctly

I'm adding a logo image to my page.tpl.php template this way: <a class="mobile-brand" href="#"><img src="<?php print drupal_get_path("theme", "my_custom_theme"); ...
0
votes
1answer
452 views

Drupal 7, Views, List nodes by term on one page like Drupal 6

I've searched through quite a lot of how to's now and completely stumped, In Drupal 6 with views the relative simple procedure of linking a taxonomy vocabulary to a content type then furthermore ...
0
votes
1answer
89 views

how to display $page array?

How to display the entire $page array like shown below? I have devel module installed and have tried "dsm($page)" but that just shows the word "Array".
0
votes
0answers
54 views

Ubercart edit/remove front page products

New to this site, new to Drupal. Im starting to move an aging site from joomla to drupal and Im stuck on something stupid-simple Im sure. My problem: I dont want any products showing on the home ...
0
votes
1answer
76 views

how to make node data available in the page.tpl.php

I want to be able to print the contents of my node tpl up into the outer page region, accessible via the page.tpl.php (or an override). How exactly can I do this? I originally thought about doing a ...
0
votes
0answers
61 views

How to override page.tlp.php

I am trying to style a page I made, the url to the page is: http://127.0.0.1:13080/nieuws I copied page.tlp.php to my template folder and renamed it page--nieuws.tlp.php and adapted the file but ...
0
votes
1answer
126 views

how to render a welcome page in page--front.tpl.php

I have a template page--front.tpl.php. It contains all different stuffs and a welcome message, wrapped in a div container. Since, I want it to be editable, I created a new basic page called 'Welcome ...
0
votes
1answer
346 views

Drupal 6 do not use a template files: page-node-nid.tpl.php

In template file I have: function chgakitheme_preprocess_page(&$vars, $hook) { if ($vars['user']->uid == 0 && arg(0) == 'user' && (arg(1) == '' || arg(1) == 'login')) { ...
0
votes
2answers
398 views

Define a specific page.tpl for a page create from a module

I have a module witch generates a custom page: function my_module_basket_menu() { $items["my-basket"] = array( "title"=>"My basket", "page callback" => "_my_basket_page", "access ...
0
votes
1answer
197 views

How can I print the views title in page.tpl.php?

I could print the view with this code in page.tpl.php. print $view->display['view_display_name']->display_options['title']; How can I print the views title ?
2
votes
1answer
216 views

Mailchimp Newsletter block position in registration page in Drupal

I am just pulling my hair out for the last two days trying to figure this out but as a new user of Drupal I cannot find the option where to change it. I have installed Mailchimp module in my drupal ...
0
votes
2answers
253 views

Using maintenance.css to maintenance-page.tpl.php

I followed the link below so I can customize Maintenance Mode. https://drupal.org/node/195435 How can I customize Maintenance Mode css? I tried to link the style sheet: maintenance.css to ...
0
votes
1answer
630 views

Page Manager Error: The requested page “/xxxx” could not be found

I am working almost 4 hours on the following problem, and can't solve it (Drupal 7). I tried to build a new simple page in the page manager as I did few times before. I entered a simple path as /xxxx ...
0
votes
0answers
40 views

Basic page URL broken because it only consists of server address and page name, docroot path omitted

I have a local development server setup whereby my drupal sites are in separate folders on the server, for example: /var/www/site1/ /var/www/site2/ etc. While most URL links work fine, ( e.g. ...
1
vote
3answers
87 views

What if I don't want node pages for content type?

I am creating a node type that I don't want to have a separate node page for. I am going to use a page view to pull them into a list. And they will link to a URL that is stored in a field for the ...
1
vote
0answers
123 views

Anonymous users get access denied for a single page

So I have a page on my website. We will call it www.mydrupalsite.com/example-page. Most of the time anonymous users can view this page on my website like they should. Once in awhile though, when an ...
0
votes
2answers
705 views

call a js function on loading a page

is it possible to call a javascript(jquery) function once a particular page is loaded. It should be hacking the of the whole site and to detect what the current page is and call the function. How can ...
0
votes
0answers
37 views

Create json page from your custom module

I am looking for a way to create completly json or xml page from my custom module. I created a form where user is able to select node type that he wants to create json page from and the next thing ...
1
vote
2answers
288 views

Displaying URL taxonomy term as page title

How can I display a taxonomy term in the url [example.com/taxonomy/% (% being the term)] of a page as title for that page - no view involved? I assume it will require a block with some PHP or some ...