Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show FAQ page on custom page? #18

Closed
mhvejsel opened this issue Apr 8, 2019 · 3 comments
Closed

Show FAQ page on custom page? #18

mhvejsel opened this issue Apr 8, 2019 · 3 comments

Comments

@mhvejsel
Copy link

mhvejsel commented Apr 8, 2019

Hello, can i not show the FAQ on a custom content page?
I want to add some text and maybe use a sidebar ;)

Thanks.

@mageprince
Copy link
Owner

Hi @mhvejsel
Use faq CSS and js in .

<head>
    <css src="Prince_Faq/css/faq.css"/>
    <link src="Prince_Faq/js/faq.js"/> 
</head>

And call FAQ phtml in or where you want to show FAQ in custom page layout xml

<block class="Prince\Faq\Block\Index\Index" name="index.index" template="Prince_Faq::index/index.phtml"/>

@mikehenze
Copy link

This does not seem to work.
Can you please explain how to show the faq inside a normal cms page?

@mageprince
Copy link
Owner

@mikehenze You can now show all FAQ or show FAQ by group id on CMS or Static Block. Please download latest version of the module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants