Jump to content
Sign in to follow this  
qkzoo

InfoBox Admin

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

Share this post


Link to post
Share on other sites

 

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

 

If using ver 2.3, boxes is located catalog/includes/modules/

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

It doesnt sound as though that contribution is compatible with 2.3.1.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

Lovely, now is time to reverse engineer what I've done. Is there a similar tool for 2.3.1?

Share this post


Link to post
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

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
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

 

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');
   	  }

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×