The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
17 views

Passing Node Variables to Content and Blocks

I'm really struggling with how to get variables created in page.tpl.php and node.tpl.php in rendered content and blocks. I hope I'm just missing something simple. Basically, I'm trying to have a ...
0
votes
1answer
23 views

How to display the form submission results in a custom page?

How to display the form submission results in a custom page or a view ? I want to display it in a custom style with table , and want to do custom php coding too . where i have to create custom page ...
0
votes
1answer
19 views

How to customize my front page in drupal 7 with background image?

I have site for which I need to design a custom front page using my sub-theme with page page--front.tpl.php. I need to place a background image and on title at left alignment and little bottom thre ...
0
votes
1answer
14 views

Remove links under main page

When I add a new 'Basic Page' or an 'Article', a link to the Home page appears under the 'Main Menu' and I have no idea how to remove it. How can I remove these links?
0
votes
1answer
34 views

How to create menu when dynamic routes [duplicate]

This link https://www.drupal.org/node/2122201 suggest us to make use of route_callbacks when we are using dynamic routes.Can someone tell me how to make use of this route name in *.links.menu.yml file ...
0
votes
3answers
34 views

How can I seperate elements of content in page.tpl? [closed]

I need to separate the comments from the node. I tried <?php print render($page['content']['comments']); ?> and <?php dpm(['comments']); ?>. This is what I'm trying to do (partial ...
0
votes
0answers
9 views

Edit page for taxonomy tag terms results

I have it set up so that when you click a title of a certain part of a page, it directs to another page where anything tagged with that certain tag is included in a list form. However, there are 8 ...
0
votes
1answer
43 views

Menu links for Dynamic path

I have created routes for several content entity making use of route built event in Drupal 8 and now I want to create menu links for the same routes. I searched several places but couldn't come up ...
0
votes
0answers
23 views

Drupal 7: Cannot Create Panels Page

I'm using Drupal 7.34 (will be updating soon) and the latest version of Panels for 7x. When I use the Panels Dashboard (admin/structure/panels) and click Panel Page to create a new panel page, I am ...
0
votes
1answer
18 views

Using base_url() in image paths without using PHP?

So normally I can do <img src="<?php base_url(); ?>/default/files/image.png" /> and that works just fine if I enable the php filter. The trouble is that enabling the php filter disables ...
0
votes
1answer
26 views

How to get text before the title?

I suppose this is something about theming, but I haven't found a way to do this. I'm using the Pixtures Reloaded subtheme of Adaptive Themes. I have a group of pages that need to have the structure: ...
0
votes
1answer
26 views

Custom “normal” page in module

Is it possible to create a normal content page in a module? At the moment I only know the $form type. But I need to add a page with some statistics. Or is there a way to add normal content to a ...
2
votes
1answer
56 views

Drupal custom page template based on the title of the page

I have the following page: About us Whose path is: site.com/node/6 Theme suggestions for the template files are: page--node--6.tpl.php page--node.tpl.php You should already know that it is ...
1
vote
1answer
25 views

Custom Node Template not inheriting page.tpl.php

In my theme, I have page.tpl.php and page--node--1.tpl.php. When page--node--1.tpl.php is rendered, everything in page.tpl.php is lost. I only want page--code--1.tpl.php to replace the $content line ...
-2
votes
1answer
26 views

Problem To Making Pricing In A Great Look [closed]

Hello I M Facing Problem To Making A price Like Shown In Image I Want To Make Like This, Plz Help Me Out How Can I Able To Make This Type Of Pricing Table In My Pricing Page Any Views Or Any Way
1
vote
1answer
47 views

Translate page.tpl.php strings

I have a custom slideshow and the phrases are all in page.tpl.php (please see figure attached) But they are not dynamic, so they are in PT. Now I have a multilingual site (I installed all the ...
0
votes
1answer
17 views

Reload only the content area of a website while the sidebars remain static

Is it possible to reload only the content area of my website while the rest of the sidebars remain static? I notice that twitter does this, i am wondering if it is achievable in drupal. Thanks
0
votes
0answers
18 views

how to add custom field in agreement page?

when user is logged we will show agreement.In that i want to add custom field in agreement page.?that custom field #type is signature field. i used like dis? $items['test'] = array( 'title' ...
1
vote
1answer
23 views

User Edit Page for different elements

I want to customize the user edit page. I want to separate the elements (eg. user password, user picture, user email) and put them each on a separate edit page. I tried the panels module, but that ...
0
votes
0answers
12 views

str_replace for spaces in webform/image widget

I'm looking to resolve an error in which the upload of images with spaces in their names. When I try and place the images into the select image field in the page creator it kicks out the following ...
0
votes
2answers
27 views

Cannot see page content?

I'm building a custom theme for Drupal 7.xx, which is part of my internship. I've been developing this theme for quite a while now, but I still consider myself an absolute beginner when it comes to ...
-1
votes
1answer
14 views

Create A Product On Drupal 7 [closed]

Hello I Am Making A Website So I Want To Add Some Of My Product In My Product Page So I Want To Know That How I Can Add Product With Name Cost Of Product And Description Can Any One Suggest Any Module ...
0
votes
1answer
28 views

cannot display new content

I am using drupal 7 and i have been having this issue where i am trying to add a new page onto an existing drupal site but all I'm getting is one content (the page title and some body text) ...
0
votes
1answer
56 views

Drupal 7 pager from module fuction not displaying in page.tpl

I have a function mymodule_submissions in my module which fetches rows from mymodule_table and prints as table theme with pager. Its working fine if I define a menu link in my module to call that ...
0
votes
0answers
28 views

Trying to customize login page for mobile, interfering with desktop version of login page

I've been trying to customize the login/retrieve password/create account pages on the mobile version of my website for a couple of weeks now with little success. I haven't found a satisfactory answer ...
0
votes
2answers
32 views

Web application development with Drupal

The project manager I am working with is convinced that Drupal can be used to develop a web application that allows user input and rating of the input. I don't see beyond the Content Management uSage ...
0
votes
0answers
11 views

How can I use contextual filters in a block display inside a panel page?

I am using a block display of a view inside a panel page. This view is using contextual filters to only display content related to 1 taxonomy term id when this is in the URL. If I create a page of ...
0
votes
3answers
29 views

Contextual Filters for a Block on a Page

I am trying to figure out how to create a page with dynamic content within a block. For example, a simple "About Us" page may have sub pages of "Contact," "Blog," "History," "Locations" I would like ...
0
votes
0answers
18 views

Drupal Navigation Title “Reset” to Use Page Title

Does anyone know if there is a way to "reset" a navigation title so that it falls back in-sync with a page's title? The scenario is this... Created a page with a title of "Page About Stuff." In the ...
0
votes
2answers
85 views

Drupal 7 - create own login form

Is it possible to create own login form? I need to insert it into my basic page. It is campaign for my client and he wants to be able login from specific basic page. I have tried to use block from ...
4
votes
2answers
160 views

How does Drupal Cron effect Page Cache?

I'm trying to figure out how Drupal's cron effects the page cache of my site. It would be nice to store as many pages in the cache table as possible so that when requests are made they are being ...
2
votes
1answer
28 views

Replace frontpage to a page with wildcards

I've created a page that receives a term name argument and displays a panel with several views which serves content according to this term name. The thing is, I want to make that page my default ...
1
vote
3answers
86 views

Hide page title on specific path

I want to hide page title on a specific path, but I want to retain the page title between "title" tags in the header. I want the title to be exist in title bar of the browser, but that should not be ...
0
votes
0answers
20 views

New title on old page - search results show old title

I have a page that used to have 2010-2012 in the title, now it has 2014-2017. When I search for that page using HUD or HUD Grant, I want the new title to show. How can I do that?
0
votes
2answers
336 views

Print selected fields in page tpl Drupal 7

For some reasons, I have to customize the display of the content node programmaticaly, mixing content from other sources. Instead of making a print(render($page['content'] which outputs all the ...
0
votes
1answer
12 views

Using a vocabulary term as a panel wildcard

I want to create a frontpage Panel Page that shows Views according to a Vocabulary Term Name in the url, like so: frontpage/persons frontpage/companies frontpage/institutions That way, I've ...
0
votes
1answer
25 views

How to display entire comments in separate page

I know we can display reply form in separate page. But now I having the requirement of displaying entire comments and reply form in separate page. Is there have any way to display those in separate ...
0
votes
1answer
36 views

Good and basic solution for search page

I'm starting in on drupal search engine and I am looking to create a search page. First I would like the search is on very specific fields of some content types. What can be done with the basic module ...
0
votes
1answer
15 views

Page View not showing on path'd page

I'm using Drupal 6 and I'm pretty sure I'm using Views 3. I created a page called All Events (alias: all-events) and created a view that displays as a page. Under Page Settings for the path option I ...
0
votes
0answers
21 views

Choose one or another URL (node content) depending on the parameters

I have a site, www.example.com. I have chosen that the Home page is a custom one, which uses a page-custom_home_page.tpl.php. Now I have this new URL: www.example.com/products/*, where * means ...
0
votes
1answer
20 views

How can I assign a View Page on a Domain?

On my Drupal 7, I assign Views Block by using Domain Access and Domain Context on a node(a node that already assigned to a domain). How can I assign a Views Page with Domain Access? The Views Page ...
0
votes
2answers
43 views

Add “email” to /admin/people overlay view

I have been browsing around trying to find the answer to this but I am not having any luck. I want to add the users email to the table so that we can identify them easier. I have tried to create a new ...
0
votes
2answers
137 views

Using drupal_add_js with google maps

I want to pass down an array to my javascript. So that i could create markers on google map. By doing this: ...
0
votes
4answers
33 views

Drupal 7 Custom Page shown only for logged-in users

My problem is that, I need to create a new Page (path f.e. //panel), but I want there only logged-in users. If user is not logged in, he should be redirected to login form. I was trying to do it with ...
0
votes
1answer
31 views

Overriding Page Title with Contextual Links

View Path: team/member/% Contextual Input: Numeric User ID, single variable The purpose of my view is to 1) use Views Responsive Grid to layout the page appropriately, which I have done, and 2) ...
0
votes
1answer
46 views

Page Title outputting leading/trailing whitespace within H1

My Drupal 7 site is printing out leading and trailing whitespace and a line break within the page title <h1>. The following is an exact copy and paste of the HTML that's being delivered to the ...
6
votes
1answer
149 views

Get title of page in Drupal 8

When I get the title on some pages, I get an empty title like Home. The code I am using in my subscriber is the following one. class HistorySubscriber implements EventSubscriberInterface { public ...
0
votes
1answer
44 views

How to set a page level variable that views has access to

I'm trying to build a custom responsive theme using Zurb Foundation. I'm also using Views to render a grid of nodes, let's call them Events, that are each wrapped in Foundation classes to lay them out ...
0
votes
1answer
19 views

Main menu not showing on cck type content items

I have that annoying issue with my main menu not showing on nodes of one specific cck content type. The menu shows everywhere else and is set to do so in the block settings by using the Menu Block ...
0
votes
1answer
62 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 ...