Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: {CART_MENU} als Liste  (Read 3715 times)

0 Members and 1 Guest are viewing this topic.

cap

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
    • www.formbox.ch
{CART_MENU} als Liste
« on: February 22, 2008, 05:32:52 pm »

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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: {CART_MENU} als Liste
« Reply #1 on: February 22, 2008, 06:16:33 pm »

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

cap

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
    • www.formbox.ch
Re: {CART_MENU} als Liste
« Reply #2 on: February 22, 2008, 11:46:03 pm »

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:
Code: [Select]
//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

Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.