Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help needed with 'Page Editor' contribution


oddski12

Recommended Posts

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

Link to comment
Share on other sites

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 by Jiipee70
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...