Jump to content

armlocker

Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by armlocker

  1. 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 ;)
  2. 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'
    	});
    
    });
    

  3. I have been following the php cms video tutorials which i purchased recently. I am now at video 20 and have run into issues when trying to style the colorbox login form, it currently takes the index page's css properties. I have spent many hours going over the code and comparing it to the source files but I cannot find any errors, i am currently about to compare the code for the third time. I have also been through the videos twice and cannot see where i have gone wrong and was wondering whether anyone else has had this problem, i am thinking it is something really simple that i'm missing. Thanks in advance for any replys.

     

     

    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

  4. 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...