Re: Simpleviewer w/ simple e-commerce customization

next step: php code

need to know php file operations
-get parameter rubriek
-open file galleryprototype.xml for read
-read data
-seek place to insert rubriek info and insert info
-- search for "rubriek=" in loaded file
-- paste info, repeat this for every picture caption (search next "rubriek=")
-open gallery.xml for write (delete previous gallery.xml)
-write file

thats all. calling of newly created default.php is: default.php?rubriek=xxxxxx   will show your gallery with rubriek info.

repeat this for every picture set.

regards.....

Your instruction look as if you are sure to get it work. This gives me hope.
I'll send you a private message with comments for the first part of your reply, the (stripped) default.php file and more.

need to know php file operations
Server : MS Windows 2003
PHP: V5 ; register globals off
What more do you need to know?

May I thank you in advance for writing the php-code for default.php?

thats all. calling of newly created default.php is: default.php?rubriek=xxxxxx   will show your gallery with rubriek info.
the file is already called for by : default.php?galery=$galery&rubriek=$rubriek.

The value of at least $rubriek has to be parsed to the SV, i.e. the file viewer.swf, by running Picasa for a galery !!

That the real problem, right!

met vriendelijke groet,
Berend

Re: Simpleviewer w/ simple e-commerce customization

I would like to mention that I gave follow up on my issue through private messaging with "s5vi".

In the meantime the issue is completely solved and SV Picasa template V1.8 made suitable for simple e-commerce.

Thanks to "s5vi"!

met vriendelijke groet,
Berend

Re: Simpleviewer w/ simple e-commerce customization

Fantastic! Do you mind giving a quick summary of your issue + solution?

Felix Turner
SimpleViewer Support Team.

Re: Simpleviewer w/ simple e-commerce customization

Hi Felix , thanks for your interest.

You can try my solution at http://www.tancsicscipo.hu
The english translation not complete yet.
Log in with any email address.
Navigate to Goodies/Upcoming collection. There is a link in caption means "drop into my basket"
Tutorial here http://www.tancsicscipo.hu/swf/details.swf
or on hungarian page "webshop" menu point.

I cant modify source (i cant pay for it) thats why i must create a link into caption with url of my php script and make a parameter contains whole caption (including additional info size,color,quantity..etc)
My php script get this info and can manage basket items.
It would be more elegant that additional info being handled in viewer.swf directly (eg: a flash dropdown list for colors) and the viewer.sfw would call my php script with parameters.
I'm thinking of embedding viewer.swf into my flash , but to get info my flash must be parse the xml file too. (like viewer.swf)
(my preconception is the xml file must hold all data prices,sizes,colors)

ps: Felix , in my page i faced also the lenght of url problem. You say no barrier in SV.
But what about the lenght of whole caption? This is also unlimited?

Best regards.....

Re: Simpleviewer w/ simple e-commerce customization

Hi s5vi,

do you want to share your code? Can we download it somewhere?
The english version didn't work, but I found it on the hungarian one.
Looks exactly like what we need.

TIA.

Regards,

Geert