Hi all,
I am adding slides to the glider (nodes of a newly created content type) and the highest number of slides it recognizes is 5, regardless of the numeral I enter in the content glider configuration page. Has anyone else run into this - what have I overlooked? Everything is working well except for this - I can only display 5 slides. This has caused a real problem, any help/advice is greatly appreciated.
Lynne

Comments

gjd’s picture

Hey Lynne,

I tried adding the 6th slide and realized that it doesn't work on mine either. When I press the next button it shows the 6th slide after 5th, but there is no button created for it. I found a temporary solution, but I hope someone can come up with a better one...

What I did was add the numbers manually to the "content_glider.module" document..
This is how it was:

 			$output_body .=  '<div id="p-select" class="glidecontenttoggler">';
			$output_body .=  '<a href="#" class="prev"><span class="glidecontenttoggler">< PREV</span></a>';
			$output_body .=  '<a href="#" class="toc"><span class="glidecontenttoggler">1</span></a> <a href="#" class="toc"><span class="glidecontenttoggler">2</span></a> <a href="#" class="toc"><span class="glidecontenttoggler">3</span></a>';
			$output_body .=  '<a href="#" class="toc"><span class="glidecontenttoggler">4</span></a> <a href="#" class="toc"><span class="glidecontenttoggler">5</span></a> ';
	$output_body .=  '<a href="#" class="next"><span class="glidecontenttoggler">NEXT ></span></a>';
			$output_body .=  '</div>';

and this is what I added (number 6 and 7):

 			$output_body .=  '<div id="p-select" class="glidecontenttoggler">';
			$output_body .=  '<a href="#" class="prev"><span class="glidecontenttoggler">< PREV</span></a>';
			$output_body .=  '<a href="#" class="toc"><span class="glidecontenttoggler">1</span></a> <a href="#" class="toc"><span class="glidecontenttoggler">2</span></a> <a href="#" class="toc"><span class="glidecontenttoggler">3</span></a>';
			$output_body .=  '<a href="#" class="toc"><span class="glidecontenttoggler">4</span></a> <a href="#" class="toc"><span class="glidecontenttoggler">5</span></a> ';
			$output_body .=  '<a href="#" class="toc"><span class="glidecontenttoggler">6</span></a> <a href="#" class="toc"><span class="glidecontenttoggler">7</span></a> ';
	$output_body .=  '<a href="#" class="next"><span class="glidecontenttoggler">NEXT ></span></a>';
			$output_body .=  '</div>';

It works as far I could tell.. Hope that helps until there is a better solution..

Jane

lfrey’s picture

Thank you, Jane! It works perfectly. I am in the process of learning PHP, but obviously am not there yet. This is a great solution.
Thanks again,
Lynne