Elxis CMS Forum

Extensions => Components => Topic started by: jimmyz on April 13, 2011, 23:21:34

Title: Contact και E-forms bot
Post by: jimmyz on April 13, 2011, 23:21:34
Χαίρετε,
ολίγη από την σοφία σας παρακαλώ...

Εγκατέστησα και δημοσίευσα το E-forms bot. Έφτιαξα και μια ωραία φόρμα της αρεσκείας μου, την οποία καλώ με επιτυχία από ένα Αντικείμενο Περιεχομένου. Επιθυμώ διακαώς να προσθέσω στην αρχή της φόρμας αυτής, το business-card από το Contact component.

Δοκίμασα:

Αυτό, όταν καλέσω το Αντικείμενο Επαφής "Επικοινωνία", μου δίνει μια σελίδα με σκέτο το business-card και αμέσως κατόπιν, αντί της ωραίας μου φόρμας, το αντιαισθητικό {eforms}mycontact-gr{/eforms}, σαν κείμενο.

Πώς λοιπόν, ερωτώ, μπορώ να τροποποιήσω επιτυχώς το component Contact, ούτως ώστε να συμπεριλάβει στην έξοδό του το περιεχόμενο του E-forms bot; Ε;  :-\
Title: Re: Contact και E-forms bot
Post by: aiden11 on April 14, 2011, 01:26:29
I thought this was the english section :)
Title: Re: Contact και E-forms bot
Post by: webgift on April 14, 2011, 01:33:40
Eforms bot replace the known pattern ({eforms}form_name{/eforms}) from a content item or autonomous pages.
You can add the business card info at your forms using specific code at data.xml file.
Title: Re: Contact και E-forms bot
Post by: jimmyz on April 14, 2011, 10:07:48
Well, I was browsing lately to the Greek section... aliens possessed my pc and they control all of my clicks. For some days now, I hear them trying to crack the metal case...
Thanks, aiden11.

I was looking for a lazy way of having an E-form (from the installed and published E-forms bot) displayed in the Contacts component, after removing from it some code I don't need.
I mentioned above, the three steps I took to achieve this.

But all this gave me the business-card (which I wanted) and a text line {eforms}mycontact-gr{/eforms}, which was supposed to be my (tested ok) form.
My friend Webgift, I appreciate your contribution. I'll give it a try.


Title: Re: Contact και E-forms bot
Post by: webgift on April 14, 2011, 10:58:16
I am sure that you can do that.;)
Don't forget to use :

<![CDATA[  write html code here . ;)   ]]>