Questions related to the front page of a website.

learn more… | top users | synonyms

0
votes
3answers
23 views

No front page content has been created yet in front page

I have used page--front.tpl.php for creating my front page. In my footer it displays the message No front page content has been created yet. I have used solution specified in Removing the "No ...
-1
votes
0answers
23 views

'Page Not Found' in title bar after creating custom front page page--front.tpl.php

I have created a front page for the site with total html on "page--front.tpl.php", and I have also called few views and blocks (dynamic on my site's front-page). After that it is showing the meta ...
1
vote
1answer
25 views

Language switcher shows wrong language on front page after detection by browser settings

Content and interface are displayed correctly but the language switcher shows the default language when the language negotiation is set to these options: URL (language prefix) Browser Standard ...
0
votes
0answers
19 views

Front page elements not displayed correctly

I have recently uploaded my local site to the hosting server and since then I have had seen front page element displayed incorrectly. I have a views slideshow assigned to the front page and that is ...
0
votes
0answers
39 views

How to create a views tree and place at home page in drupal 7?

I want to create a forum using the Views Tree module, which I've installed/enabled. But I don't know how to create it as shown in image below and then place at home page. Here is a screenprint like I ...
0
votes
0answers
24 views

View with same URL as node using Pathauto

I have a view with the URL of /characters and nodes with URL's in the form of /characters/12/title-of-character. When I visit the main view URL everything works, and all nodes are listed. When I visit ...
0
votes
4answers
26 views

How to add image to only front page of drupal

I am totally noob about PHP, so i need your help with setting an image only on front-page. So for now i have this code: <div id="content-wrapper"> <img ...
0
votes
0answers
27 views

Front page content not displaying

I have installed empty_front_page module for hiding "No front page content as been created". I have disabled the module and clear my cache but my front was not displaying.
0
votes
1answer
30 views

Override node.tpl.php for the Front Page

I am trying to override the front page node, however after following the guide from the official site, it's not working. Guide: https://www.drupal.org/node/1585528 I have taken node.tpl.php and ...
0
votes
3answers
30 views

Editing the front page template

I am trying to change the format of the content promoted to the front page. I want to move the display order of the title below the image. By default it's set to title, image and then Read More. ...
0
votes
1answer
19 views

Images are not appearing on Front Page

I've looked far and wide and am unable to resolve why my article images are not appearing on the Front Page. (Even disabled my CSS to see if that was interfering with it, but no.) I have created a ...
0
votes
0answers
29 views

show specific number of posts on front page for mobile d7

I would like to show only a few posts for mobile I have mobile_detect as well as mobile_detect_ctools mobile_detect_variables, installed and working. I am using an adaptive theme, $is_mobile ...
2
votes
1answer
47 views

page--front.tpl.php being ignore in favour of page--node--page.tpl.php

I've got an issue which I'm not sure how to address. I've got a specific page that I've set as front page. I've created a custom template for it and named it page--front.tpl.php and it was as expected ...
0
votes
2answers
28 views

Using views, how to render a block of father terms with a brief shortlist of child terms?

I've a list of taxonomy terms with related subs as follows: Father 1 child 1.1 child 1.2 child 1.n Father 2 child 2.1 child 2.2 child 2.n Father 3 child 3.1 child 3.2 child 3.n and so on. ...
0
votes
2answers
24 views

How to create a global language selector page at domain root with i18n when the global language has a prefix?

I am looking for a solution to create a language selector at www.domain.com. My site has multiple languages (en, de, fr). All the languages are using a domain prefix. This results in: ...
0
votes
0answers
35 views

User landed on cached page instead of language selection page

Problem : On multilingual site, varnish caching is enabled. When any user call www.example.com, page gets cached to the first visitor's language preferences. All subsequent visitors get pages in that ...
0
votes
0answers
18 views

Custom Search works on all pages except front

I have a custom search block in my header. When I search for something i am redirected to a new page and shown my products (this is the desired effect). The problem I'm having is on the front page. ...
0
votes
1answer
42 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
2answers
45 views

How can I get a custom number of posts on the front page without views?

I need to have 16 nodes on the front page. Drupal only allows 1-10, 15, 20, etc. I'm using views now but it breaks the AJAX of the rate module.
1
vote
1answer
85 views

Content translation for front page is not available

On my front page I have a language selector (English / French). The default language is French. The translation works only in the content of page (in the views) i want make the translation work in the ...
1
vote
1answer
57 views

How to debug “undefined” 404 error in console on front page

I'm getting a strange 404 error on the front page only, which seems to be causing some other issues for me. I'm hopeful if I solve this it will take care of those, too. On the front page only, when I ...
0
votes
0answers
16 views

How to have a stack of (frontpage) views to choose from?

Currently I have a draggable view that lets content editors 'compose' a frontpage. The listed nodes are basically just consisting of an image, a title and a link (entity reference) bound together to a ...
0
votes
1answer
56 views

Change the front page value for logged in users

On my site I have two front pages: node/31, for anonymous users calendar-node-field-journal-date/month, for logged in users When a users clicks on the front page (which is rendered as $front_page ...
6
votes
3answers
198 views

How to change my homepage based on the time of day?

I have searched high and low for this. How to change my homepage based on the time of day? To be absolutely explicit, I want: Between 8am and 7pm - Homepage 1 (node/4) Between 7pm and 8am - ...
0
votes
1answer
31 views

front page only display another page are showing 404 error [closed]

PHP 5, Apache 1 and 2. php_flag magic_quotes_gpc off php_flag magic_quotes_sybase off php_flag register_globals off php_flag session.auto_start ...
1
vote
0answers
69 views

Remove default language from front page url

I have a drupal 7 site which was originally set up in English. The home page url would display www.mysite.com and other languages with /es /de /it after the url. After changing the default language ...
0
votes
2answers
35 views

Custom template file for custom view mode on site front page

I'm trying to style a view a certain way on the front page (using a custom front page, page--front.tpl.php) of my site, and here are the steps I've taken using Entity View Types and Views modules: ...
0
votes
2answers
31 views

How to direct authenticated and anonymous users to different ( custom ) front pages?

I want anonymous users to always see /node/1 but authenticated users to see /myview/uid where uid is the current user's id. I don't want to use Rules, but would prefer a code solution.
0
votes
2answers
28 views

How can I add a view to the front page news feed?

I have created a view and I would like to promote the link to this view on the front page. How can I do this? Thanks UPDATE 1 I would like the view to show up in the front page news feed like in ...
0
votes
4answers
63 views

How can I remove content from the front page?

Made page--front.tpl.php. Created the view for content-type: news for example. Then put the view block in a block region. View block - only display news type limit at 1 or 2. But when viewing the ...
0
votes
3answers
50 views

What is the front page path of the Recruiter Distribution?

I am using the Recruiter distribution and I want to find the path of the front page so as to add it to the 404 redirect settings of the site. However,there is no panel page as homepage.There is only ...
0
votes
1answer
89 views

How to align three blocks on the front page using CSS

I've got three blocks on my front page and I want them to be centered and aligned. "About us" block is to be aligned to the left side of the front page what I managed to achieve. The other two ...
0
votes
0answers
17 views

Hook menu in the page--front.tpl with a passed var

Given the url, for example: website/all I wish the hook_menu, to load the existing frontpage, currently using a page--front.tpl. passing the "all" arg to the page so I know I need to load all ...
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) ...
1
vote
5answers
67 views

Drupal one pager

I'm getting more and more requests to make one page websites. I sure do understand the beauty of it, but I'm not sure how to implement it in Drupal. I've been working with Drupal most of my time, and ...
0
votes
0answers
8 views

List other entities along with node teasers in front page like view?

Seems like views can be either content or other entities but not both. I have the statuses module and statuses are entities how would I display them in a view like that of the front page along with ...
2
votes
1answer
32 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 ...
0
votes
4answers
46 views

No page content displaying on front page

When I go to set my Drupal 7 site's front page (Administration » Configuration » System » Site information) to a basic page that I've created, and then load the front page, nothing is displayed in the ...
0
votes
1answer
43 views

Remove `/node` from front page when using a template file (page--front.tpl.php)

As it stands I have no content going to the front page, i am simply using a template file for the front. When I sign out and sign in as any role of user on my site my front page url turns into: ...
0
votes
1answer
114 views

Display articles on home page in a news site - layout style.

We are creating a new site for our online news platform with drupal 7, and want to display al our recent news articles in a news site layout style. (like our local news paper and many other news paper ...
0
votes
2answers
77 views

How to show a list of article titles

I am a bit confused. I understand what teaser does(shows the title and a preview and maybe some other things of an article). How do I not show a preview of the article. I just want title and ...
0
votes
1answer
46 views

Access only to home page for no authorized users

Anonymus should only have access to home page and see all content there. When anonymus click any link, he should be redirected to login page. function template_preprocess(&$variables, $hook) { ...
0
votes
3answers
42 views

how do I control order of promoted pages?

I have a bunch of pages I have promoted to the front page and I'm wondering how I can control the order the items appear in? This is in Drupal 7.
0
votes
0answers
36 views

Front page module not working

I have installed the Front page module on my local machine and it was working fine. Then I installed it on the live site and it did not work at all. I just get the default front page with promoted ...
1
vote
1answer
26 views

Create multilingual homepage

I created the basic page, then added alias front_page. Next, I created a translation of this node and have the same alias. In the settings admin/config/system/site-information in the field Default ...
1
vote
1answer
41 views

How to resolve the warning on my homepage, after deleting mini panel?

I deleted a mini panel and then created a new one and on the homepage I keep getting a warning message and I don't understand why. Warning: Creating default object from empty value in ...
0
votes
2answers
2k views

Check if page = front page in template Drupal 7

How do I make a simple front page check wich only shows a in my template when the user is on the front page of the drupal website? I tried this but it ended up crashing: <?php function ...
0
votes
1answer
200 views

page--front.tpl.php not working [duplicate]

I have omega 4 installed as my sub-theme, in which i have a custom layout. Now i am trying to make my home page custom, for which i have defined page--front.tpl.php in my templates/system folder, but ...
0
votes
1answer
86 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
96 views

Force Users to always login and show no content

I am using Drupal 7.31, and I installed the MD Alpine Theme, which I can get support for, but I figured I would ask here as well. I have a site, and it loads a video on the front-page, I want to hide ...