Forums / All Other Contributions/Addons / ZX Slideshow support thread

ZX Slideshow support thread

Views: 295,218

Results 81 to 100 of 767
17 Jun 2012, 10:16 PM
#81
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

ZX Slideshow support thread

jagall:

wee bit slow to load.
Logically, your site should load faster now since you got rid of extra files to load...

have cleaned up the js files, should i only have the jquery library files in the /mytemplate/jscript folder and put others in a js root folder?
What do you mean js root folder? Unless you want to load page specific js files, all js files should be placed in /yourtemplate/jscript/ directory. Anything different than that would mean hard coding paths.

I have 10 slides and I notice it bumps up the hit counter on one click of the page but probably nothing can be done on this, after a while the hit counter gives kinda false interpretation but not really that important I suppose.
Haven't seen that yet so I'm not sure what you mean by it... What hit counter are you talking about?

BTW, you might wanna clean up your css folder as well... :smile:

My site - Pro ZC Help
My portfolio | My plugins

18 Jun 2012, 2:54 PM
#82
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: ZX Slideshow support thread

balihr:

That's because you have categories showing on your main page set to true. Take a look at the code attached and upload it to your includes/templates/bookshelf/templates/tpl_index_categories.php. Since I believe your file might be customized, make sure to merge it (my file is commented, 6 new lines at the beginning). It should work after that.

<?php /** * Page Template * * Loaded by main_page=index<br /> * Displays category/sub-category listing<br /> * Uses tpl_index_category_row.php to render individual items * * @package templateSystem * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: tpl_index_categories.php 4678 2006-10-05 21:02:50Z ajeh $ */ ?> <div class="centerColumn" id="indexCategories"> <!-- begin edit for ZX Slideshow --> <?php if(ZX_SLIDESHOW) { ?>
<?php require($template->get_template_dir('zx_slideshow.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/zx_slideshow.php'); ?>
<?php } ?> <!-- end edit for ZX Slideshow --> <?php if ($show_welcome == true) { ?> <h1 id="indexCategoriesHeading"><?php echo HEADING_TITLE; ?></h1> <?php if (SHOW_CUSTOMER_GREETING == 1) { ?> <h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2> <?php } ?> <!-- deprecated - to use - uncomment <?php if (TEXT_MAIN) { ?> <div id="" class="content"><?php echo TEXT_MAIN; ?></div> <?php } ?>--> <!-- deprecated - to use - uncomment <?php if (TEXT_INFORMATION) { ?> <div id="" class="content"><?php echo TEXT_INFORMATION; ?></div> <?php } ?>--> <?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?> <div id="indexCategoriesMainContent" class="content"><?php /** * require the html_define for the index/categories page */ include($define_page); ?></div> <?php } ?> <?php } else { ?> <h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1> <?php } ?> <?php if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP == 'true') { // categories_image if ($categories_image = zen_get_categories_image($current_category_id)) { ?> <div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div> <?php } } // categories_image ?> <?php // categories_description if ($current_categories_description != '') { ?> <div id="categoryDescription" class="catDescContent"><?php echo $current_categories_description; ?></div> <?php } // categories_description ?> <!-- BOF: Display grid of available sub-categories, if any --> <?php if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) { // do nothing } else { // display subcategories /** * require the code to display the sub-categories-grid, if any exist */ require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php'); } ?> <!-- EOF: Display grid of available sub-categories --> <?php $show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_CATEGORY);

while (!$show_display_category->EOF) {
// // echo 'I found ' . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS);

?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_FEATURED_PRODUCTS') { ?> <?php /** * display the Featured Products Center Box */ ?> <?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?> <?php } ?> <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_SPECIALS_PRODUCTS') { ?> <?php /** * display the Special Products Center Box */ ?> <?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?> <?php } ?> <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_NEW_PRODUCTS') { ?> <?php /** * display the New Products Center Box */ ?> <?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?> <?php } ?> <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_UPCOMING') { ?> <?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php } ?> <?php $show_display_category->MoveNext(); } // !EOF ?> </div> ```

Hi
I have just installed ZX Slideshow but have one problem.

I read through all the threads first and found the above patch if we are running with catagories on main page (as I am)... I merged the code and installed.

This works.... everything is ok and working on the index page BUT.... once I click on some of my catagories the slider is also trying to run. I displays at the top of the catagory page, but messed up. Now on some other catagories it does NOT attempt to show at all.

I anly want the slider on the main index page,

the site can be seen here: www.thepersonalisedtouch DOT com

I don't want to leave it running like this as it will affect sales.

Any help??

18 Jun 2012, 3:13 PM
#83
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

Rizla:

Hi
I have just installed ZX Slideshow but have one problem.

I read through all the threads first and found the above patch if we are running with catagories on main page (as I am)... I merged the code and installed.

This works.... everything is ok and working on the index page BUT.... once I click on some of my catagories the slider is also trying to run. I displays at the top of the catagory page, but messed up. Now on some other catagories it does NOT attempt to show at all.

I anly want the slider on the main index page,

the site can be seen here: www.thepersonalisedtouch DOT com

I don't want to leave it running like this as it will affect sales.

Any help??

Yup, my bad, the patch wasn't good... :lamo:

Here you go (tpl_index_categories.php):

<?php
/**
 * Page Template
 *
 * Loaded by main_page=index<br />
 * Displays category/sub-category listing<br />
 * Uses tpl_index_category_row.php to render individual items
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_index_categories.php 4678 2006-10-05 21:02:50Z ajeh $
 */
?>
<div class="centerColumn" id="indexCategories">

<!-- begin edit for ZX Slideshow -->
<?php 
if($this_is_home_page && (ZX_SLIDESHOW == 'true')) { ?>
	<?php require($template->get_template_dir('zx_slideshow.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/zx_slideshow.php'); ?>
<?php } ?>    
<!-- end edit for ZX Slideshow -->

<?php if ($show_welcome == true) { ?>
<h1 id="indexCategoriesHeading"><?php echo HEADING_TITLE; ?></h1>

<?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
<h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
<?php } ?>

<!-- deprecated - to use - uncomment
<?php if (TEXT_MAIN) { ?>
<div id="" class="content"><?php echo TEXT_MAIN; ?></div>
<?php } ?>-->

<!-- deprecated - to use - uncomment
<?php if (TEXT_INFORMATION) { ?>
<div id="" class="content"><?php echo TEXT_INFORMATION; ?></div>
<?php } ?>-->

<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
<div id="indexCategoriesMainContent" class="content"><?php
/**
 * require the html_define for the index/categories page
 */
  include($define_page);
?></div>
<?php } ?>

<?php } else { ?>
<h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>
<?php } ?>

<?php
if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP == 'true') {
// categories_image
  if ($categories_image = zen_get_categories_image($current_category_id)) {
?>
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>
<?php
  }
} // categories_image
?>

<?php
// categories_description
    if ($current_categories_description != '') {
?>
<div id="categoryDescription" class="catDescContent"><?php echo $current_categories_description;  ?></div>
<?php } // categories_description ?>
<!-- BOF: Display grid of available sub-categories, if any -->
<?php
  if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) {
    // do nothing
  } else {
    // display subcategories
/**
 * require the code to display the sub-categories-grid, if any exist
 */
   require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
  }
?>
<!-- EOF: Display grid of available sub-categories -->
<?php
$show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_CATEGORY);

while (!$show_display_category->EOF) {
  // //  echo 'I found ' . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS);

?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_FEATURED_PRODUCTS') { ?>
<?php
/**
 * display the Featured Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
<?php } ?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_SPECIALS_PRODUCTS') { ?>
<?php
/**
 * display the Special Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
<?php } ?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_NEW_PRODUCTS') { ?>
<?php
/**
 * display the New Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
<?php } ?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_UPCOMING') { ?>
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php } ?>
<?php
  $show_display_category->MoveNext();
} // !EOF
?>
</div>

Let us know if it works, please.

My site - Pro ZC Help
My portfolio | My plugins

18 Jun 2012, 3:22 PM
#84
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: ZX Slideshow support thread

balihr.... PURRRRFECT

Works a treat.... Thanks

18 Jun 2012, 3:30 PM
#85
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

Actually, it doesn't... Here's another patch...

tpl_index_categories.php

<?php
/**
 * Page Template
 *
 * Loaded by main_page=index<br />
 * Displays category/sub-category listing<br />
 * Uses tpl_index_category_row.php to render individual items
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_index_categories.php 4678 2006-10-05 21:02:50Z ajeh $
 */
?>
<div class="centerColumn" id="indexCategories">

<!-- begin edit for ZX Slideshow -->
<?php 
if($this_is_home_page) {
	if (ZX_SLIDESHOW) { ?>
	<?php require($template->get_template_dir('zx_slideshow.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/zx_slideshow.php'); ?>
<?php }
}?>    
<!-- end edit for ZX Slideshow -->

<?php if ($show_welcome == true) { ?>
<h1 id="indexCategoriesHeading"><?php echo HEADING_TITLE; ?></h1>

<?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
<h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
<?php } ?>

<!-- deprecated - to use - uncomment
<?php if (TEXT_MAIN) { ?>
<div id="" class="content"><?php echo TEXT_MAIN; ?></div>
<?php } ?>-->

<!-- deprecated - to use - uncomment
<?php if (TEXT_INFORMATION) { ?>
<div id="" class="content"><?php echo TEXT_INFORMATION; ?></div>
<?php } ?>-->

<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
<div id="indexCategoriesMainContent" class="content"><?php
/**
 * require the html_define for the index/categories page
 */
  include($define_page);
?></div>
<?php } ?>

<?php } else { ?>
<h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>
<?php } ?>

<?php
if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP == 'true') {
// categories_image
  if ($categories_image = zen_get_categories_image($current_category_id)) {
?>
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>
<?php
  }
} // categories_image
?>

<?php
// categories_description
    if ($current_categories_description != '') {
?>
<div id="categoryDescription" class="catDescContent"><?php echo $current_categories_description;  ?></div>
<?php } // categories_description ?>
<!-- BOF: Display grid of available sub-categories, if any -->
<?php
  if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) {
    // do nothing
  } else {
    // display subcategories
/**
 * require the code to display the sub-categories-grid, if any exist
 */
   require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
  }
?>
<!-- EOF: Display grid of available sub-categories -->
<?php
$show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_CATEGORY);

while (!$show_display_category->EOF) {
  // //  echo 'I found ' . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS);

?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_FEATURED_PRODUCTS') { ?>
<?php
/**
 * display the Featured Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
<?php } ?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_SPECIALS_PRODUCTS') { ?>
<?php
/**
 * display the Special Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
<?php } ?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_NEW_PRODUCTS') { ?>
<?php
/**
 * display the New Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
<?php } ?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_UPCOMING') { ?>
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php } ?>
<?php
  $show_display_category->MoveNext();
} // !EOF
?>
</div>

:blush:

My site - Pro ZC Help
My portfolio | My plugins

18 Jun 2012, 3:39 PM
#86
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: ZX Slideshow support thread

Errm.... YES... Just went to fill me glass and went back to index... Upps!

I CAN now say that I have tested it with a 14lb sledge hammer, a delicate touch and let the dog have a play....

AND IT WORKS!

Bang on my friend.... Thanks

18 Jun 2012, 10:18 PM
#87
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: ZX Slideshow support thread

Firstly can I say what an awesome mod, I love it!

I have a slight issue in Internet Explorer, my slider just hovers as a blank white box...
In other browsers (firefox, chrome, opera, safari) it is fine, just IE that has a problem. Any ideas?

www. shabbylane .co.uk

Many thanks

18 Jun 2012, 11:24 PM
#88
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

picandnix:

Firstly can I say what an awesome mod, I love it!
Glad to hear that!

I have a slight issue in Internet Explorer, my slider just hovers as a blank white box...
In other browsers (firefox, chrome, opera, safari) it is fine, just IE that has a problem. Any ideas?
What version of IE are you using? I just tested with IE9 and compatibility mod for IE8 and IE7 and it works fine...

Although - it's extremely slow to load - you have 10 slides :shocking: and you haven't optimized the images (250 kB average) which means loading more than 2.5 MB just for the slideshow. And, the slideshow images are loaded on DOM ready which means the slides don't even start to load until the rest of the page elements are loaded. Even without the slide images, your site is aprox. 1 MB (too much)... Perhaps you should just leave it and wait to see if loads after let's say 30-40 seconds, depending on your internet connection, server load etc.

My site - Pro ZC Help
My portfolio | My plugins

19 Jun 2012, 12:18 AM
#89
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: ZX Slideshow support thread

thanks for replying, so really I should have any page specific js files in different folder. The hit counter is on the dashboard, just a quick indicator of website traffic each day, but since installing the slideshow, the hit counter has gone through the roof sorta speak.

Yes you so right about the css folder (tut tut i know) I probably should merge the ones I use into the main stylesheet? been a bit nervous of messing things up.
BTW on a slightly different note, I really like the layout of your loveboxboutique dot com website, have been trying to get something similar working around the slideshow using banners but the banners not behaving correctly or I am not really getting it, if you have any tips that would be great thanks

19 Jun 2012, 12:47 AM
#90
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

jagall:

thanks for replying, so really I should have any page specific js files in different folder.
Well, something like that... You should get familiar with Zen Cart's override system and js/css files load system. For example, if you want a js file to load only on your shopping cart page, you'll add that js file in includes/modules/pages/shopping_cart/ folder. If you want to load a specific stylesheet only on shopping cart page, you'll add a stylesheet in your includes/templates/your_template/css/ folder and name it shopping_cart.css etc etc etc. It's a long story, quite well explained in the Tutorials and Wiki.

The hit counter is on the dashboard, just a quick indicator of website traffic each day, but since installing the slideshow, the hit counter has gone through the roof sorta speak.
Honestly, I haven't noticed any major changes with that hit counter (nor it should have any effect). Perhaps you're getting actual traffic :smile:

Yes you so right about the css folder (tut tut i know) I probably should merge the ones I use into the main stylesheet? been a bit nervous of messing things up.
BTW on a slightly different note, I really like the layout of your loveboxboutique dot com website, have been trying to get something similar working around the slideshow using banners but the banners not behaving correctly or I am not really getting it, if you have any tips that would be great thanks
Merge and remove those that are not in use, definitely.
LBB layout - it's all about placing your divs and using other banner positions. For example, LBB has two banner positions next to the slideshow and two banner positions under the entire upper section. Something like this:

<div banners>
    <div upper>
    	<div slideshow>
        <div side top>
        <div side bottom>
    <div lower>
    	<div left>
        <div right>

Play with the positions and you'll get it right. :wink:

My site - Pro ZC Help
My portfolio | My plugins

19 Jun 2012, 3:17 PM
#91
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: ZX Slideshow support thread

balihr:

Glad to hear that!

What version of IE are you using? I just tested with IE9 and compatibility mod for IE8 and IE7 and it works fine...

Although - it's extremely slow to load - you have 10 slides :shocking: and you haven't optimized the images (250 kB average) which means loading more than 2.5 MB just for the slideshow. And, the slideshow images are loaded on DOM ready which means the slides don't even start to load until the rest of the page elements are loaded. Even without the slide images, your site is aprox. 1 MB (too much)... Perhaps you should just leave it and wait to see if loads after let's say 30-40 seconds, depending on your internet connection, server load etc.

Hi Balihr
Thank you for taking the time to look at it for me. I have optimized my slider images and I have also gone from having 10 images down to 5 but it still seems painfully slow in loading. Any thoughts please? www.shabby lane .co.uk
Thank you once again.
P.S what does DOM mean please? I was checking it in IE 9 for your reference.

19 Jun 2012, 9:48 PM
#92
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

I just checked your site and I don't think it's painfully slow. Just the contrary - it's quite fast. Take a look at the test results here.

Although there are a few more things that could be done and make the site even more fast and more optimized, these results are really good so I'm not really sure why YOU don't get good load times. I tested with multiple browsers and it loads quite fast, and the browsing experience is great, really fast...

My site - Pro ZC Help
My portfolio | My plugins

19 Jun 2012, 10:41 PM
#93
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: ZX Slideshow support thread

hi balihr

Big Big Big thank you for the tips,:clap: I have been messing around and followed the divs you sent and has worked great, so have been able to totally reform my homepage, maybe have a look here to see what you think. Sometimes the slideshow is slow to load. Noticed on the another site in this thread they have the navigation buttons, in the mod it says shows navigation numbering but when I select true, nothing shows up below slider.
Still need to clean up files, etc to try and speed it up so as good practice even if a css file is only one specific page, I should merge it into the main stylesheet? Thanks again for all your help.:smile:

19 Jun 2012, 11:02 PM
#94
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

Navigation buttons: please try playing with the css. Buttons are set to absolute position at bottom: -40px and if you change it to 0 it will show as a part of the slider... I'm not sure if it was something I missed or it's got to do with your customization and don't have the time to go hunting for errors right now... Sorry.

The layout on sweetco - it's probably work in progress. I suggest using images in a way that you have them lined up, to form some kind of a grid. Something like this.

BTW, Firebug is giving me a lot of undefined errors, you might wanna look into that...

My site - Pro ZC Help
My portfolio | My plugins

20 Jun 2012, 5:20 AM
#95
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: ZX Slideshow support thread

balihr:

I just checked your site and I don't think it's painfully slow. Just the contrary - it's quite fast. Take a look at the test results here.

Although there are a few more things that could be done and make the site even more fast and more optimized, these results are really good so I'm not really sure why YOU don't get good load times. I tested with multiple browsers and it loads quite fast, and the browsing experience is great, really fast...

Balihr you have just put a smile of relief on my face, thank you :-) I guess it must just my connection speed.
Please say if it's out of the remit of this thread (or maybe PM me a to-do list pretty please), but what else would you recommend I could do to further optimize or enhance performance please?
Thank you so much once again.

20 Jun 2012, 3:53 PM
#96
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

picandnix:

Balihr you have just put a smile of relief on my face, thank you :-) I guess it must just my connection speed.
Please say if it's out of the remit of this thread (or maybe PM me a to-do list pretty please), but what else would you recommend I could do to further optimize or enhance performance please?
Thank you so much once again.

Yup, this would be completely OT and I'd like to keep the thread as clean as possible for others who might wanna read it... Will PM you.

My site - Pro ZC Help
My portfolio | My plugins

20 Jun 2012, 3:59 PM
#97
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: ZX Slideshow support thread

worked a treat once set to 0, thanks:yes:. Yes I was still trying to align the elements, know what you mean though - cheers for looking at it for me. in relation to the errors, when I run validator they don't seem to appear. but what I have notices since installing the slideshow is that when I for e.g. check who's online in the admin panel and I see my own ip it shows that I am on an undefined page as opposed to the index.php page, so I just wondering there must be some relation between these errors and the installation of the slideshow, see image here:Attachment 10666:blink:

20 Jun 2012, 4:15 PM
#98
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

I'm sorry, but I don't know what happened. I don't think it's related to ZX Slideshow since I don't see why or how it could be caused by it. Maybe you've missed something when merging the files, I really can't tell. You might try to restore the old tpl_index_default.php and/or tpl_index_categories.php (before installing ZXS) and see if the problem continues.

My site - Pro ZC Help
My portfolio | My plugins

20 Jun 2012, 7:28 PM
#99
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: ZX Slideshow support thread

thanks balihr, I tested the tpl.index.php file and removed

<!-- begin edit for ZX Slideshow --> <?php if(ZX_SLIDESHOW_STATUS == true) { ?>
<?php require($template->get_template_dir('zx_slideshow.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/zx_slideshow.php'); ?>
<?php } ?> <!-- end edit for ZX Slideshow -->

and it was fine again once I put it back in, it brings up undefined? what do you think?

20 Jun 2012, 7:31 PM
#100
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

Try this.

<!-- begin edit for ZX Slideshow -->
<?php if(ZX_SLIDESHOW_STATUS == 'true') { ?>
<?php require($template->get_template_dir('zx_slideshow.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/zx_slideshow.php'); ?>
<?php } ?>
<!-- end edit for ZX Slideshow -->

Notice the 'true' vs. true. Other than that, I'm out of ideas...

My site - Pro ZC Help
My portfolio | My plugins