CMS-recovery
One of my admins to my site has erased "Custom Pages" from the content,..... how do i recover it so that Custom Pages can be seen and new pages can be added easily once again?
One of my admins to my site has erased "Custom Pages" from the content,..... how do i recover it so that Custom Pages can be seen and new pages can be added easily once again?
you will need to access the power store database directly and run the following sql commands to recreate them:
INSERT INTO `ps4_contents` (`ContentID`,`ContentGroup`,`ContentRefID`,`ContentValue`,`ContentDate`,`ContentUserID`,`ContentPageName`,`ContentPageSetParentID`,`ContentPageSetOrder`,`ContentType`,`ContentParentGroup`) VALUES
(8,'Custom Pages','Content','<h2>Using the Custom Pages feature</h2><p>The Custom Pages feature allows you to change the pages and menu items that are listed in the navigation.  Any new pages that you create based on the \'Custom Pages\' template in the Content column will automatically be added to your navigation menu.</p><ol><li>From the Content column, hover over the Custom Pages option and press the green (+) icon to create a new page based on that template.</li><li>Enter a name for that page (this is what will be listed in the navigation.</li><li>Now that the page has been inserted, you can edit the Header and the Content to say what you would like.</li></ol>','2009-11-19 14:33:24',0,NULL,8,NULL,'WYG','Custom Menu');
INSERT INTO `ps4_contents` (`ContentID`,`ContentGroup`,`ContentRefID`,`ContentValue`,`ContentDate`,`ContentUserID`,`ContentPageName`,`ContentPageSetParentID`,`ContentPageSetOrder`,`ContentType`,`ContentParentGroup`) VALUES
(9,'Custom Pages','Header','Your page header','2009-11-19 14:33:24',0,NULL,9,NULL,'TXT','Custom Menu');
INSERT INTO `ps4_contents` (`ContentID`,`ContentGroup`,`ContentRefID`,`ContentValue`,`ContentDate`,`ContentUserID`,`ContentPageName`,`ContentPageSetParentID`,`ContentPageSetOrder`,`ContentType`,`ContentParentGroup`) VALUES ('111', 'Custom Pages', 'meta-title', 'Page - [Site Name]', '2010-09-27 13:47:34', '0', '', '111', null, 'WYG', '0');
INSERT INTO `ps4_contents` (`ContentID`,`ContentGroup`,`ContentRefID`,`ContentValue`,`ContentDate`,`ContentUserID`,`ContentPageName`,`ContentPageSetParentID`,`ContentPageSetOrder`,`ContentType`,`ContentParentGroup`) VALUES ('114', 'Custom Pages', 'meta-keywords', '', '2010-09-27 13:47:43', '0', '', '114', null, 'WYG', '0');
INSERT INTO `ps4_contents` (`ContentID`,`ContentGroup`,`ContentRefID`,`ContentValue`,`ContentDate`,`ContentUserID`,`ContentPageName`,`ContentPageSetParentID`,`ContentPageSetOrder`,`ContentType`,`ContentParentGroup`) VALUES ('117', 'Custom Pages', 'meta-description', '', '2010-09-27 13:47:50', '0', '', '117', null, 'WYG', '0');
i ran the script but it did not work,... siad theres was duplicates.
i then erase all things names custom pages within the ps4 contents and ran the script again, this time it was successful.... however,..... it still does not show up on the admin page admin/cms_index.php? under the menu.
still stuck in the same spot, any other suggestions?
try this the query attached to this post
if that does not work the only way to get it back will be to drop the table completely and run the original install script for that table.
I stupidly errased the custom menu out of the admin. The custom pages are now shown on the top level. How can I make this work properly again.
did you try the query in post 4 of this thread?
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.