[themes] page-front.tpl.php not visible

Joop Sint Jago j.sintjago at xs4all.nl
Fri Feb 4 17:28:16 UTC 2011


Did you change the filename like Laura said:

Pro Drupal Development (Your Best Friend :))  :

■ Note If your custom page.tpl.php file doesn’t appear to be working,
remember to visit
admin/config/development/performance and clear your site’s cache.
You can also create custom .tpl files for specific pages of your site; for
example, you could copy
page.tpl.php and create a page--front.tpl.php file. This new template would
be applied only to the
front page of your site. You can also do the same thing with node.tpl.php.
Let’s say you want to theme
articles differently than other node types, like a basic page. You can copy
node.tpl.php from the
modules/node directory to your theme directory and rename that file to
node--article.tpl.php. This new
template file will override the standard node.tpl.php file for any node that
is an article. For additional
details, visit the theming guide on Drupal.org at
http://drupal.org/documentation/theme.
■ Note There are two dashes between node and article. Drupal requires two
dashes.

-----Oorspronkelijk bericht-----
Van: themes-bounces at drupal.org [mailto:themes-bounces at drupal.org] Namens
pat at soligsoft.com
Verzonden: vrijdag 4 februari 2011 18:22
Aan: A list for theme developers
Onderwerp: Re: [themes] page-front.tpl.php not visible

Hi,

Right now the page-front.tpl.php is just a copy of my page.tpl.php file so
I would thing there would be no code errors(yet)

Most appreciative,

Pat Chuprina

> Just to add to Carl´s & Laura´s comments:
> Be sure there is no code error in your new php file.
>
> If you are new to this you might just modify a tiny thing in your
> custom-made front page like a textual change.
> This way you can check if the systems works. If it does, you know
> everything
> is setup neatly and you can go-ahead and continue modifying your front
> page.
>
>
> -----Oorspronkelijk bericht-----
> Van: themes-bounces at drupal.org [mailto:themes-bounces at drupal.org] Namens
> pat at soligsoft.com
> Verzonden: vrijdag 4 februari 2011 18:02
> Aan: A list for theme developers
> Onderwerp: Re: [themes] page-front.tpl.php not visible
>
> Hi,
>
> Thanks for your prompt reply.
>
> Yes I did, a few times.  I'm now getting a page not found message along
> with the background.  Sorry to say, but I'm new and confused and not sure
> what to do.  Is it my Default front page setting?
>
> Thanks
>
> PChuprina
>
>
>
>
>
>
>> Any time you add a new template in your theme directory you need to
>> clear
>> the Drupal cache. Did you do this?
>>
>> On Fri, Feb 4, 2011 at 9:45 AM, <pat at soligsoft.com> wrote:
>>
>>> Vers. 7.0
>>> Theme: Genesis
>>>
>>> Hello all,
>>>
>>> I've created my page-front.tpl.php page to allow me to style
>>> differently
>>> from the the site. Unfortunately it is not showing up. I've gone to:
>>> Home
>>> ≫ Administration ≫ Configuration ≫ System and attempted to use the
>>> Default
>>> front page with no success. I'm using a local test platform, so have
>>> entered: http://sitename:8082/ but don't know what to add after that.
>>>
>>> I've researched it on this site, but seem to only get answers for
>>> drupal
>>> 5.0...... What am I missing or what have I done wrong.
>>>
>>> Any help and/or guidance would be greatly appreciated.
>>>
>>> PChuprina
>>>
>>>
>>> _______________________________________________
>>> themes mailing list
>>> themes at drupal.org
>>> http://lists.drupal.org/mailman/listinfo/themes
>>>
>> _______________________________________________
>> themes mailing list
>> themes at drupal.org
>> http://lists.drupal.org/mailman/listinfo/themes
>>
>
>
> _______________________________________________
> themes mailing list
> themes at drupal.org
> http://lists.drupal.org/mailman/listinfo/themes
>
>
> _______________________________________________
> themes mailing list
> themes at drupal.org
> http://lists.drupal.org/mailman/listinfo/themes
>


_______________________________________________
themes mailing list
themes at drupal.org
http://lists.drupal.org/mailman/listinfo/themes




More information about the themes mailing list