Welcome, Guest. Please login or register.
Did you miss your activation email?
March 18, 2010, 03:14:03 PM

Login with username, password and session length
Search:     Advanced search
Please Read - How to Get Help!

Participate in the forum and earn Great Rewards!
52071 Posts in 14866 Topics by 127582 Members
Latest Member: skiper43
* Home Help Login Register
+  Joomlashack Customization Forum
|-+  Free Joomlashack Products
| |-+  Free Components & Modules
| | |-+  EasySSP Module
| | | |-+  Help multiple galleries & file locations
« previous next »
Pages: [1] Print
Author Topic: Help multiple galleries & file locations  (Read 8148 times)
1vp
Jr. Member
**
Offline Offline

Posts: 6


« on: September 03, 2008, 09:49:38 AM »

Hi All

just trying to wrap my head around having multiple galleries on my site. I currently have director hosting service and am using easyssp to generate my param.xml

Currently I am trying to get just one up and running

could anyone please have a look at the code behind the below link and let me know if there is anything glaringly wrong. I am trying to locate all necesary files loader.swf, slideshowpro.swf and a renamed xml file within a new folder "1vp galleries" under the www folder tree of joomla.

Once I figure this out I would like tol locate all other xml files here too and copy the easyssp module and have it point to the correct xm accordinglyl.

Am I way off?Huh

Cheers in  advance
« Last Edit: November 09, 2008, 07:13:18 PM by 1vp » Logged
JSSupport
Hero Member
*****
Offline Offline

Posts: 4499


« Reply #1 on: September 03, 2008, 10:27:18 AM »

You have images.xml referenced as your gallery path which does not exist.
http://www.1visualpro.com/images.xml

http://www.1visualpro.com/param.xml:
Code:
xmlFilePath="images.xml" xmlFileType="Default"/>

Logged
1vp
Jr. Member
**
Offline Offline

Posts: 6


« Reply #2 on: September 03, 2008, 12:33:52 PM »

Thanks Casey

I was hoping you were around. I really appreciate the help! Things are starting to look a little clearer

I will locate all my xml files here and point each individual easy SSP module to its own xml.

You da Man!
Cheers
Logged
michaelfaas
Jr. Member
**
Offline Offline

Posts: 1


« Reply #3 on: November 15, 2008, 06:56:54 PM »

This is the method for getting the ssp module to function correctly in joomla. But doesn't make it clear how to get multiple galleries up under different menu items.

I have read all the documentation and forum items here, still lost on how this works. The only success I've had is to get one gallery working by creating it's own position, link the module to the xml and then call the position in an article. Easy enough for one gallery.

How do you use this method for multiple galleries in the same content article or separate content articles called by separate menu items.

I assume this has something to do with the Unique ID field which I have been unable to find good information on how to use this effectively.

If I create multiple ssp modules they are called by the same position in the article.

Any help on this will be greatly appreciated.

I'm testing out the use of multiple ssp here www.vernondesign.michaelfaas.com

Thanks again.



Thanks Casey

I was hoping you were around. I really appreciate the help! Things are starting to look a little clearer

I will locate all my xml files here and point each individual easy SSP module to its own xml.

You da Man!
Cheers
Logged
Mol4
Jr. Member
**
Offline Offline

Posts: 4


« Reply #4 on: December 15, 2008, 05:39:52 AM »

Unfortunaly I have the same question.
I use SlideshowPro and Eassyssp on www.vriendenvanbiesland.nl.
On the page http://www.vriendenvanbiesland.nl/fotoalbum.html I've created a new position (eassyssp) and there I load the module of the first slideshow with its own parameter file; param.xml
On the page http://www.vriendenvanbiesland.nl/evenementen/inzendingen-fotowedstrijd.html I've created a new position (eassyssp) and there I load the module of the second slideshow with its own parameter file; param-fotowedstrijd.xml
Both the slideshows load from Director and in the param files they both have their own link to a different galery.
But somehow only the first galery loads on both pages.
I also have tried to use another loadmodule position on the second page (and defined that also in the templatedetalis, but no luck here.)
That's where it ends for me, a little help would much be appreciated. Undecided
Thanks!
Logged
Mol4
Jr. Member
**
Offline Offline

Posts: 4


« Reply #5 on: December 23, 2008, 04:05:23 AM »

I figured out a solution that works for me.
I changed the file mod_easyssp.xml in the easyssp module by adding the following field (open the file so you see where to put it):

<param name="ssp_SWFPath" label="SWF Path" type="text" description="Define the .swf file in case of using more galleries" default="slideshowpro.swf" />

Then in the mod_easyssp.php file I added -> $sspswfpath    = $params->get('ssp_SWFPath');
like this:
+++++++++
global $mosConfig_absolute_path, $mosConfig_live_site;
$width         = $params->get('ssp_width');
$height         = $params->get('ssp_height');
$bgcolor      = $params->get('ssp_bgcolor');
$paramxmlpath  = $params->get('ssp_paramXMLPath');
$unid         = $params->get('ssp_unid');
$sspswfpath    = $params->get('ssp_SWFPath');
+++++++++
AND I added -> <?php echo $sspswfpath; ?>
like this:
+++++++++
var attributes = {}
swfobject.embedSWF("<?php echo JURI::base();?><?php echo $sspswfpath; ?>", "<?php echo $unid; ?>", "<?php echo $width; ?>", "<?php echo $height; ?>", "9.0.0", flashvars, params, attributes);
+++++++++

With this you can define a different swf file in (a copy of) the easyssp Module in the Joomla backend.
Then I uploaded a second .swf file called SSP-fotowedstrijd.swf for the second galerie I want to show.
This galerie also has a different param.xml file that I put in a directory; fotowedstrijd/param.xml

I was surprised myself but it works on www.vriendenvanbiesland.nl
Hope you people can use this solution also  Wink
Logged
Tjaard
Jr. Member
**
Offline Offline

Posts: 5


« Reply #6 on: January 06, 2009, 06:21:28 AM »

Hello,

There is also a solution for multiple galleries without the (very useful) programming solution of  vriendenvanbiesland.
You can see it on www.tjaard-heikens.nl/Joomlasite.

1 First I installed the easyssp module. See for this the manual on this site.( http://www.easyssp.com/docs.php)
2 Then I created four articles (Netherlands, Norway ...) with in the text only {loadposition easyssp}.
3 Next I created a menu for the site with 4 items for the galleries (Netherlands, Norway ...). The menu items refer to the articles I made is step 2.
4 Then I created 4 modules (Netherlands, Norway ...) for the menu items (Module type: mod_easyssp).
Each of these modules are linked to the four menu items. In these modules I give the modules as position: easyspp (created in the first step). In the module parameters I specify the Param File Path for example, paramned.xml. I also specified a Unique ID.
5 The param files I created with Lightroom. For each gallery I only modified the path to the different SlideShow Director Galleries.
 
Logged
jmcbade
Jr. Member
**
Offline Offline

Posts: 18


« Reply #7 on: February 23, 2009, 04:37:56 AM »

Mo14,

It looks like your method SHOULD work, but alas, it does not for me.

I put in debug code to show the returned values (paths) it was usign and they are correct.  I just get a empty instance. I tried this using easyssp as a module and as embedded into the content area.

If I figure this out I will post it but so far, unless I am using *params.xml and *slideshowpro.swf (and only the standalone version of it from the SlideshowPRO folks), I can not get this module to function consistently and flexibly.

Casey, are you listening Smiley  Love the module.  Can only get it to work with one instance and only of the <param_name>.xml and <slideshow_name>.swf are in the root. 

I'm looking forward to your comments.

Thanks

-John
« Last Edit: February 23, 2009, 08:17:53 AM by jmcbade » Logged
JSSupport
Hero Member
*****
Offline Offline

Posts: 4499


« Reply #8 on: March 02, 2009, 09:08:21 PM »

Quote
Can only get it to work with one instance and only of the <param_name>.xml and <slideshow_name>.swf are in the root. 
- Right, it has to be in the root. This is hard coded into slideshowpro.swf.
- If you're trying to enable 2 SSP's on one page - I would ask why?
- If you want separate instances of the module - like on separate pages, then you can copy the moduke, then in the copied one, specify the location of param.xml by duplicating param.xml (maybe call it param2.xml) and then just change the feed link (xmlFilePath).
Logged
jmcbade
Jr. Member
**
Offline Offline

Posts: 18


« Reply #9 on: March 02, 2009, 09:17:44 PM »

Quote
Can only get it to work with one instance and only of the <param_name>.xml and <slideshow_name>.swf are in the root. 
- Right, it has to be in the root. This is hard coded into slideshowpro.swf.
- If you're trying to enable 2 SSP's on one page - I would ask why?
- If you want separate instances of the module - like on separate pages, then you can copy the moduke, then in the copied one, specify the location of param.xml by duplicating param.xml (maybe call it param2.xml) and then just change the feed link (xmlFilePath).

I want to use a different swf of my own creation, say to have external navagation, or external captions. etc.  No, not on the same page necessarily.  I have been able to make two separate copies of the module work.

Casey, thanks for your help here.  Please also review this thread on this ok? http://www.joomlashack.com/community/index.php?topic=12488.new;topicseen#new

Best regards,

-John


Logged
Abishai
Jr. Member
**
Offline Offline

Posts: 3


« Reply #10 on: October 14, 2009, 11:22:02 AM »

Thanks Mo14!

I was not seeing any changes using the param.xml file.  But using your code works with SSP for Flash v. 1.9.7



I figured out a solution that works for me.
I changed the file mod_easyssp.xml in the easyssp module by adding the following field (open the file so you see where to put it):

<param name="ssp_SWFPath" label="SWF Path" type="text" description="Define the .swf file in case of using more galleries" default="slideshowpro.swf" />

Then in the mod_easyssp.php file I added -> $sspswfpath    = $params->get('ssp_SWFPath');
like this:
+++++++++
global $mosConfig_absolute_path, $mosConfig_live_site;
$width         = $params->get('ssp_width');
$height         = $params->get('ssp_height');
$bgcolor      = $params->get('ssp_bgcolor');
$paramxmlpath  = $params->get('ssp_paramXMLPath');
$unid         = $params->get('ssp_unid');
$sspswfpath    = $params->get('ssp_SWFPath');
+++++++++
AND I added -> <?php echo $sspswfpath; ?>
like this:
+++++++++
var attributes = {}
swfobject.embedSWF("<?php echo JURI::base();?><?php echo $sspswfpath; ?>", "<?php echo $unid; ?>", "<?php echo $width; ?>", "<?php echo $height; ?>", "9.0.0", flashvars, params, attributes);
+++++++++

With this you can define a different swf file in (a copy of) the easyssp Module in the Joomla backend.
Then I uploaded a second .swf file called SSP-fotowedstrijd.swf for the second galerie I want to show.
This galerie also has a different param.xml file that I put in a directory; fotowedstrijd/param.xml

I was surprised myself but it works on www.vriendenvanbiesland.nl
Hope you people can use this solution also  Wink

Logged
pirolla
Jr. Member
**
Offline Offline

Posts: 1


« Reply #11 on: January 06, 2010, 04:13:34 PM »

I figured out a solution that works for me.
I changed the file mod_easyssp.xml in the easyssp module by adding the following field (open the file so you see where to put it):

<param name="ssp_SWFPath" label="SWF Path" type="text" description="Define the .swf file in case of using more galleries" default="slideshowpro.swf" />

Then in the mod_easyssp.php file I added -> $sspswfpath    = $params->get('ssp_SWFPath');
like this:
+++++++++
global $mosConfig_absolute_path, $mosConfig_live_site;
$width         = $params->get('ssp_width');
$height         = $params->get('ssp_height');
$bgcolor      = $params->get('ssp_bgcolor');
$paramxmlpath  = $params->get('ssp_paramXMLPath');
$unid         = $params->get('ssp_unid');
$sspswfpath    = $params->get('ssp_SWFPath');
+++++++++
AND I added -> <?php echo $sspswfpath; ?>
like this:
+++++++++
var attributes = {}
swfobject.embedSWF("<?php echo JURI::base();?><?php echo $sspswfpath; ?>", "<?php echo $unid; ?>", "<?php echo $width; ?>", "<?php echo $height; ?>", "9.0.0", flashvars, params, attributes);
+++++++++

With this you can define a different swf file in (a copy of) the easyssp Module in the Joomla backend.
Then I uploaded a second .swf file called SSP-fotowedstrijd.swf for the second galerie I want to show.
This galerie also has a different param.xml file that I put in a directory; fotowedstrijd/param.xml

I was surprised myself but it works on www.vriendenvanbiesland.nl
Hope you people can use this solution also  Wink


Thanks Mo14 This solution is the best !! this field much important of all components after the XML !
Is the solution for this great component! Cheesy

Thanks a lot !!!!!!!!!!!  Grin Grin Grin Grin Grin Grin Grin
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
 

About Joomlashack | Privacy Policy | Terms of Service | Powered by Joomla | Affiliates | Contact Us

Joomlashack designs free and commercial Joomla Templates and Joomla Websites
Learn how to Joomla with our Joomla Tutorials or join our Joomla Template Club
Copyright 2005-2009 Joomlashack. All rights reserved unless otherwise stated.
The Joomla! name is used under a limited license from Open Source Matters.