Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add new page to admin?


mmendo

Recommended Posts

Can anyone tell me how to add a new page to the admin? I would like to make a page where I can enter links to the pages I use most. I tried to duplicate and rename a file in both the admin root and the includes/languages/english folders and add the new filename to the filenames.php file, but I still get a FILENAME_FORBIDEN on the URL.

 

What am I missing?

 

Thanks

Link to comment
Share on other sites

That is the correct procedure. Did you edit the files so they reference the new file name? Do you have a contribution installed like Admin Access? If so, the new page has to be enabled before it can be used.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Thanks for your reply. I do have an admin access contribution installed, but I'm not sure how to enable the new page? Also, I'm not sure what needs to be edited when you say 'Did you edit the files so they reference the new file name?'

 

Thanks again for your help.

Link to comment
Share on other sites

There is an add files link in the administration section of admin. You have to select the correct section and then use the Store Files dropdown to add the new files. For editing the files, I meant that you need to open the files you copied and cahnge the references in them. For example, if you create a new page using the privacy page, that new page will still try to call the privacy file from the languages directory because the code in the file tells it to. You would have to edit that file and change that reference to point to the new file in the languages directory in order for it to work.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...