xhaling Posted January 13, 2013 Share Posted January 13, 2013 Hi, On all of my CMS pages, I have the title "CMS page" as the title as you can see in the picture I've tried altering all the meta titles etc. but can't seem to get rid of it. Is there a way please? Cheers! Link to comment Share on other sites More sharing options...
El Patron Posted January 13, 2013 Share Posted January 13, 2013 did you try to modify using preference-->cms pages? Link to comment Share on other sites More sharing options...
xhaling Posted January 14, 2013 Author Share Posted January 14, 2013 Hi Elpatron, Yes, I have edited everything in the back office but still can't get it to change. Any thoughts? Would I need to edit the source code? If so, which file would it be? Appreciate any help you can give. Link to comment Share on other sites More sharing options...
vekia Posted January 14, 2013 Share Posted January 14, 2013 Ah, dear xhaling it's not related to back office and cms configuration tab. This "title" is probably located in template of cms. Try to find it out in cms.tpl file which you can find in your theme directory. Before any modifications make a backup of this file 1 Link to comment Share on other sites More sharing options...
juju298 Posted March 20, 2022 Share Posted March 20, 2022 hey guys, where can I find the theme directory? Is it via ftp? Link to comment Share on other sites More sharing options...
Ress Posted March 21, 2022 Share Posted March 21, 2022 Sure, Sure, you connect via ftp, and the theme folder is in the root of prestashop. For example, the cms page template path is: prestashop/themes/classic/templates/cms/page.tpl Link to comment Share on other sites More sharing options...
juju298 Posted March 21, 2022 Share Posted March 21, 2022 and what is the code for not showing the page title and page space? Link to comment Share on other sites More sharing options...
Ress Posted March 21, 2022 Share Posted March 21, 2022 Add this block, just as it is, with empty content, to make the title disappear. {block name='page_header_container'}{/block} Link to comment Share on other sites More sharing options...
Denis.nocoderdude Posted March 22, 2022 Share Posted March 22, 2022 Hey Ress i got the same issue. i added your code but left the rest as it was. Do i need to change or delete part of the code? Here is my code: {extends file='page.tpl'} {block name='page_header_container'} {/block} {block name='page_title'} {$cms.meta_title} {/block} {block name='page_content_container'} <section id="content" class="page-content page-cms page-cms-{$cms.id}"> {block name='cms_content'} {$cms.content nofilter} {/block} {block name='hook_cms_dispute_information'} {hook h='displayCMSDisputeInformation'} {/block} {block name='hook_cms_print_button'} {hook h='displayCMSPrintButton'} {/block} </section> {/block} Link to comment Share on other sites More sharing options...
Ress Posted March 23, 2022 Share Posted March 23, 2022 It's okay, yes. Does it work properly? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now