Jump to content
Sign in to follow this  
coconimo

[CONTRIBUTION] New products Glide

Recommended Posts

hi,

you can change the settings of featuredcontentglider.css & cssbuttonstoggler.css files :

.glidecontentwrapper{
.../...
margin-left: 65px;
width: 600px;
height: 230px; /* Set height to be able to contain height of largest content shown*/
.../...
}

and :

.cssbuttonstoggler{ /*style for DIV used to contain toggler links. */
margin-left: 65px;
margin-top: 0px;
margin-bottom:0px;
padding-bottom: 5px;
width: 600px;
.../...
}

Yours.

Share this post


Link to post
Share on other sites

Hi.

 

I am struggling with this contribution. It works perfectly in Firefox, but in IE6 and IE7, the glide box appears with no content, and my right side bar doesn't load.

 

Can anyone help me with this issue please? This is a great contribution, but I can't use it if it won't work in IE.

 

Thanks.

 

Dwane.

Share this post


Link to post
Share on other sites
hi,

you can change the settings of featuredcontentglider.css & cssbuttonstoggler.css files :

.glidecontentwrapper{
.../...
margin-left: 65px;
width: 600px;
height: 230px; /* Set height to be able to contain height of largest content shown*/
.../...
}

and :

.cssbuttonstoggler{ /*style for DIV used to contain toggler links. */
margin-left: 65px;
margin-top: 0px;
margin-bottom:0px;
padding-bottom: 5px;
width: 600px;
.../...
}

Yours.

 

 

Hi

Thanks Alot ..got it working now.. Is there away to just have the new products show just on the home page only..

cause when you click on a Category.. a popup says" no content exists at page 1 loading first page instead "

but when you click on a sub category from that page it works.. If you need to see my site is www.dtpetsupplies.com

 

 

Thanks

Tom

Share this post


Link to post
Share on other sites
Hi.

 

I am struggling with this contribution. It works perfectly in Firefox, but in IE6 and IE7, the glide box appears with no content, and my right side bar doesn't load.

 

Can anyone help me with this issue please? This is a great contribution, but I can't use it if it won't work in IE.

 

Thanks.

 

Dwane.

 

Problem solved.

 

For anyone else who has this problem, this contribution doesn't handle HTML in the product description. I am using the WYSIWYG contribution, and for some reason the HTML generated by WYSIWYG contrib causes problems with the New Products Contribution. I think it is due to WYSIWYG inserting some standard header tags into the product title/description code.

 

Anyway, my problem is solved......But what do I use? HTML descriptions or New Products Glide?

 

Cheers.

 

Dwane.

 

P.S. I think I will use New Products Glide. VERY cool contrib. Thanks!

Share this post


Link to post
Share on other sites

Another problem.........

 

This time, some images aren't loading in IE6, but ALL are OK in FireFox and IE7. (This also happens on the live sample site http://ouistiti.ke0.eu/). The strange part is that it isn't all the images, just certain ones. In my store, it appears to be ones all from the same category that won't load the images. (My new products are only in 2 categories - 1 category is fine, the other category isn't)

 

Any suggestions for a possible fix??

 

Cheers.

 

Dwane.

Share this post


Link to post
Share on other sites
Hi

Thanks Alot ..got it working now.. Is there away to just have the new products show just on the home page only..

cause when you click on a Category.. a popup says" no content exists at page 1 loading first page instead "

but when you click on a sub category from that page it works.. If you need to see my site is www.dtpetsupplies.com

Thanks

Tom

it's normal, the category does not have product, so :

add in the catalog/includes/modules/new_products_glide.php file before the first '?>'

$new_products_count = tep_count_products_in_category($new_products_category_id);			
if ($new_products_count > 0){

and to the end of the same file :

<?php		   
 }						
?>

Share this post


Link to post
Share on other sites
it's normal, the category does not have product, so :

add in the catalog/includes/modules/new_products_glide.php file before the first '?>'

$new_products_count = tep_count_products_in_category($new_products_category_id);			
if ($new_products_count > 0){

and to the end of the same file :

<?php		   
 }						
?>

 

Hi

Ok that worked ..but only for the first category sub directory

the other sub directories still give the error.

 

Thank for your help

 

Tom

Share this post


Link to post
Share on other sites
Hi

Ok that worked ..but only for the first category sub directory

the other sub directories still give the error.

 

Thank for your help

 

Tom

 

Or i should say its not picking up on all the sub directories..

 

Thanks

Tom

Share this post


Link to post
Share on other sites

Just another quick update on the WYSIWYG contrib and the New Products Glide contrib.

 

I edited the WYSIWYG configuration - Removed most of the buttons apart from Bold, Italic, Underline, Font, Font Size, Cut, Copy, Paste and Font Color and it is working perfectly.

 

The problem was that WYSIWYG contrib was adding <DIV> tags whicn caused probs with New Products Glider, but not on the product description pages.

 

Hope this helps some of you.

 

Cheers.

 

Dwane.

Share this post


Link to post
Share on other sites

Anyone know how to fix this.

The new products glide shows up after clicking on some categories but

clicking on other categories .. I get a " no content exists at page 1! loading 1st page instead "

 

Thanks

Share this post


Link to post
Share on other sites

Hi

I Hope someone can help me here..

I see that on my categories the ones that go 2 deep the mod works but on my categories that

go 3 deep or more its giving me the no content error..

If i click on category that has sub categories it shows up..

but if i click on other categories that have other categories listed under it ..it doesn't work

 

 

 

Thanks

Share this post


Link to post
Share on other sites

I guess support for this contribution is over.. to bad..

seemed like a good mod.hate to take it down

hopefully some day the bugs will be worked out

Edited by tnier

Share this post


Link to post
Share on other sites
Problem solved.

 

For anyone else who has this problem, this contribution doesn't handle HTML in the product description. I am using the WYSIWYG contribution, and for some reason the HTML generated by WYSIWYG contrib causes problems with the New Products Contribution. I think it is due to WYSIWYG inserting some standard header tags into the product title/description code.

 

Anyway, my problem is solved......But what do I use? HTML descriptions or New Products Glide?

 

Cheers.

 

Dwane.

 

P.S. I think I will use New Products Glide. VERY cool contrib. Thanks!

 

change in the catalog/includes/modules/new_products_glide.php file :

			 <div class="description"><?php echo substr($new_products['products_description'],0,250); if(strlen($new_products['products_description']) > 250){echo ' ...';} ?></div>

with :

			 <div class="description"><?php echo substr(strip_tags($new_products['products_description']),0,250); if(strlen($new_products['products_description']) > 250){echo ' ...';} ?></div>

 

 

Hi

I Hope someone can help me here..

I see that on my categories the ones that go 2 deep the mod works but on my categories that

go 3 deep or more its giving me the no content error..

If i click on category that has sub categories it shows up..

but if i click on other categories that have other categories listed under it ..it doesn't work

 

 

 

Thanks

 

change in the catalog/featuredcontentglider.js file :

alert("No content exists at page "+(selected+1)+"! Loading 1st page instead.")

with :

config.$glider.html('No new product in this sub category')

Share this post


Link to post
Share on other sites
change in the catalog/includes/modules/new_products_glide.php file :

			 <div class="description"><?php echo substr($new_products['products_description'],0,250); if(strlen($new_products['products_description']) > 250){echo ' ...';} ?></div>

with :

			 <div class="description"><?php echo substr(strip_tags($new_products['products_description']),0,250); if(strlen($new_products['products_description']) > 250){echo ' ...';} ?></div>

 

 

 

 

change in the catalog/featuredcontentglider.js file :

alert("No content exists at page "+(selected+1)+"! Loading 1st page instead.")

with :

config.$glider.html('No new product in this sub category')

 

another solution :

replace :

alert("No content exists at page "+(selected+1)+"! Loading 1st page instead.")

with :

config.$glider.hide()
config.$togglerdiv.hide()

Share this post


Link to post
Share on other sites

Hi, this contribution is great.

 

But I have question.

Is it possible to addopt this contribution to a box which will show new products but two product in the same time (one below second) and glige for next two?

 

Thanks for help...

 

Kris

Edited by witer

Share this post


Link to post
Share on other sites

Hi, guys!

I am wondering if it can show random items instead of new products of the month.

Which file should i edit?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×