Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Featured products 1.5


lbackmol

Recommended Posts

I get this message:

Fatal error: Cannot instantiate non-existent class: contentboxheading in /customers/nisse.se/nisse.se/httpd.www/catalog/admin/includes/languages/Svenska/featured.php on line 42

 

Line 42 contains this:

$num ++; if ($num == 1) { new contentBoxHeading($info_box_contents); }

 

 

Please HELP!!! :o

/Lars

Link to comment
Share on other sites

In includes/classes/boxes.php

 

add this

class contentboxheading extends tableBox {
     function contentboxheading($contents) {
       $this->table_data_parameters = 'class="contentboxheading"';
       $this->tableBox($contents, true);
   }
 }

 

then in stylesheet.css make the class if you haven't already

 

Dave

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.
Note: Your post will require moderator approval before it will be visible.

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