Forums

Email depending on page

g39n22e 26 Oct, 2008
Hi, i've searched through the forum and i cannot find an answer for my question, so I hope you can help me with this one.

I am making a directory website and I would like to add a contact form in the page that has information about a company and if someone wishes to email that company they can use that form. Now, instead of making hundreds of forms for each company, if possible, i want to be able to "pull" the proper email depending on which company someone is viewing and email it directly to them (and cc to the directory's website admin). Those fields should not be visible to the user.

Is there a way to do this or should I create different forms for each page?

Thank you
GreyHead 26 Oct, 2008
Hi g39n22e,

Joomla has an article object that you can access through '&$article' that should give you access to all the information that you might need. Just which bit you need depends on how you identify your companies.

There'a an article here that will tell you more about the article object.

Bob
g39n22e 03 Nov, 2008
i am sorry but i could not figure out what that article said we should do. It didn't give me the information i needed. Is there a way you can explain to me in simple terms (since i'm not php savvy in order to do this) on how i can "grab" the email information from an article? Should I create a table and get that information from there somehow?

Thank you so much
Max_admin 03 Nov, 2008
Hi, companies are stored in your database as content articles or using some extension ? tell me more, this is how you will know how to load the company email address!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
g39n22e 04 Nov, 2008
as of now, i'm thinking it will be in an article, unless you can suggest me another way. i was thinking of using a component (Sobi2) but i am still thinking about it because it does not exactly do what i want but as far as i can tell i'll end up using that... what would you suggest i should do? could i use chronoconnectivity maybe to make that company profile page with a form?
Max_admin 04 Nov, 2008
Hi, SObi2 or Connectivity are both fine, you can get familiar with connectivity but don't advance with the work on it, a new version will be out very soon.

if you will use articles then that's fine, but where do you plan to store the email per company, and in this case we can say an email per article ?

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
g39n22e 04 Nov, 2008
i am thinking of trying connectivity. i have not really looked in to it much, but would I be able to show a yellow-pages page and when someone has an advertisement to link to its advertising page with images and text, url etc? and will that link will be an article or should i make another form that i will be filling out with their info? also, will i be able to have those articles /forms in categories and add them to menus?

Sorry for asking these questions but the information i read on this are not really answering my questions.

Thank you so much for your help!!!
g39n22e 04 Nov, 2008
also, do you know when the new version is going to be out? will it be soon or the next month?? 😀
Max_admin 04 Nov, 2008
Hi,
next version by the weekend max.

you can vie lists of all records in some database table, and control how the list will look like and may be allow editing/adding/deleting for frontend users too!

each list item may be a clickable link to view a popup with more info (check our faqs page how it looks) or you can use another connection to show data in another page!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
g39n22e 05 Nov, 2008
cool i'll be waiting to try it out! thanks!
This topic is locked and no more replies can be posted.