Page 1 of 1

OOPS! How to create clickable {email-name} tag [SOLVED]

Posted: Sun Dec 10, 2006 3:56 am
by WebGirl
UPDATE:  SORRY! I thought I posted this in SUPPORT | GENERAL HELP - don't know how to move it, so will post it over there.


Hi there,

My client wants to be able to type an email name into a field, which then appears on the webpage as a 'clickable' link.

I've gone through the Forum and can't find an answer - maybe I'm searching for the wrong keywords.

I've seen the smarty tag, but the email names need to be entered only when required, not 'fixed' in the template.

I need the same solution for a domain name.

Are there two tags I haven't found yet, which will allow my client to do this?

I'm sure there are ... but after spending an hour reading the forum, I just need to solve it - thanks everyone! :)

Re: OOPS! How to create clickable {email-name} and {domain-name}tag

Posted: Thu Dec 14, 2006 10:54 am
by RonnyK
Webgirl,

in Form Builder there is some logic that allows you to send e-mail to a specific mail-account based on a pull-down list. It might be possible to use this logic. In general it works like this: You enter a code (name, department what you want) and give the corresponding mail-account. In the form if the code is choosen from the pull-down, the mail is sent to the corresponding account. I'm not sure if this is workable in your case, but I use it similar.


Ronny

Re: OOPS! How to create clickable {email-name} and {domain-name}tag [SOLVED]

Posted: Thu Dec 14, 2006 8:23 pm
by WebGirl
Thanks everyone - problem solved.

A friend helped me create a User Defined Tag [under Extensions in the top menu], and part of my UDT looks like this:

'.$params['email'].'
'.$params['website'].'


So in the actual page content, it looks like this:

{artgalleryname title='Type-name-of-Category-here'}
{name-of-my-UDT-appears-here name='Art Gallery on Mars' email='xxx@whateverdomain.ooo' website='www.whateverdomain.ooo'}


and this works beautifully :)

I just copy and paste the red code into my content area as many times as I need for each art gallery, and then OVERTYPE the real details onto it.