First of all, as I mentioned before, Spry is not ideal for Dreamweaver. At least not the way I did and I did not go too much further into it when I realized it wasn't as flexible as equivalent add-ons.
Since then I have not had time to explore the issue in detail and I probably forgot a great deal.
That said, if I recall I first created a static HTML page where I made the spry work.
Once I had that going for me, and I knew the Spry itself was working fine, I proceeded to relink the whole thing.
I placed the JS files in a folder called "spry" inside the template folder.
CSS files went into the CSS folder
Then I used search and replace to find every link to the JS and CSS and I moved those to the index.php file in the template.
To link those, I basically copied the JS files links that the menu was using in my template. Usually that means a php variable with the absolute path and/or one with the path + the template path (name).
What I found at the time is that each Spry build only works with its own JS files and it needs to call a JS file both from the <head> and from right before </body></html> the body closing tags.
Again, my memory is fuzzy, but I remember that if I wanted to place more than one instance of the same spry on different pages I could not reuse the same spry but I had to create a new one.
I'll tell you what. If you guys go an subscribe to my new Screencast, one of the features I am trying to establish is a "Dear Abby" style interaction with my viewers. Just email
joomlaquestions AT conticreative.com. But first do subscribe to the Screencast. I am working hard at it and I want it to become a great free resource for the community.
The screencast name is 10 minute Joomla! Tips
and it's available on [youtube], vimeo, blip.tv and on Itunes and Feedburner.
Here are the links:
Direct Itunes subscription:[url]itpc://10minutejoomlatips.blip.tv/rss/itunes[/url]
But I'd appreciate it if anyone could subscribe to the Itunes version as well. The Itunes version is lower quality (until I figure out how to provide both the HD and the Ipod style version in the Itunes store).
The best are feedburner, Vimeo, Blip.tv or directly on my own website at:
If I get more than one single request on the topic, I am going to see if I can screencast it. If I can't, meaning that the topic is too long to squeeze into 10 minutes, what I usually do I publish it on my blog in installments (so that I maintain the 10 minute limit on my screencast) but the flip side is that I keep the production value pretty raw: no fancy editing, no music intro, etc.
Still, I should be able to make the Spry work and maybe even find a better way to integrate it than what I did previously. I kind of doubt it because of the way Spry needs to work is just not a great fit for Joomla or any dynamic web site. Adobe is definitely in the dark ages as far as optimizing Dreamweaver for dynamic web site integration. But I did try it on DW CS3 not CS4. I know some things have changed and maybe now it works better (but I doubt it).
By the way, I am writing a book on Joomla integration with Dreamweaver. When it comes out is going to be really useful to a lot of people and I am hoping to have it ready inside of the next 3 months. I am going to have a sign up list on my web site and I am going to give sneak previews to those that sign up for the alert list (give me a couple of days to get to that).
Sorry for the shameless plug to my screencast and the upcoming book. But the screencast is free and a lot of work. I'd like to be able to have many subscribers so that I feel more motivated and I think I am doing a pretty good service. You'll be the judge.