Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New theme contibution


Guest

Recommended Posts

Hey Hey!!  

 

Now Now children, its Christmas.  

 

Sound like sour grapes here.  

 

But I must say thanks for a great contribution and the instructions on web site are spot on.

 

Mmmmmm almost spot on :?:

 

you will nead to alter two more files

 

look for the following in:-

catalog/popup_search_help.php and

catalog/advanced_search.php

 

  new infoBoxHeading($info_box_contents, true, true);

 

and replace with

 

  new infoBoxHeading($info_box_contents, $newtheme, true, true);

 

:lol: Jules :lol:

Link to comment
Share on other sites

  • 1 month later...

I have allreade overcome a lot of problems with the themepack. (all my own fault by the way).

 

I have one (big) problem left.

 

The admin part runs perfectly but when i trie to open the shop i get:

 

Fatal error: Call to undefined function: tep_parse_input_field_data() in /home/sites/site205/web/catalog/catalog/includes/functions/html_output.php on line 113

 

Will be my own fault again but i can not seem to find the awnser.

 

Hope someone can help me.

Link to comment
Share on other sites

Bert

 

The very top part of your HTML_OUTPUT.php should look like this:

 

<?php

/*

 $Id: html_output.php,v 1.48 2002/11/23 02:08:11 thomasamoulton Exp $



 osCommerce, Open Source E-Commerce Solutions

 http://www.oscommerce.com



 Copyright (c) 2002 osCommerce



 Released under the GNU General Public License

*/



////

// Parse the data used in the html tags to ensure the tags will not break

 function tep_parse_input_field_data($data, $parse) {

   return strtr(trim($data), $parse);

 }

 

It looks as though the function has been deleted or changed.

 

Lango

Link to comment
Share on other sites

May be too late based on Paul's October post and his subsequent taking down of the install instructions...

 

1) Does anyone have a copy of the install procedure that's no longer available from his website?

 

2) How would one go about updating from the original Thema contribution to Paul's improved version?

 

Thanks!

Ryan Thrash

Link to comment
Share on other sites

Just downloaded most recent snapshot and installed to the instructions,

 

You will need to make one change on the database side

 

you must change the configuration_id from this:

 

INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, 

`configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, 

`set_function`) VALUES("122", "Site Theme Options", "STORE_THEME", "black_orange", "You can change site thema rnrnform 

here.", "1", "19", "2003-01-28 21:41:48", "0000-00-00 00:00:00", "", "tep_cfg_select_option(array('WhatsNew', 

'original', 'blue', ' black_orange'),");

 

to this:

 

INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, 

`configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, 

`set_function`) VALUES("130", "Site Theme Options", "STORE_THEME", "black_orange", "You can change site thema rnrnform 

here.", "1", "19", "2003-01-28 21:41:48", "0000-00-00 00:00:00", "", "tep_cfg_select_option(array('WhatsNew', 

'original', 'blue', ' black_orange'),");

 

Other than that i don't see any problems.

 

The reason it does not work on the loaded4 snapshot is the fact that Ian has included the contribution By Ferhat Kurt and already has a theme based system.

Link to comment
Share on other sites

  • 1 month later...

I have followed the directions at http://www.dcpcwebdevelopment.co.uk/instructions/ and I get the following error on all pages:

Parse error: parse error in /home/sites/site16/web/osCommerce/catalog/includes/column_right.php on line 21

I have tried debugging and am at a loss.

 

The site I am developing is at http://www.kangaroomailer.com/osCommerce/c...log/default.php

 

Any help would be greatly appreciated. This is a great contribution ad i hope more comes of it.

Link to comment
Share on other sites

check for extra spaces/lines at the bottom of the file(s)

 

a .php file NEVER should contain this after the ?> at the bottom,

so ELIMINATE that extra line/space that you have there :)

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

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