Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add New Admin Page


seanmccabe

Recommended Posts

Hi All,

 

Was wondering if someone could give me hand with a little something I am trying to do.

 

I am trying to replicate the manufacturers page in the admin panel and make one that is a supplier page, I want to be able to keep track of all my suppliers and their pages, and the manufacturers page has the structure I need.

 

Now I have created a seperate suppliers table, in the same format as the manufacturers table, and I have replicated the page, and swapped out all the manufacturers references for suppliers. However, when I try to go onto the page, I get alot of things similar to this:

 

TEXT_DISPLAY_NUMBER_OF_SUPPLIERS
HEADING_TITLE

 

I've tried searching through the forum and Google to find out where these are referenced from.

 

Help with this would be greatly appreciated, and I'm sure someone has wanted to do something similar before.

post-316064-0-03370600-1362369727_thumb.png

Link to comment
Share on other sites

It looks as if you have not defined the the new definitions in a language file. Try copying the admin/includes/languages/english/manufacturers.php file and rename everything inside to match the new defines in the newly created suppliers page.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

It looks as if you have not defined the the new definitions in a language file. Try copying the admin/includes/languages/english/manufacturers.php file and rename everything inside to match the new defines in the newly created suppliers page.

 

That certainly solved that problem, thank you :)

 

Just one other problem. Im getting the message:

 

[b]Fatal error[/b][color=#000000][font='Times New Roman'][size=1]: Call to undefined function tep_get_supplier_url() in [/size][/font][/color][b]/home/admin/domains/mydomain.com/public_html/store/admin/suppliers.php[/b][color=#000000][font='Times New Roman'][size=1] on line [/size][/font][/color][b]202[/b]

 

Any ideas how to fix that? I've checked the line, and its the same as the manufacturers one, but obviously with manufacturer swapped out, so not sure where that is going wrong.

Link to comment
Share on other sites

That certainly solved that problem, thank you :)

 

Just one other problem. Im getting the message:

 

[b]Fatal error[/b][color=#000000][font='Times New Roman'][size=1]: Call to undefined function tep_get_supplier_url() in [/size][/font][/color][b]/home/admin/domains/mydomain.com/public_html/store/admin/suppliers.php[/b][color=#000000][font='Times New Roman'][size=1] on line [/size][/font][/color][b]202[/b]

 

Any ideas how to fix that? I've checked the line, and its the same as the manufacturers one, but obviously with manufacturer swapped out, so not sure where that is going wrong.

 

Not to worry, was trying to find it earlier today, but couldnt, another look and i've found it straight away.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...