Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

InfoBox Admin


qkzoo

Recommended Posts

On step 4. it says:

 

 

STEP 4.

 

open catalog\includes\boxes and replace each box file named below;

categories.php

manufactures.php

manufactures_info

product_notifications.php

tell_a_friend.php

languages.php

currencies.php

order_history.php

 

 

And that should be it!!

 

I don't even have this directory in my installation (2.3). What do I do now?

 

Andy

Link to comment
Share on other sites

Whoa, step 4:

 

STEP 4.

 

open catalog\includes\boxes and replace each box file named below;

categories.php

manufactures.php

manufactures_info

product_notifications.php

tell_a_friend.php

languages.php

currencies.php

order_history.php

 

 

This is not what my includes\boxes looks like. Mine are called bm_categories.php, bm_manufactures.php, etc. When I place these files side by side they look completely different, and now I'm wondering if I've screwed up my stuff adding this. What do I do here? Copy these (possibly old) files over my current ones, or have I screwed this step up somehow? Is there an official thread for this, I didn't see one when I looked...?

 

Andy

Edited by qkzoo
Link to comment
Share on other sites

What contribution are you trying to install?

 

The bm_categories.php and etc is located in includes/modules/boxes and the language files is located in includes/languages/english/modules/boxes/

Edited by blr044
Link to comment
Share on other sites

Installing this contribution, Infobox Admin , I get this message;

Fatal error: Call to undefined function _box() in /home/user/public_html/yebocom.com/includes/columns.php on line 23

 

Has anyone encountered this and how did you solve it?

 

 

Felix

Edited by ogwinilo
Link to comment
Share on other sites

I have just looked at that contribution, and i think you are trying to install something which is already part of 2.3.1. In 2.3.1 you can already choose which infoboxes are in which column in admin. In the modules section of admin, click on boxes. You will see a list of available boxes in the centre of yourr screen. If you down want a box to show, delete the module. If you want a box to show, say categories, you click on categories, go to the right of the screen, click the edit button, you can assign a box to a column. You can then alter the 1000 or 5000 to position the box within the column.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

  • 4 months later...

Installing this contribution, Infobox Admin , I get this message;

Fatal error: Call to undefined function _box() in /home/user/public_html/yebocom.com/includes/columns.php on line 23

 

Has anyone encountered this and how did you solve it?

 

 

Felix

 

I get that same error

 

Fatal error: Call to undefined function _box() in /xxx/catalog/includes/columns.php on line 23

 

ONLY when "using cache" in configuration is set to true. Shop works just fine if use of cache is set to false.

 

The following is line 17 to 34 of my columns.php. Can anyone see why this happens?

 

 
define($column['cfgkey'],$column['box_heading']);

 if ( file_exists(DIR_WS_BOXES . $column['cfgtitle'] . '.php') ) {
   switch ($column['cfgtitle']) {
   	case "categories":
   	  if ((USE_CACHE == 'true') && empty($SID)) {
   	  	echo tep_cache_ . $column['cfgtitle'] . _box(); ///////////////////// thats line 23 !!
   	  } else {
   	  	require(DIR_WS_BOXES . $column['cfgtitle'] . '.php');
   	  }
  	  	echo '<tr><td>' . tep_draw_separator('pixel_trans.gif', '100%', '4') . '</td></tr>';
   	  break;
   	case "manufacturers":
   	  if ((USE_CACHE == 'true') && empty($SID)) {
   	  	echo tep_cache_ . $column['cfgtitle'] . _box();
   	  } else {
   	  	require(DIR_WS_BOXES . $column['cfgtitle'] . '.php');
   	  }

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...