Jump to content

armlocker

Member
  • Posts

    8
  • Joined

  • Last visited

Everything posted by armlocker

  1. People in this situation should read this http://www.killerphp.com/tutorials/object-oriented-php/
  2. Thanks for the reply. I'm on the case, but it really looks difficult.
  3. Because the ecommerce script is so simplified and efficient, I can't figure which and where data is being get and set from in order to style the navigation menu - such as adding a drop down menu item. v_public_home.php <ul class="products"> <?php $this->get_data('products'); ?> <!-- this data will hold all the data: product, image, price, add to cart button --> </ul> This piece of scripts gets data from the m_categories.php which is also very OOP that I can't figure out where the html starts and finishes. Any ideas on where to start looking in order to add a drop down menu?? Thanks in advance
  4. Hi Ben I just wanted to know how to change the currency to GBP £ in the ecommerce script you demonstated. Thank you
  5. Chrome console (Ctrl+shift+I) says "failed to load source" which is my URL href: 'http://laissezfairelondonco.fatcowmysql.com/app/login.php' Why are we specifying a complete URL? jQuery(document).ready(function($) { $.colorbox({ transition: 'fade', initialWidth: '50px', initialHeight: '50px', overlayClose: false, escKey: false, scrolling: false, opacity: .6, href: '<?php echo [b]SITE_PATH;[/b] ?>app/login.php' }); });
  6. Dude. I am stuck at the exact same place. My pop Login keeps saying "content failed to load". Did you get the answer? Please share
  7. I have also used this src link which still didn't work: <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> Since the last post, a popup window is appearing, but towards the end of lesson 20 the popup loggin is supposed to show the login/username/password. All I get is: This content failed to load.
  8. Just going through the CMS tutorial and now on video 27, when I can't seem to get the Loggin color box to pop up with the Jquery/colorbox function. I can login by typing in the full pathway in the URL (http://wolfcut.co.uk/app/login.php) but thats not how its supposed to be. There are also no error messages at this point. Could it be that I haven't reached the appropriate tutorial yet? Or that Jquery/colorbox pathway is somehow incorrect, because of the latest Jquery. I did follow precisely what the tutorial says on video 19 and used the JQuery provided. I also replaced your JQuery with the new version, but both don't seem to work. t_login.php <link href="<?php echo APP_RESOURCES; ?>css/fp_style.css" media="screen" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script> <script type="text/javascript">$.noConflict();</script> <script type="text/javascript" src="<?php echo APP_RESOURCES; ?>javascript/colorbox/colorbox.js"></script> <link href="<?php echo APP_RESOURCES; ?>javascript/colorbox/colorbox.css" media="screen" rel="stylesheet" type="text/css" /> <script type="text/javascript"> jQuery(document).ready(function($) { $.colorbox({ transition: 'fade', initialWidth: '50px', initialHeight: '50px', overlayClose: false, escKey: false, scrolling: false, opacity: .6, href: '<?php echo SITE_PATH; ?>app/login.php' }); }); </script> t_head.php <link href="<?php echo APP_RESOURCES; ?>css/fp_style.css" media="screen" rel="stylesheet" type="text/css"> <!-- jquery & colorbox --> <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script> <script type="text/javascript">$.noConflict();</script> <script type="text/javascript" src="<?php echo APP_RESOURCES; ?>javascript/colorbox/colorbox.js"></script> <link href="<?php echo APP_RESOURCES; ?>javascript/colorbox/colorbox.css" media="screen" rel="stylesheet" type="text/css" /> <script type="text/javascript"> jQuery(document).ready(function($) { }); </script> Any suggestions. Thank you
×
×
  • Create New...