Jump to content

Impudent1

Members
  • Content count

    17
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Ross McTaggart
  1. I have been looking thru the archives and have not seen any solution to this one. Is there any way to "lock" the admin to the language you have originated into the admin from? Reason being is that on my site, which is running an english/french language set,but with the admin side being in english only this mod shows some mischevious behaviour. If you click on the "view session" link for any session in which someone has changed to the french language, the whole admin interface changes to french as well. I saw someone ask similar about german admin snapping to english on their site earlier in the thread but did not see any fixes so forgive the reasking but this is one of the list of "monkey on my back" fixes :) tia and yes to say what everyone else has, great mod ! Impudent1 LeapFrog Productions
  2. I have been working on adding a products_quality display that will show a per item quality level. So I created a products_quality field in the products field, I have it as set('10', '9', '8', '7', '6', '5', '4', '3', '2', '1') , not null, defaulting to 7. I then setup my product_info languages definitions, then added this to my product_info.php: <?php //quality if (tep_not_null($product_info['products_quality'])) { echo TEXT_PRODUCTS_QUALITY.' '.$product_info['products_quality']; } //quality ?> I then setup my admin language files definition , then I started the admin/categories.php edits, of course doing the usual addition of the products_quality to the existing array and queries. the table addition of the following above the TEXT_PRODUCTS_NAME display section: <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> <tr bgcolor="#cdefdf"> <td colspan="2"> <table border="0" width="100%"> <tr> <td class="main" align="left"><?php echo TEXT_PRODUCTS_QUALITY; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '1', '1') . ' ' . tep_draw_pull_down_menu('products_quality', $quality_array, $pInfo->products_quality ); ?></td> </tr> </table> </td> </tr> the last following bit I added was just below the $tax_class_array section: $quality_array = array('id' => '', '1 It hurts to think about', '2 Really Trashed', '3 Poor', '4 Better than Poor below G', '5 Good', '6 Better than Good below VG', '7 Very Good', '8 Better than VG below NM', '9 Near Mint', '10 Mint' ); so now here is my real dilemna ;p In the admin side when creating a new product I get the pulldown listing, BUT it is only a single digit. I can edit the database addition to the products table to change from say '7' to '7 Very Good' and that will work, but in the admin side it still only shows me the single digits in the pulldown. I know its something simple with the array but I have not a clue, I did do some research of course before posting and tried doing an associative array as well but that just resulted in blanks in the pulldown ty in advance for any input you may have, once I clean this up a bit and get some of my other things working I will toss it and the qtvr link mod Impudent1 LeapFrog Productions
  3. I have noticed that the enable disable categories mod version 1.3.1 I have installed seems to not take the link from the manufacterers infobox for "other products" into account. If I have a product being viewed and then select the "other products" link from the manufacturer infobox it lists the products but shows all the icons for the categories INCLUDING any that have been toggled off. I am assuming that I am missing somewhere in the index.php and that it would be a simple matter to insert the "c.categories_status = '1' and" string between the where and c.parent_id=' in the query but I cannot seem to find where, and I do not wish to add it all over and break other things. any ideas or pointers are very appreciated. Impudent1 LeapFrog Productions
  4. Just curious about this one. How does one go about making the Admin page for creating a new products show the label text for meta tags fields in a second language? I have tried adding the following to the admin/includes/languages/french/categories.php : define('TEXT_PRODUCTS_PAGE_TITLE', 'Products Page Title:'); define('TEXT_PRODUCTS_HEADER_DESCRIPTION', 'French Product Descriptions:'); define('TEXT_PRODUCTS_KEYWORDS', 'French Product Keywords:'); but I still just get the field boxes with the flags and no text for the french description and meta tag boxes. I have seen on webmakerscorner site on the demo admin of the shopcontroller mod that it is possible , I just seem to be missing something tia
  5. A great contribution, definately makes it easier than showing a client how to create basic html descriptions with bullets etc and then pasting sourcecode in admin. I do have to put in a vote about spellchecking if you do a new update :) I seen on the HTMLArea site that some people have been able to get at least the word active x spellchecking connected as well as a free one that seems like it could be hacked into osc from http://www.master-technology.com/phpbb/
×