Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / singapore photo / picture gallery for zc 1.3

singapore photo / picture gallery for zc 1.3

Locked

Started by hareslade on 19 Jul 2006, 11:47 PM · Views: 13,625

Results 21 to 31 of 31
This thread is locked. New replies are disabled.
1 Aug 2006, 1:25 PM
#21
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Post #21 by tinas

I just want to let you know - I installed this gallery into my demo site for a client last nite and it was a smooth process. I have no errors, it appears to work as intended and I am pleased. I did not install any of the extras, as they are not needed for this client.

Thank you for the release of such a helpful mod!:thumbsup:

When the world gets in my face I say Have A Nice Day.

1 Aug 2006, 10:42 PM
#22
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Post #22 by hareslade

Its been brought to my attention I forgot to state the obvious about the Singapore Zencart add on.

You do NOT need to use a separate install of Singapore, all the Singapore 9_11 files are contained in the add on's download. Any time you add a picture using zencart admin | extras | singapore | the galleries it will appear in the cart side gallery immediately, if things are set up correctly in the ini files.

The only time you'll not see a picture is when you inserted a subgallery next to existing pictures, Singapore won't show those existing pics by design.

===============

For switt and anyone with the patience to connect singapore main pictures to specially created zencart products, to give 'direct cart selling':

SINGAPORE-TO-ZENCART PRODUCT LINK

I created an add on for the add on, to enable a zencart product to be linked with a singapore main picture and vice versa. This is a manual fix, you need to do it in admin by hand, per singapore image, creating the separate zencart product as you go. It is clunky but it works..

I had assumed it was easy just to put a url into one of the singapore picture information lines, as the link to a zencart product, ... but it does not work

Therefore here is the download link, its basically a change to one class file
http://hareslade.com/zc125/download/BETA_ZC_1.3_SINGAPORE_PRODUCT_LINK_MOD.zip

The idea is, create a zencart product to match the singapore gallery image, insert a link from the zencart product (in the product url field) then do the matching reverse link in the singapore admin, to place the link in the picture display (to the zencart product page) into what was the email field.

I'm away a few days, so no queries answered by me for a while

1 Sep 2006, 3:35 PM
#23
buzzville avatar

buzzville

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Post #23 by buzzville

hareslade:

Therefore here is the download link, its basically a change to one class file
http://hareslade.com/zc125/download/BETA_ZC_1.3_SINGAPORE_PRODUCT_LINK_MOD.zip

Just tried to go to download this and am getting "Account for domain hareslade.com has been suspended"... anyone already have this file downloaded who could email it to me?

Thanks!

1 Sep 2006, 6:35 PM
#24
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Post #24 by hareslade

My 1.3 carts have been blown up, currently negotiating with my host to get my website back please!

Let this be a lesson to me, and others :) never have 'unfixed' 1.3 carts on your site.

Just p.m me, if you give your email address I can return attach the required zip

these things happen, I am wisened, glasshopper....

24 Oct 2006, 9:43 AM
#25
m138 avatar

m138

New Zenner

Join Date:
Oct 2006
Posts:
6
Plugin Contributions:
0

Post #25 by m138

hi hareslade could you kindly send it to me? yousendit.com would be fine, no? thanks

24 Oct 2006, 6:40 PM
#26
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Post #26 by hareslade

Hi folks
At last! I got a post notfication from the forum..

I've altered the Singapore add on files slightly to fit in with zencart 1.3.5
My hareslade site is still being re-con-structed so.. I put the zip at
http://www.hareslade.com/zc125/downloads/test_zips/R_ZC1.3.5_SINGAPORE_ADD_ON_SIZ_V2.1.zip

Let me know if I messed up anywhere - I was trying to hold out until I found time to test it again, but you guys keep pestering me :)

Try it out, don't be surprised when your cart breaks, - until you correctly alter the 2 singapore.ini files with your cart db details, it will just freeze..


and as I said (but out of sight above somewhere) the add on includes full Singapore 9-11 files, so you just upload the lot and alter the singapore.ini (renaming the 'dist' files in the add-on, is required)

and as I also said, you should find the cart-side gallery link added to the 'more info' sidebox, you can copy that hyperlink to wherever you want gallery access

and you get to run a 'normal' singapore admin page 'within' zencart admin, go to the 'extras' menu find 'singapore'

I removed the 'cart side users access' files on this version, because I think most people just want a gallery they admin themselves.

Plus I removed a 'bgcolour display' from the optional 'picture frame' part of the add-on. The picture frame option is still settable, see the readme.

Regards

24 Oct 2006, 11:15 PM
#27
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Post #27 by bettysue

Hi hareslade-

Does the new download include the change you mentioned above about linking products to the images?

Thank You!

betty

25 Oct 2006, 10:29 AM
#28
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Post #28 by hareslade

Hi Betty no, its just the 'normal' singapore add-on.

This is the beta version, a small extra add-on to arrange ability to manually insert a 'page url' into what was the email 'data entry' for a singapore main picture
http://www.hareslade.com/zc125/downloads/test_zips/BETA_ZC_1.3_SINGAPORE_PRODUCT_LINK_MOD.zip

I'll be blunt, I thought the linking of singapore pictures to a product page would be easy, but in fact, existing Singapore email field has to be adjusted, hence the minor change to coding.

To do automatic product linking is too complex in singapore, the G2 add-on does indeed do this - but its a hi-tech piece of OOP seat-of-the-pants programming which I don't feel suitable, (it runs a virtual copy of a zencart cart, through a pseudo API, which for zencart is not offically a 'method' as far as I know!) and it is very sensitive to future zencart core changes..

So... this is where I say,

"how's about a new product type called 'gallery product'."

(fanfare of trumpet sounds occurs... :)

I think there are two types of needs here - one is for an easy to use mini-gallery, (singapore) the other is a simple way of presenting big pictures in zencart, which 'automatically occur' as a new 'gallery product' is made in zencart admin.

The difference is, whereas singapore add-on creaters a ready-made 'gallery layout', -- with the 'gallery product' one will have to choose a category as 'main gallery' and set up within that, subgalleries with the gallery products (that is, the 'album') you want.

You will not be able to mix in other zencart product types in those gallery categories, because the coding requires it is dealing with 'all' gallery type products, otherwise it tries to display your welly boots product as a work of art in the album listing :)

I have a preliminary version of the 'gallery product' working, if someone with a bit of 'troubleshooting interest' cares to join with me in getting the thing to run properly, perhaps they can p.m me?

You see, its no good creating a gallery product, and then having to manually create a main picture in the 'LRG' format of necessity. So I'm using the Image Handler add-on, to create the big main product image 'on the fly'.

So.. I need someone who can receive a zipped fileset, use their basic abilities to install on a test cart, feed back what happens 'for them'. The Image handler itself is a standard add-on, (available from zc downloads page here) but if you read the threads there are various things that can sometimes give trouble.

I regard the potential of the 'gallery product' as mopping up the probs that singapore gives, because of the manual 'product link' requirements if required, - and there's a good chance the 'gallery product' would in the end be a much more 'zencart style' friendly add-on, without having to resort to importing the singapore filesets.

For me, first stage of doing the 'gallery product' publicly, would be to have some volunteers to try it out as it exists now, they can feed back to me any ideas or methods... while I can create these things, its much better if others can get involved. Any p.m offers?

In the meantime, Singapore rests as a neat way of presenting picture in nice looking galleries, but its in my view not a best solution, to try to force it into the 'product linked' mode as well.

25 Oct 2006, 5:52 PM
#29
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Post #29 by bettysue

Hi hareslade,

Thank you for the thorough and informational reply!

I'm not sure if it will help or not, but perhaps if some of us tell you why we are interested in the product linking to image, it might somehow help in some way.

I am interested in it in order to add images to products on another site. The stores I am working on carry their own products and also are associated with some other companies that want to list some of their products there.

Ideally these off site products would be mixed in with the regular store products. If there is currently a way to do it, I'm not aware of it.

So as an alternate method, I thought something like your gallery would be useful for these products. I'm not sure if it links in with the categories or not as I haven't installed it yet. I wanted to ask about it first.

betty

25 Oct 2006, 8:09 PM
#30
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Post #30 by hareslade

Hi Betty
your answer has had the same effect on me... still trying to work out what it all means ;)

Singapore as you thought, does its own thing with its gallery pictures - they are not sourced from zencart products or linked to categories, nor are the singapore gallery folder(s) anything to do with zencart categories.

The singapore pics are inside a folder called /galleries, laid out same as the actual gallery structure used for display. Zencart doesn't know about them.

Singapore is a cuckoo in zencarts nest :)

On the other hand, my 'gallery type' is a zencart-run product type, which of course attracts all the options that zencart normally has, in terms of treating a gallery product the same as any other product type, both in admin and in the cart's product display itself.

2 Dec 2006, 7:48 PM
#31
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Post #31 by hareslade

I have updated the Singapore 9_11 add-on for zencart 1.3.6,
download at
http://www.hareslade.com/zc/index.php?main_page=document_general_info&cPath=50&products_id=476

I have dropped the 'cart side gallery user' option and the javascript colour-background settings, because I feel these are side issues. You could re-introduce them from an older version of add-on, as the fileset has changed very little.

But the 'picture frame' option is included, and the option for log-in required to see a main picture is still there.


Gallery product type (real products)

While I am continuing to support the Singapore add-on, (even if a bit delayed!) I have also created a 'gallery' product type, which is designed to 'look like' singapore, but is a true zencart-added product type.

I ask that anyone interested --please P.M me-- for the gallery type fileset, it is a working fileset which I'll release properly, if someone *** volunteers to test it out first! ***

It can use IH2, with local cache and zoom on, OR in 'off web cache' mode, with all pictures cached, but zoom has to be off in that case.

''It works for me''! Any takers? Just need to know it works on other people's test carts.