oddski12 Posted November 12, 2009 Share Posted November 12, 2009 Hi all, I just need a little help installing the Page Editor contribution on 2.2rc2a. The install instructions all go smoothly except one. It states :- ------------- STEP7 ------------- Open catalog/admin/index.php Find near line:46 array('title' => BOX_HEADING_REPORTS, 'image' => 'reports.gif', 'href' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports'), 'children' => array(array('title' => REPORTS_PRODUCTS, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports')), array('title' => REPORTS_ORDERS, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS, 'selected_box=reports')))), After it, insert: // BOF edit pages array('title' => BOX_HEADING_PAGES, 'image' => 'pages.gif', 'href' => tep_href_link(FILENAME_PAGES, 'selected_box=pages'), 'children' => array(array('title' => PAGES_LIST_PAGES, 'link' => tep_href_link(FILENAME_PAGES, 'selected_box=pages')), array('title' => PAGES_ADD_PAGE, 'link' => tep_href_link(FILENAME_PAGES.'', 'selected_box=pages&action=new_page')))), // EOF edit pages Now, as best I can make out, this format is no longer used in newer versions of OSC, and each heading has its own .php file in /admin/includes/boxes/. I deduced this because my index.php looks NOTHING like this, lol! I really can't work out what I need to do to transfer this into a new file and get this working, and would appreciate any guidance anyone can give me. Thanks in advance, Adam Quote Link to comment Share on other sites More sharing options...
Jiipee70 Posted November 17, 2009 Share Posted November 17, 2009 (edited) I am stuck with this same problem, any help? I only need some contrib that allows adding few extra content pages that can be edited from admin area. I have tried Information Pages Unlimited and Page Editor, but can not get them to work. Edit: I noticed that there might be security issue with Page Editor: read here So any suggestion what would be easy enough contrib to use? Edited November 17, 2009 by Jiipee70 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.