eugene-last Posted October 3, 2016 Share Posted October 3, 2016 I created a page from admin panel. Where is it stored and how do I access it from another template? Link to comment Share on other sites More sharing options...
eugene-last Posted October 3, 2016 Author Share Posted October 3, 2016 Which table?? Link to comment Share on other sites More sharing options...
eugene-last Posted October 3, 2016 Author Share Posted October 3, 2016 Hey anyone? I posted a page. I studied thouroughly all the 250 tables of db and I did not find anything related to my page. So which table?? Link to comment Share on other sites More sharing options...
rocky Posted October 5, 2016 Share Posted October 5, 2016 Do you mean the pages on the Preferences > SEO & URLs tab? They only store the page title and meta information (in the ps_meta and ps_meta_lang databases tables). They do not store any content. CMS pages are used for creating new pages of content. If you're trying to create a page from a module, you'll need to create a controller such as modules/<module_name>/controllers/front/<page_name>.php with a class that extends ModuleFrontController, then you assign variables and set the template in the initContent() function. Have a look at modules such as the loyalty module to see how it's done. Link to comment Share on other sites More sharing options...
eugene-last Posted October 5, 2016 Author Share Posted October 5, 2016 Why this system has no future? Because it is stupid. I only have to deal with it becase I got an order and I was one time so stupid to agree to that order. Never again I will use or advise anyone to use this wretched stupid system. 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