{CART_MENU} als Liste {CART_MENU} als Liste
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

{CART_MENU} als Liste

Started by cap, February 22, 2008, 05:32:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cap

Hallo Stramm

Hab noch eine Frage: Wie kann ich die drei Punkte des {CART_MENU} ( X Bild(er) im Warenkorb :: Meine Bestellung :: Bestellen! ) als Liste anzeigen lassen. Ich möchte, dass die drei Einträge genau gleich aussehen wie das restliche Menü, siehe Bild.

Danke

Stramm

In codebase.php editierst Du die Funktion photoshop_user_menu. Dann sollte es klappen.

cap

Guten Abend Stramm

Danke für Deinen Tipp. Hat mich zwar noch einiges an Hirnschmalz, "Try and Error" und Schweiss gekostet, aber ich habe es geschafft.
Stolz auf mich bin  ;D

andere sollen es einfacher haben:
//the user menu, 'ximages in cart, my orders, checkout'
function photoshop_user_menu(&$html){
    global $template_sys_menu_spacer, $lang_photoshop;
    if (!strpos($html,'{CART_MENU}')) {
$html = str_replace('{ADMIN_MENU}','{CART_MENU}<br />{ADMIN_MENU} ',$html);
}
//if you do not want the MyOrders page then uncomment the following line and comment out the one with the menu entry
   
//$cart_menu =
"<a href=\"index.php?file=photo_shop/photo_shop_cart\">".photoshop_count()." {$lang_photoshop['in_cart']}</a><br>
<a href=\"index.php?file=photo_shop/photo_shop_checkout\">{$lang_photoshop['checkout']}</a>";
      $cart_menu = "<h3>Shopmenü</h3><ul><li><a href=\"index.php?file=photo_shop/photo_shop_cart\">".photoshop_count()." {$lang_photoshop['in_cart']}</a><br></li>";
if (USER_ID) $cart_menu .= " <li><a href=\"index.php?file=photo_shop/photo_shop_myorders\" >{$lang_photoshop['myorders']}</a></li>";
$cart_menu .= " <li><a href=\"index.php?file=photo_shop/photo_shop_checkout\" >{$lang_photoshop['checkout']}</a></li></ul>";

    $html = str_replace('{CART_MENU}',$cart_menu,$html);

    return $html;
}


Danke Cap