Hi Udig,
I've just discovered your fantastic module. I'm trying to create with it on the front page of a websote an effect like the one on the White House home page (http://www.whitehouse.gov/): the ajax slideshow roll over 4 different cover stories.
I can use Php but I'm not so skilled, so I can't manage to solve many problems:

1) I can't take all the information for the ajax slideshow (AS) from the target place. I explain why. Imagine that you want an effect like the WH's one: a big pictured (cutted in the appropriate dimension) on one side. But in the target page you haven't got this photo (because there are no photo or photo has smaller dimension). So I think I would need a "bridge-page": a new content-type called "cover" in which I put the photo, an headline, the url of the target page and other things that can be useful to my home page. Besides, doing this, I can avoid creating a "cover y/n" field in the all content types (for example "page") to filter them. The problem is that in the AS the link on the title directs on the node page and not on the final target. I tired to insert at the beginning of the cover-typ template a php "header($redirect)" instruction to the target page, but this makes AS not work.

2) If I had a solution to 1 I could create a new structure in node-cover.tpl.php to have exactely the same result as in WH'home page (headline and text on the left, photo on le right)... at least I hope. In this case, how can I put the numeric tabs INSIDE the AS box, and not outside (exactely how they are in the WH's home page)?

I'm sorry I was long... and thank you very much

Ps: I am using Drupal 6.17 on al local Xampp 1.7.2, Php 5.3.0, MySQL client: 5.1.37.

Comments

udig’s picture

hello pieropolidoro,

Thanks.

1. You need to differentiate between a 'content-type' and a 'page'. content type is your model whereas page is your view in MVC terms. In other words you keep your data centrally in a single content type only once while you can use multiple tpl files (templates) to provide different appearance of the same content type. In this case it sounds to me that you need to setup a dedicated AS template for this content type (besides of the regular node.tpl.php) template it may use. To do this see #734404: Personnalized content only for the slideshow.
2. My initial thought on this is to take the route you thought of + use absolute positioning for the tabs that will allow you to place them over the node area. check it and let me know.

enjoy.

udig’s picture

Status: Active » Closed (fixed)