forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 ecards & email => Topic started by: tibbyhinze on October 10, 2007, 04:01:27 pm

Title: Using ecard as a form
Post by: tibbyhinze on October 10, 2007, 04:01:27 pm
I am trying to create an informal email "art auction" whereby people who cannot make it to the actual auction can register their interest / place their bids  beforehand. I would like to use the ecard function as a way for people to send a form back to me. Therefore the recipient name, recipient email (ie.me) and heading fields would be pre-defined, and there would be extra input boxes for phone number, address and bid offer.I did read somewhere about using "reports" as a form (?) but I really like the idea of using the ecard because it already contains a reference to the image of interest after people have browsed the online gallery. We are trying to go Live in a couple of days, so any help is greatly appreciated...I'm not a coder! (obviously?!)

Many thanks!
Title: Re: Using ecard as a form
Post by: Joachim Müller on October 10, 2007, 05:41:10 pm
That's why someobody told you to use the reports. In fact, the report form is identical to the ecard in every aspect except for two things:
All you have to do are some cosmetical things: just edit your language file and change some of the words that relate to the report - don't name it "report to admin", but "bid for auction". Rename the labels for the fields as well. That's about it.

Just try it for yourself and temporarily enable the "report to admin" feature in coppermine's config. Then browse your gallery to see the difference.
I attached some screenshots for you as well.

The difficult thing is if you want to accomplish more fields on the report form (or "auction bid form" if you prefer); you'll have to code them in manually, which requires intermediate coding skills.
Title: Re: Using ecard as a form
Post by: tibbyhinze on October 11, 2007, 09:14:39 am
Many, many thanks for the clarification, and for pointing me to where the various files "live"...  I've managed to set things up and all is working well!

Just two more questions(!) - in order to activate the "send report" function, ecards need to be activated (under groups)  as well, yes? I want to keep things as simple as possible and just have the "send report" button - is this possible?

And is it possible to add the actual title underneath the image when it is received by admin? Do I add something like $pic_title = $row['title'];  ? (I'm not sure where?)

Thanks again, I am trying my best to learn! ::)
Title: Re: Using ecard as a form
Post by: Joachim Müller on October 11, 2007, 10:00:22 am
in order to activate the "send report" function, ecards need to be activated (under groups)  as well, yes?
Yes
I want to keep things as simple as possible and just have the "send report" button - is this possible?
Yes, just remove the ecard link from your custom theme.

And is it possible to add the actual title underneath the image when it is received by admin? Do I add something like $pic_title = $row['title'];  ? (I'm not sure where?)
Yes, that is possible as well.
Title: Re: Using ecard as a form
Post by: AngieKay on February 15, 2011, 06:56:00 pm
I have done as mentioned in this thread, modified Report to Admin form and used this as a new form.  Now I would like to remove the ecard link/icon.  I followed the directions in this thread and on other thread for removing that link, and I cannot find the code anywhere.  I'm using CG 1.4 with the Fruity theme .  I have looked for this string of code below, and absolutely cannot find it:

<td align="center" valign="middle" class="navmenu" width="48"><a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a></td>

If you could please help me to know where in my file manager to find this code in the Fruity theme, or where the image link for ecard is, I would be grateful.  Thank you.
Title: Re: Using ecard as a form
Post by: phill104 on February 15, 2011, 09:26:09 pm
Support for 1.4.x has ended last year. If you are still using 1.4.x then please upgrade to 1.5.x. If you are using 1.5.x alread then please post in the correct boards and post a link to your site so we can investigate.