Hi there!
Well, that´s it, what´s the tpl that controls the /faq-page?
I´ve read the explanation at the top of each tpl file inside the module, but can´t understand what file should I override.

When I enter the /faq-page url, I have the categories. When I click each category, they open in a new page.
So I´ve tried the faq-category-new-page.tpl.php

But it won´t work. I´ve copied tht tpl into my theme, opened it and added some css classes. They won´t work (even when I´ve flushed cache).

What template should I choose? Thanks!
Rosamunda

Comments

YPCrumble’s picture

Issue summary: View changes

There isn't a template for /faq-page because it's created in faq.module. It looks like there was a PR to create a template in D6 (https://www.drupal.org/node/205113) but I can't see any issues/bugfixes to do this for D7. Happy to contribute if this is something the maintainers would appreciate!

Anonymous’s picture

I applied the faq module to my drupal project, I have the categories and select categories layout new page when I open the / faq-page url it shows categories but i can't override list category so i think faq module missing this case. So I created a patch for this module, adding a faq-list-category-new-page.tpl.php template to the controls list category.

Anonymous’s picture

COMMENT AND ATTACHMENTS REMOVED

Anonymous’s picture

JudyPJHsu’s picture

I am interested in this as well.

aurelianzaha’s picture

StatusFileSize
new83.82 KB
new95.69 KB

Hi,

For templating the overview page, you can chnage the faq-category-questions-top.tpl.php file from the module.

For templating the content display (question/answer), create node--faq.tpl.php in you template folder and make your chnages there.

regards
Aurelian

avpaderno’s picture

Status: Active » Fixed

I am closing this support request, since it has been answered from comment #1.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.