yabble Posted June 12, 2009 Posted June 12, 2009 Hey guys i installed the Basic Design Pack contribution and it made all buttons horrible, i managed to find some info on the forum, they changed most buttons but left a couple. The code below has been lifted from the html_output.php, the bits underlined are what i changed thanks to contributions online, they have changed most buttons but left a few behind. Now the bit in bold when i replace that with the underlined code it changes the buttons but you cant press them, example; enter your sign in information, try to click sign in but it does nothing. Also when you put the cursor over the dead buttons, the cursor stay as an arrow but live buttons it changes to a hand. Hope i have explained clear enough. Cheers peeps //// // The HTML form submit button wrapper function // Outputs a button in the selected language // BEGIN: CSS Buttons Everywhere function tep_image_submit($image, $value = '-AltValue-', $parameters = '') { global $language; $css_submit = '<input type="submit" class="cssButton" value="' . tep_output_string($value) . '" />'; return $css_submit;} // END: CSS Buttons Everywhere //// //// // Output a function button in the selected language function tep_image_button($image, $alt = '', $parameters = '') { global $language; return tep_image(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image, $alt, '', '', $parameters); }
germ Posted June 12, 2009 Posted June 12, 2009 Looks like you're confusing two different functions. function tep_image_submit and function tep_image_button They aren't interchangable. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.