• Inloggen
  • Registreer
  • Zoeken
Dit topic
  • Overal
  • Dit topic
  • Dit forum
  • Artikelen
  • Pagina's
  • Forum
  • Downloads
  • Meer opties

ICTscripters

Dé plek voor IT

Dé plek voor IT

Aanmelden

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  1. Dé plek voor IT - ICTscripters
  2. Forum
  3. Scripting & programmeren
  4. Overige
  5. Archief
  6. Request

Forum

  • nieuwe game

    tigermaffia 31 oktober 2026 om 23:00
  • Criminolz

    qevanto 31 oktober 2026 om 20:52
  • [Beta] Ottomaan: gratis browserspel met een echte, levende stad. Feedback gezocht!

    frio 27 oktober 2026 om 12:22
  • Port Father: beta van een browsergame in Antwerpen 1931, feedback welkom

    Jeroen.G 26 oktober 2026 om 10:33
  • Maffia Hotel: een browsergame waarin je van lobbygast naar spil van het hotel groeit

    eeyk 22 oktober 2026 om 18:43
  • Crime Club volledig herschreven vanaf nul

    frio 19 oktober 2026 om 23:57
  • Malavita (nieuwe maffia game, van 0)

    jos 19 oktober 2026 om 23:18
  • Herkent deze Notion-structuurscan echte problemen?

    Jeroen.G 19 oktober 2026 om 15:09

Marktplaats

  • [Aanbod] Stadskaart voor je browsergame: van menu naar klikbare stad, vanaf €200

    frio 29 oktober 2026 om 18:17
  • [Verkoop] G4G (Gangsters 4 Gangsters): volledige broncode, nieuw gebouwd in PHP 8.3 | € 30 per domein

    frio 27 oktober 2026 om 18:54
  • [TE KOOP] Malavita.be [Maffiaspel, gebaseerd op omicidio.nl, unieke code]

    Dpm_x 26 oktober 2026 om 00:22

opencart hulp

  • Starohosting
  • 11 augustus 2011 om 14:14
  • Starohosting
    Professional
    Berichten
    736
    • 11 augustus 2011 om 14:14
    • #1

    Beste leden,
    Ik gebruik voor speurtjes.nl een opencart versie.
    Nou heb ik een theme geinstalleerd en een aantal modules.
    Sommige modules hebben een standaard template die ik niet heb.
    Hoe moet ik deze tpl bestand ombouwen naar de mijne.
    Als ik in mijn eigen theme kijk en een tpl bestandje pak die al bestaat komen er een aantal errors en word mijn theme vaag.

    Zou iemand mij kunnen helpen met het volgende:

    winkelwagen die goed staat in thema:

    PHP
    <div class="box" id="shoppingcart" >
      <div class="box-head"><?php echo $heading_title; ?></div>
      
      <div class="box-body">
          <div id="module_cart">
          <div class="middle">
            <?php if ($products) { ?>
            <table cellpadding="2" cellspacing="0" style="width: 100%;">
              <?php foreach ($products as $product) { ?>
              <tr>
                <td align="left" valign="top" style="width:1px"><span class="cart_remove" id="remove_<?php echo $product['key']; ?>">&nbsp;</span></td><td valign="top" align="right" style="width:1px"><?php echo $product['quantity']; ?>&nbsp;x&nbsp;</td>
                <td align="left" valign="top"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
                  <div>
                    <?php foreach ($product['option'] as $option) { ?>
                    - <small style="color: #999;"><?php echo $option['name']; ?> <?php echo $option['value']; ?></small><br />
                    <?php } ?>
                  </div></td>
              </tr>
              <?php } ?>
            </table>
            <br />
            <?php if ($display_price) { ?>
        	<table cellpadding="0" cellspacing="0" align="right" style="display:inline-block;">
              <?php foreach ($totals as $total) { ?>
              <tr>
                <td align="right"><span class="cart_module_total"><b><?php echo $total['title']; ?></b></span></td>
                <td align="right"><span class="cart_module_total"><?php echo $total['text']; ?></span></td>
              </tr>
              <?php } ?>
            </table>
        	<?php } ?>
            <div style="padding-top:5px;text-align:center;clear:both;"><a href="<?php echo $view; ?>"><?php echo $text_view; ?></a> | <a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>
            <?php } else { ?>
            <div style="text-align: center;"><?php echo $text_empty; ?></div>
            <?php } ?>
          </div>
          </div>
      </div>
      
    </div>
    
    
    
    
    
    
    <?php if ($ajax) { ?>
    <script type="text/javascript" src="catalog/view/javascript/jquery/ajax_add.js"></script>
    <?php } ?>
    
    
    <script type="text/javascript"><!--
    
    
    function getUrlParam(name) {
      var name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
      var regexS = "[\\?&]"+name+"=([^&#]*)";
      var regex = new RegExp(regexS);
      var results = regex.exec(window.location.href);
      if (results == null)
        return "";
      else
        return results[1];
    }
    
    
    $(document).ready(function () {
    	$('.cart_remove').live('click', function () {
    		if (!confirm('<?php echo $text_confirm; ?>')) {
    			return false;
    		}
    		$(this).removeClass('cart_remove').addClass('cart_remove_loading');
    		$.ajax({
    			type: 'post',
    			url: 'index.php?route=module/cart/callback',
    			dataType: 'html',
    			data: 'remove=' + this.id,
    			success: function (html) {
    				$('#module_cart .middle').html(html);
    				if (getUrlParam('route').indexOf('checkout') != -1) {
    					window.location.reload();
    				}
    			}
    		});
    	});
    });
    //--></script>
    Meer tonen

    Hier het nieuws aanmeld script die ingebouwd moet worden:

    PHP
    <div class="box">
      <div class="top"><img src="catalog/view/theme/default/image/contact.png" alt="" /><?php echo $heading_title; ?></div>
      <div class="middle" style="text-align: center;">
      
      <?php 
       if($thickbox) { ?>
    	<a href="#TB_inline?height=300&width=300&inlineId=frm_subscribe" title="Newsletter Subcribe" class="thickbox"> <?php echo($text_subscribe); ?> </a>
      <?php }  ?>
      <div id="frm_subscribe" <?php 
       if($thickbox) { ?> style="display:none;" <?php } ?>>
      <form name="subscribe" id="subscribe"   >
      <table border="0" cellpadding="2" cellspacing="2">
       <tr>
         <td align="left"><span class="required">*</span>&nbsp;<?php echo $entry_email; ?><br /><input type="text" value="" name="subscribe_email" id="subscribe_email"></td>
       </tr>
       <tr>
         <td align="left"><?php echo $entry_name; ?>&nbsp;<br /><input type="text" value="" name="subscribe_name" id="subscribe_name"> </td>
       </tr>
       <?php 
         for($ns=1;$ns<=$option_fields;$ns++) {
         $ns_var= "option_fields".$ns;
       ?>
       <tr>
        <td align="left">
          <?php 
           if($$ns_var!=""){
             echo($$ns_var."&nbsp;<br/>");
             echo('<input type="text" value="" name="option'.$ns.'" id="option'.$ns.'">');
           }
          ?>
         </td>
       </tr>
       <?php 
         }
       ?>
       <tr>
         <td align="left">
         <a class="button" onclick="email_subscribe()"><span><?php echo $entry_button; ?></span></a><?php if($option_unsubscribe) { ?>
              <a class="button" onclick="email_unsubscribe()"><span><?php echo $entry_unbutton; ?></span></a>
          <?php } ?>    
         </td>
       </tr>
       <tr>
         <td align="center" id="subscribe_result"></td>
       </tr>
      </table>
      </form>
      </div>
      </div>
      <div class="bottom">&nbsp;</div>
    <script language="javascript">
    	<?php 
      		if(!$thickbox) { 
    	?>	
    function email_subscribe(){
    	$.ajax({
    			type: 'post',
    			url: 'index.php?route=module/newslettersubscribe/subscribe',
    			dataType: 'html',
                data:$("#subscribe").serialize(),
    			success: function (html) {
    				eval(html);
    			}}); 
    }
    function email_unsubscribe(){
    	$.ajax({
    			type: 'post',
    			url: 'index.php?route=module/newslettersubscribe/unsubscribe',
    			dataType: 'html',
                data:$("#subscribe").serialize(),
    			success: function (html) {
    				eval(html);
    			}}); 
    }
       <?php }else{ ?>
    function email_subscribe(){
    	$.ajax({
    			type: 'post',
    			url: 'index.php?route=module/newslettersubscribe/subscribe',
    			dataType: 'html',
                data:$("#TB_ajaxContent #subscribe").serialize(),
    			success: function (html) {
    				eval(html);
    			}}); 
    }
    function email_unsubscribe(){
    	$.ajax({
    			type: 'post',
    			url: 'index.php?route=module/newslettersubscribe/unsubscribe',
    			dataType: 'html',
                data:$("#TB_ajaxContent #subscribe").serialize(),
    			success: function (html) {
    				eval(html);
    			}}); 
    }
       <?php } ?>
    </script>
    </div>
    Meer tonen

    Als iemand het voor me voor kan doen kan ik wellicht de rest zelf.

    Hosting nodig met hoogwaardige kwaliteit? voor lage prijzen!
    Bekijk onze website: hostingkwaliteit.com

    Heb ik je goed geholpen? geef me dan een drankje via:
    paypal.me

  • Gast, wil je besparen op je domeinnamen? (ad)

Registratie

Nog geen account? Registreer je nu en word deel van onze community!

Nu registreren Aanmelden

ICT Nieuws

  • PHP waarschuwt voor twee ernstige bugs die makkelijk uit te buiten lijken

    Aaron 22 oktober 2026 om 22:19

Blogs

  • Functioneel ontwerp

    Dees 28 december 2014 om 12:38
  • Access Control List implementatie in PHP/MySQL - deel 1/2

    FangorN 28 december 2018 om 12:35
  • Access Control List implementatie in PHP/MySQL - deel 2/2

    FangorN 29 december 2018 om 12:37
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacyverklaring
  10. Contact
ICTscripters ©2005 - 2026 , goedkope hosting door DiMoWeb.com, BE0558.915.582
Sponsors: Beste kattenhotel provincie Antwerpen
Style: Nexus by cls-design
Stylename
Nexus
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design