subthemes - templates

mrkalten's picture
mrkalten
Wed, 10/05/2016 - 21:57
#1
subthemes - templates

Hi,

Thank your for your theme I've installed it and it look good. 

I have 2 questions : 

- Is it normal than when I create the subthemes I do not see the AWEContent templates. I see it with the avendor theme.

- how do I define the page where I want the "main-wrapper-header" section to show and the page where I don't want ? 

For example in the menu, "Our process" have the section, and "Landing" does not. But I can't find the settings.

Thanks for your help,

Regards

phuonght's picture
phuonght
Wed, 10/05/2016 - 22:58

Hi,

We check and can see as below:

- when using subthemes, awetemplate can work normally (if you have any problem so we think you can pleese update latest version of awecontent from your account page http://megadrupal.com/user/mrkalten)

- you need to override template. Please take a look athttps://www.drupal.org/docs/7/theming/template-theme-hook-suggestions, section page template. Also, pages using awecontent always have page suggestions page--ac (such as page--ac--[page_url].tpl.php)

mrkalten's picture
mrkalten
Thu, 10/06/2016 - 05:10

Hi,

Thank you for responding.

1 - ok I will test updating

2 - Two things : 

- I've tried to override the template with "page--ac--[page_url].tpl.php" and can't make it work. Right now the only template that does override is "page--node--type--page.tpl.php" but this override all of the pages.

- when i look in mdvendor you don't have a specific template for "our process" and for "landing". So how did you decide which one has the header ?

Regard,

cindy's picture
cindy
Thu, 10/06/2016 - 22:58

Hi,

- page--ac--[page_url].tpl.php: You need to replace [page_url] with the page url

for example,http://examples.com/node/1 => page--ac--node--1.tpl.php
- "Our process" is a page: You just need to create a new page which has the same url.

 "Our Process" is a section: please check option custom class in Section setting

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.