Jump to content

Cms Pages - Page Content Not Showing In Back Office


Recommended Posts

Prestashop 1.5.6.1

 

 

 

 

Preferences - CMS pages -

 

                                   Page content not showing in back office  

            (  so i cannot add any information here I am not able to edit )

 

 I have searched forum but nothing similar and some are confusing 

any help

 

thank you

 

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

I have four page cms in category home, all perfect. But added new two pages in category home.

Adding cms page: preferencias -- CMS -- New CMS page, fill in all requiried content----save the changes

 

Foote menu: modules - "CMS Block"  click cinfigure button---configure link footer, added page.alll ok save all!!

 

BUTTTT Page Content Not Showing in the webb !! alll white..same only title..!!

 

 

 

Link to comment
Share on other sites

trying to do

 

public_html/yourwebsite.com/controllers/front/CategoryController.php

cms = new CMS(7, (int)Context::getContext()->language->id )

cms = new CMS(8, (int)Context::getContext()->language->id )

 

o ?¿

$cms = new CMS(7, $this->context->language->id);

$cms = new CMS(8, $this->context->language->id);

public function initContent()
         {
                 parent::initContent();
        $id_cms=7;
            $this->cms = new CMS($id_cms, $this->context->language->id);
                          $this->context->smarty->assign(array(
                                   'cms' => $this->cms,
                                   'content_only' => (int)Tools::getValue('content_only'),
                                   'path' => $path,
                                   'body_classes' => array($this->php_self.'-'.$this->cms->id, $this->php_self.'-'.$this->cms->link_rewrite)
                          ));
 
 
                 $this->setTemplate(_PS_THEME_DIR_.'cms.tpl');

it correcttt ?¿

 

id_lang= 4

id lang=1

id_lang=5

id_lang= 6

id_lang=7

 

?¿

Link to comment
Share on other sites

  • 2 months later...

A quick explanation:

 

Go in menu of back office: Administratation -> Menus

Mtsun1a.png

 

Add new menu

wJLGIR2.png

 

Compile as this image

2ldvlkq.png

 

You will be able to access finally to your CMS menu in Preference.

 

(if question is still not resolved, take a check in https://www.prestashop.com/forums/topic/358766-cms-disappear-from-backoffice-preference-menu/)

Original topic solution

Edited by lllrlll (see edit history)
Link to comment
Share on other sites

  • 7 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...