Questions related to the front page of a website.

learn more… | top users | synonyms

0
votes
1answer
21 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
2answers
19 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
15 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
16 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 browscap installed as well as ctools mobile, I am using an adaptive theme, $is_mobile successfully in theme/page.tpl but I am unable to use it ...
2
votes
1answer
40 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
27 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
21 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
27 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
17 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
29 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
29 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.
0
votes
1answer
58 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
44 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
45 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 ...
0
votes
1answer
29 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
57 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
32 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
30 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
27 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
55 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
48 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
83 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
66 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
7 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
29 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
41 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
106 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
66 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
42 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
38 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
34 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 ...
0
votes
2answers
1k 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
181 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
83 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
87 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 ...
1
vote
2answers
42 views

Reset frontpage after changing it to user

I wanted my drupal site content to only be accessed by users who login. I have a front-page which works fine: "mysite.com/" I want users to be re-directed to: "mysite.com/user" or ...
0
votes
0answers
37 views

Empty Front Page With Google Analytics

Ultimately, the Empty Front Page module has got it to look exactly like I want it. However, this causes Google Analytics code to not show up on the front page. I try adding a new Basic Page content, ...
0
votes
1answer
26 views

Add a Module Form to a front page region

As the title reads, I'm attempting to add a custom made module (simple contact form) into a region on my front page (this may be used other places as well, but for not just the front page). Could some ...
1
vote
1answer
35 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, ...
0
votes
1answer
97 views

“The website encountered an unexpected error.” on front page only [duplicate]

We are encountering this error: Error The website encountered an unexpected error. Please try again later. On frontpage only and if the user is anonymous. If logged in, we can view the front page ...
1
vote
3answers
70 views

How to find and edit front page

I am new to Drupal and working for client. He wants me to change the title of the front page. I just can not figure out how to get there. I have no problem with the rest of the pages on the site. ...
0
votes
1answer
38 views

Set default frontpage to Front Page view

I've setted the Default front page to the View Front Page, but when I go to www.mydomain.com the page don't redirects to www.mydomain.com/frontpage. When I go and write www.mydomain.com/frontpage the ...
0
votes
2answers
43 views

Rewrite the html tags for frontpage

I am using views for front page. I was able to customize some things. But I have some <h1></h1> in the body of an article and for the frontpage I want to change that automatically into ...
0
votes
1answer
114 views

Different front page template for different domains

I have Drupal 7 installation with the Domain Access module. I need to have different page--front.tpl.php templates for some of the subdomains, for example: www.example.com should have one type of ...
1
vote
3answers
129 views

How to create welcome html page in drupal? [closed]

I used custom front page "page--front.tpl.php". now i want to create welcome html page. when user open my website link, first html page should be open, afterthat only my site should open..any one can ...