Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding a new sidebox in admin?


Guest

Recommended Posts

Hi

 

I need help in adding a new sidebox in to the admin side?

could someone give me a step-by-step guide.

 

Thanks

 

I did get one to show and work but I could not get it to open.

Link to comment
Share on other sites

What you need it for?

I have made one last week you can have but not sure if it will suit you or not.

Nic

 

to call pages I have done so I can setup and configure sold items.

 

I am also looking for a mod or make a page that will queue all the items in a order by type/Categories so then I can do a manual order or use a cron to use a API?

Link to comment
Share on other sites

Hi

 

I also have done a my most used link mod but I can not get the box to open other then that it all works if i can get it to open (that is to drop open to show the list) then I will add it to the add-on in osC.

 

if I send it to you could you have a look at it to see if you can get it to work i have done a readme for it?

Link to comment
Share on other sites

Hi Simon

Yes do that, worth pointing out at the mo am having great problems with my connection!

Think the cable modem is on its way out.

 

Either post the code here or PM me.

If its of benefit to others in return you put it as a contribution?

Regards

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Hi Simon

Yes do that, worth pointing out at the mo am having great problems with my connection!

Think the cable modem is on its way out.

 

Either post the code here or PM me.

If its of benefit to others in return you put it as a contribution?

Regards

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Hi

There were some incorrect names in the file.

Use this code to replace your admin / includes / boxes / mul_page.php

 

 

 

 

<?php

/*

$Id: mul_page.php,v 2.00 14/08/2008 Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2008 osCommerce

 

Released under the GNU General Public License

*/

?>

 

<tr>

<td>

<?php

$heading = array();

$contents = array();

 

$heading[] = array('text' => BOX_HEADING_MY_MOST_USED_LINK_MUL_INK_PAGE,

'link' => tep_href_link(FILENAME_MUL_INK_PAGE_01, 'selected_box=mul_page'));

 

if ($selected_box == 'mul_page') {

$contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_MUL_INK_PAGE_01) . '" class="menuBoxContentLink">' . BOX_MY_MOST_USED_LINK_MUL_INK_PAGE_01 . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_MUL_INK_PAGE_02) . '" class="menuBoxContentLink">' . BOX_MY_MOST_USED_LINK_MUL_INK_PAGE_02 . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_MUL_INK_PAGE_03) . '" class="menuBoxContentLink">' . BOX_MY_MOST_USED_LINK_MUL_INK_PAGE_03 . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_MUL_INK_PAGE_04) . '" class="menuBoxContentLink">' . BOX_MY_MOST_USED_LINK_MUL_INK_PAGE_04 . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_MUL_INK_PAGE_05) . '" class="menuBoxContentLink">' . BOX_MY_MOST_USED_LINK_MUL_INK_PAGE_05 . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_MUL_INK_PAGE_06) . '" class="menuBoxContentLink">' . BOX_MY_MOST_USED_LINK_MUL_INK_PAGE_06 . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_MUL_INK_PAGE_07) . '" class="menuBoxContentLink">' . BOX_MY_MOST_USED_LINK_MUL_INK_PAGE_07 . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_MUL_INK_PAGE_08) . '" class="menuBoxContentLink">' . BOX_MY_MOST_USED_LINK_MUL_INK_PAGE_08 . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_MUL_INK_PAGE_09) . '" class="menuBoxContentLink">' . BOX_MY_MOST_USED_LINK_MUL_INK_PAGE_09 . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_MUL_INK_PAGE_10) . '" class="menuBoxContentLink">' . BOX_MY_MOST_USED_LINK_MUL_INK_PAGE_10 . '</a>');

 

 

}

 

$box = new box;

echo $box->menuBox($heading, $contents);

?>

</td>

</tr>

 

 

It will work OK, rest of your contribution is fine,

Nice one :-)

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...