I have followed the instructions found on the Guides for building a custom layout:
NOTE: The portfolio is an engine of my own, not the refinerycms-portfolio.
config.layout_template_whitelist = ["application","portfolio"]
config.use_layout_templates = true
- Created a portfolio.html.erb under app/views/layouts and copied everything from the
application.html.erb
except for the<header>
section: I do not want the menu and logo shown in this layout, but all the rest - I can now see the layouts in the back end.
- If I choose my portfolio page and press preview, the layout renders without the menu
- However, if I go directly to
/portfolios
, the 'application' layout renders and not the 'portfolio'
Any ideas please?
Thank you...