Jump to content

 

osama moqbal

Member Since 10 Jun 2018
Offline Last Active Jan 21 2019 07:49 AM
-----

Posts I've Made

In Topic: Include Php Code The Retrieve Date From Sql Into Cs-Cart Page

12 December 2018 - 01:38 PM

I tried to it but it also did not work with me, the database i will retrieve from it not cs-cart but other database. 


In Topic: Include Php Code The Retrieve Date From Sql Into Cs-Cart Page

10 December 2018 - 09:42 AM

 

As alternative, you can call php functions in templates in the following way

{$smarty.post.id|fn_my_function_name}

 

i really trust about your advice eComlab , but I can't understand what you mean can you please clarify 


In Topic: Include Php Code The Retrieve Date From Sql Into Cs-Cart Page

10 December 2018 - 05:15 AM

thank you poppedweb and tbirnseth for your interest to help me , 

 

i tried to put the code into {php} {/php}, but it dosent work .

 

tbirnseth -> it just test php query code and if its work inseide cs-cart page so i will write my exact query but the problem i can not make php query include cs-cart , so the question is how .

  •  

In Topic: Product Tap Problem

01 December 2018 - 11:18 AM

It seems you are experiencing a problem where you havent closed a html tag, anyhow, its best if you contact AlexBranding.

 

I contact them, but the problem happens when I select to show block in tabs.

and the name of the block did not appear. where you I can find this HTML tag 


In Topic: Jquery 3D Carousel Script Not Working

27 November 2018 - 07:56 AM

 

The following code works for me

 

http://prntscr.com/lngwh8

  <script src="https://specious.github.io/cloud9carousel/js/lib/jquery.reflection.js"></script>
  <script src="https://specious.github.io/cloud9carousel/js/lib/jquery.cloud9carousel.js"></script>
  <script>

    $(document).ready(function(){
      var showcase = $("#showcase"), title = $('#item-title')
 
      showcase.Cloud9Carousel( {
        yOrigin: 42,
        yRadius: 48,
        mirror: {
          gap: 12,
          height: 0.2
        },
        buttonLeft: $("#nav > .left"),
        buttonRight: $("#nav > .right"),
        autoPlay: 1,
        bringToFront: true,
        onRendered: rendered,
        onLoaded: function() {
          showcase.css( 'visibility', 'visible' )
          showcase.css( 'display', 'none' )
          showcase.fadeIn( 1500 )
        }
      } )
 
      function rendered( carousel ) {
        title.text( carousel.nearestItem().element.alt )
 
        // Fade in based on proximity of the item
        var c = Math.cos((carousel.floatIndex() % 1) * 2 * Math.PI)
        title.css('opacity', 0.5 + (0.5 * c))
      }
 
      //
      // Simulate physical button click effect
      //
      $('#nav > button').click( function( e ) {
        var b = $(e.target).addClass( 'down' )
        setTimeout( function() { b.removeClass( 'down' ) }, 80 )
      } )
 
      $(document).keydown( function( e ) {
        //
        // More codes: http://www.javascrip...aq/keycodes.htm
        //
        switch( e.keyCode ) {
          /* left arrow */
          case 37:
            $('#nav > .left').click()
            break
 
          /* right arrow */
          case 39:
            $('#nav > .right').click()
        }
      } )
    })
  </script>
  <style>
    a {
      color: #da2020;
    }
    a:hover {
      color: #d6f300;
    }
    .wrap > h1 {
      margin: 26px auto;
    }
    #showcase {
      height: 460px;
      background: #16235e;
      background: -moz-linear-gradient(top, #16235e 0%, #020223 100%); /* FF3.6+ */
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#16235e), color-stop(100%,#020223)); /* Chrome, Safari4+ */
      background: -webkit-linear-gradient(top, #16235e 0%, #020223 100%); /* Chrome10+, Safari5.1+ */
      background: -o-linear-gradient(top, #16235e 0%, #020223 100%); /* Opera 11.10+ */
      background: -ms-linear-gradient(top, #16235e 0%, #020223 100%); /* IE10+ */
      background: linear-gradient(to bottom, #16235e 0%, #020223 100%); /* W3C */
      -webkit-box-shadow: 0px 0px 13px 5px #DB1242;
      -moz-box-shadow: 0px 0px 13px 5px #DB1242;
      box-shadow: 0px 0px 13px 5px #DB1242;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      border-radius: 8px;
    }
    #item-title {
      color: #F31414;
      font-size: 29px;
      letter-spacing: 0.13em;
      text-shadow: 1px 1px 6px #C72B2B;
      text-align: center;
      margin-top: 30px;
      margin-bottom: 22px;
    }
    #nav {
      text-align: center;
    }
    #nav > button {
      width: 64px;
      height: 36px;
      color: #666;
      font: bold 16px arial;
      text-align: center;
      margin: 5px;
      text-shadow: 0px 1px 0px #f5f5f5;
      background: #f6f6f6;
      border: solid 2px rgba(0, 0, 0, 0.4);
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      -webkit-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
      -moz-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
      box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
      cursor: pointer;
    }
    #nav > button:active,
    #nav > button.down {
      background: #dfdfdf;
      border: solid 2px rgba(0, 0, 0, 0.6);
      box-shadow: none;
    }
    #share {
      top: -9px;
    }
    #credits {
      top: -15px;
    }
  </style>
 
  <div class="wrap">
    <div id="showcase" class="noselect">
      <img class="cloud9-item" src="https://specious.github.io/cloud9carousel/images/browsers/firefox.png"alt="Firefox">
      <img class="cloud9-item" src="https://specious.github.io/cloud9carousel/images/browsers/wyzo.png"alt="Wyzo">
      <img class="cloud9-item" src="https://specious.github.io/cloud9carousel/images/browsers/opera.png"alt="Opera">
      <img class="cloud9-item" src="https://specious.github.io/cloud9carousel/images/browsers/chrome.png"alt="Chrome">
      <img class="cloud9-item" src="https://specious.github.io/cloud9carousel/images/browsers/iexplore.png"alt="Internet Explorer">
      <img class="cloud9-item" src="https://specious.github.io/cloud9carousel/images/browsers/safari.png"alt="Safari">
    </div>
    <footer>
      <p id="item-title">&nbsp;</p>
      <div id="nav" class="noselect">
        <button class="left">
          ←
        </button>
        <button class="right">
          →
        </button>
      </div>
  </div>

 

Yes eCome-lab its works now perfectly. thanks to your advice.