Tagged Questions

The HTML page title of a page

learn more… | top users | synonyms

0
votes
1answer
17 views

Code for Pulling Page Title | SEO Drupal Mod [on hold]

I need to pull the page title and Site Name in Drupal 7 and display it on a conditional statement. I completed an override which actually shows specific SEO Page Titles on unique page nodes. ...
1
vote
1answer
25 views

Contextual filters multiple value title

I've added title override %1, to contextual filter. Filter uses taxonomy to get nodes. If I open page "catalog/1" I get title from term1 with all the content If I open page "catalog/2" I get title ...
0
votes
0answers
15 views

Hide Page Title on Views 3 on Drupal 7?

There doesnt seem to be a concise answer of how to hide the page view title on a rendered views page. Does anyone know how to hide this without having to install another module or write any code? is ...
1
vote
2answers
29 views

How do I hide the page title in Drupal 7?

I'm a site administrator for my university and I'm using Drupal through their servers, but I can't figure out how to hide the page title from the screen. I can't install modules because I'm not on ...
1
vote
2answers
45 views

Programmatically changing the global site name?

I'm making a multi-site setup using the same install and the same database, basing it off domains. I'm trying to programmatically alter the site_name variable so that it displays a different site name ...
0
votes
0answers
23 views

missing node titles and tabs in omega 3.1 subtheme

I created a sub theme using omega 3. My problem is that the node titles and node tabs are not displayed on basic pages, articles, views pages and some of the content type pages. The only titles and ...
0
votes
1answer
43 views

How to override the article title in the browser tab when meta tags module is installed

I am facing an issue of overriding the page title through edit tab under meta tags options. Currently its only showing [node:title] | [site:name] even after overriding in the meta tags options to ...
0
votes
0answers
36 views

Add page-title with views module

I used the views-module to set up a new page. How do I add a title to it? (like h1-size) I tried to go in to views and added a title under the "TITLE"-tab (where it says "This title will be displayed ...
0
votes
1answer
22 views

Set username to the field firstname untill the field first name is filled

I am using profile2 module for user profiles and created a profile with first name and last name fields which are used for configuring real name. And I have set real name as page title. But there is ...
1
vote
2answers
58 views

Panels Page Title CSS?

I have created a Panels Page but can't find out how and where to put the class for the title? Right now it uses the core Page Title CSS but I wan't every Panels Page Title to be unique. Edit: I've ...
0
votes
1answer
50 views

Preserve &nbsp in title

I'm currently working on a French website. French formatting requires a space before question marks. For some of my titles, this results in the question mark appearing on a line by itself. Why ...
0
votes
1answer
30 views

Turn off ligature in Drupal page title [closed]

In a Drupal site, page title has ligature set, so ff is a single character and not displayed well. For example, Jeff, the 2 f there is one character. How to make the site to not use ligature in page ...
0
votes
1answer
26 views

How can I get the english node title printed on the translated nodes edit page.

Something along the lines of this function THEME_AMENDS_form_alter(&$form, &$form_state, $form_id) { global $language; $lang = $language->language; $translations = ...
0
votes
1answer
37 views

Edit browser title from within custom module

I have a custom module that creates a search form and displays search results. We have a need where we want the title that displays in the browser tab to change depending on the search criteria. This ...
1
vote
1answer
95 views

How would I add markup inside of page title input?

If I wanted to achieve the below, can I insert HTML markup inside of the page title on the node? For example, <h1 class="page-title">Dummy <span>page title</span> ...
0
votes
0answers
19 views

Why are my jump links causing the page title to be cut off?

When using jump links (named anchors) to link to content within a page, when clicked the content within the area class is pushed up causing the h1 title tag to be cut off. Why is this happening?
0
votes
0answers
28 views

Views - custom titles dissappear until cache is flushed

On a drupal commerce site we've set a contextual filter on some views with the option to override the title with the first argument. Everything is working fine but evey now and then the title ...
0
votes
0answers
9 views

How do I set different page titles for paginated pages? [duplicate]

It has been suggested by a seo consultant that to avoid duplicated content that paginated pages have the page number added in the title. How would I achieve this with standard view pagination?
0
votes
0answers
53 views

How to prevent menu link from overriding hook_menu definition

I have the following item in a hook_menu callback: $items['who-we-are'] = array( 'title' => t('Doctors & Specialists'), 'page callback' => 'whoweare_page', 'access arguments' ...
0
votes
0answers
122 views

Views + Page Title translation

This is not a question about how I translate the View's (display) title. My scenario is that I have a views without a title, and use the Page Title module to still have a title for SEO. The problem ...
0
votes
0answers
47 views

How to change the view block title for each page and also it should be editable by admin?

I have content type called organization and created view block for that. In that content type there is a select list which is a type of organization which is used for filtering contents. On each node ...
0
votes
0answers
49 views

Hide Panel Page Title from anonymous users

I need some custom code to hide a panel page title from anonymous users. I want authenticated users to see the title of the page, but not anonymous users. By page, i mean the entire panel page ...
0
votes
1answer
986 views

Metatag and page title modules conflict

I am using Drupal 7 with the Metatag module along with the Page title module. I have a requirement to build the title of a custom content type using some node fields and additional conditions that I ...
2
votes
2answers
123 views

Chage View title with taxonomy term

I have a Taxonomy Vocabulary as People. In it there are two terms Board and Staff. I've created a view with two displays, to display the people content with respect to taxonomy terms. The view title ...
0
votes
2answers
306 views

Get term name for page title from term id passed in the contextual filter?

What is the correct method of getting term name in the page title field if I have passed the term id in contextual filter. I have added the Content: Has taxonomy term ID contextual filter in views, I ...
2
votes
1answer
83 views

Need to change the title of views

I have created a view which displays all the posts of an author. I need to set the title as - "(Author Name)'s Posts" or "Posts by (Author Name)" where Author Name will change depending on the profile ...
1
vote
2answers
128 views

Panel page title with date field

I have a panel page with title set to %node:field_pub_year from substitution list. field_pub_year is a date field which is to select publication year. My problem is this is displaying whole date like ...
0
votes
1answer
218 views

drupal_set_title not changing the navigation bar title

I have changed the title of a path with the drupal_set_title() function from hook_page_alter from a custom module. It works but the title in the navigation bar is still the previous one. How can I ...
2
votes
1answer
117 views

Adding a Serial (cck field) to the Page Title

I don't really know PHP or how to modify the Drupal API so it would probably have to be a solution in the Drupal interface or rather simple programming. Is it possible to have a Serial cck field ...
0
votes
1answer
840 views

Get page title of view and panel page via url

Is there any way to get page title of view and panel page using url. I tried $normal_path = drupal_get_normal_path($path); $item = menu_get_item($normal_path); $title = $item['title']; and it is ...
-2
votes
1answer
46 views

Label in title (“Free”, “coming soon”, etc) [closed]

The drupalize.me webiste is using nice small figures in the title to give some information to the reader: "Free", "coming soon", etc. Do you know what is the easiest way to have that on our website? ...
3
votes
3answers
392 views

How do I change '|' to '-' in HTML page title?

I wan to change the HTML page title: It is displayed as "pagename | sitename"; I want to change it to "sitename - pagename." How can I do this?
0
votes
0answers
207 views

Token separator in Page Title

I'm using the Meta Tags module to pretty up my page titles using tokens. I want to display the taxonomy term parents in the page title, with separators. It's working, except I need it to also END ...
-2
votes
2answers
74 views

Page Title in drupal [duplicate]

In my drupal site some places the page titles are not shown.that are the term or a block but not a page.how can i show that title
0
votes
3answers
866 views

title_prefix override to h1 instead of h2

How do I override the $title_prefix that is inherited from the value of <h2<?php print $title_attributes; ?>><?php print $title; ?></h2> in panels-pane.tpl.php page. ...
0
votes
2answers
43 views

Titles on pages underneath the text

I must have checked or unchecked a button somewhere, sometime, because ever since I remember starting to work on my site the titles of the pages are showing underneath the articles / texts on the ...
1
vote
2answers
1k views

how to drupal_set_title for add node form D7 (form alter doesnt work)

drupal_set_title doesn't work in my case. well... it worked some time ago (i don't remember when it stopped working) but after installing couple (4-6) of modules it stopped working. where else i can ...
2
votes
4answers
2k views

How to translate page titles?

I'm using the awesome Internationalization Module for managing the translations of my multilingual website. The name of each menu item also becomes the page title (the HTML TITLE tags). When switching ...
0
votes
1answer
656 views

Change title of a content type

I have a custom content type named 'product'. Every content of type product has a serial number of the product as the title. But while displaying the title I want to override it from two of the CCK ...
1
vote
1answer
947 views

Special Character Encoding Issues in Node Titles

I work in an IT department at a museum whose website is built on Drupal. I have experience with other CMSs, but I've only worked with Drupal a little bit. So far, I've been able to help them fix quite ...
0
votes
0answers
172 views

Page titles from product name

I've installed the Drupal commerce module, and made an article with some products. So I've got this [node:field-product:title] title for the article in the Page title module, but it shows all product ...
1
vote
1answer
206 views

Error on module admin configuration page

I cannot find any documentation or similar problem with mine. Whenever I am trying to go to the configuration page of some installed module like "Pagetitle" module and Add menu links module. The ...
1
vote
1answer
60 views

Is there a way to set the active menu's text as page title?

I would like to set the active menu's text as the page title in drupal7. I tried using the page title module and found no replacement patterns to set the active menu as the page title. Any help is ...
2
votes
2answers
2k views

Unable to update head_title string in template_preprocess_html

I wanted to add some data to the page head title and created a template_preprocess_html function in my module. I added a couple entries to the head_title_array and imploded the array back into ...
4
votes
7answers
9k views

How to hide page title based on node type using template_preprocess_page()

I am trying to hide the title of the current page (as printed by page.tpl.php) if the current page is 1) a node in full display (as opposed to teaser mode), AND 2) the node type is either 'concert' or ...
1
vote
2answers
2k views

How can I change the title tag in header of just one page?

I tried Page Title module however it seems that it can configure page titles only on the content type level. I can make a temple for this page and write the title directly in there but I don't feel ...
0
votes
2answers
71 views

Using Page Title with Node Tags

I'm using the following modules Meta Tags Page Title I need to be able to make the sites title work like this: Use the title set in Meta Tags for each Node first of all, if this isn't set then ...
0
votes
1answer
967 views

Profile2 , change page title

With profile2 all the profile page titles is the profile type. How do I override it with a field from profile2? I was wondering something like this hook_preprocess_page(&$variables){ if ...
0
votes
2answers
593 views

How to change the title of the page dynamically?

I created a basic page in my drupal 7 site. On that page I have some jquery tabs. When I click on tab1 its content displays and hides the contents of other tabs, and when I click on tab2 its content ...
0
votes
1answer
528 views

How do I remove the site name from the page title on a particular page?

I have unchecked the sitename in admin/build/themes/settings but all of the titles of pages are still showing the site name. I am not sure why this happens. Is there any other way to remove it? I ...