Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Pomoc oko XML-a - hitno

[es] :: Web dizajn i CSS :: Pomoc oko XML-a - hitno

[ Pregleda: 1595 | Odgovora: 4 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

ivanpro
Beograd

Član broj: 186028
Poruke: 104
*.adsl-1.sezampro.rs.



+10 Profil

icon Pomoc oko XML-a - hitno06.03.2011. u 19:39 - pre 159 meseci
Skinuo sam template u xml-u i preradio sam ga za moje potrebe, ali imam jedan "mali" problem ???

Ne radi mi Contact Form, tj. kada se popuni i klik na SEND izbaci poruku da nije poslato.

Ovako izgleda FormConfiguration.xml file

Molim ako neko zna gde je greska ili sta treba da se upise.
Code (xml):

<?xml version="1.0" encoding="utf-8"?>
<contactFormConfiguration>
     <emailTo><![CDATA[[email protected]]]></emailTo>
     <serverProcessorType>php</serverProcessorType>
     <serverProcessorFileName>contact</serverProcessorFileName>
     <validateRequiredOnly>false</validateRequiredOnly>
     <submitFormOnEnter>false</submitFormOnEnter>
     <messageSentText><![CDATA[Vaša poruka je poslata.]]></messageSentText>
     <messageSentFailedText><![CDATA[Greška, poruka nije poslata]]></messageSentFailedText>
     <formProcessingText><![CDATA[šalje se...]]></formProcessingText>
     <smtpServer><![CDATA[localhost]]></smtpServer>
     <smtpPort>25</smtpPort>
     <plainText>false</plainText>
     <emailFromSource>2</emailFromSource>
     <subjectSource><![CDATA[Contact Form from your site]]></subjectSource>
     <validationErrorMessages>
          <message type="maxRequirementError"><![CDATA[{LABEL} - The number of variants selected exceeds the maximum]]></message>
          <message type="reqExpError"><![CDATA[{LABEL} - The specified string does not match with the regular expression.]]></message>
          <message type="biggerThanMaxError"><![CDATA[{LABEL} - The specified number is greater than an acceptable biggest number for this field.]]></message>
          <message type="negativeError"><![CDATA[{LABEL} - The specified number must not be negative.]]></message>
          <message type="lowerThanMinError"><![CDATA[{LABEL} - The specified number is lower than an acceptable lowest number for this field.]]></message>
          <message type="minCharsLimitError"><![CDATA[{LABEL} - The specified number of characters in a field is less than a required minimum.]]></message>
          <message type="dateIsNotValidError"><![CDATA[{LABEL} - date has wrong format]]></message>
          <message type="shouldBeEqualError"><![CDATA[{LABEL} - values do not match]]></message>
          <message type="fieldIsRequired"><![CDATA[{LABEL} is required.]]></message>
          <message type="emailNotValid"><![CDATA[{LABEL} - Pogrešna e-mail adresa.]]></message>
          <message type="notANumberError"><![CDATA[{LABEL} - The data is not a number.]]></message>
          <message type="minRequirementError"><![CDATA[{LABEL} - The minimum number of variants is not selected]]></message>
     </validationErrorMessages>
</contactFormConfiguration>
 


[Ovu poruku je menjao Aleksandar Ružičić dana 07.03.2011. u 18:16 GMT+1]
 
Odgovor na temu

Aleksandar Ružičić
Software Architect, Appricot d.o.o.
Beograd

Član broj: 26939
Poruke: 2881

Jabber: krckoorascic@gmail.com
Sajt: krcko.net


+44 Profil

icon Re: Pomoc oko XML-a - hitno07.03.2011. u 17:18 - pre 159 meseci
daj malo vise informacija, koja aplikacija je u pitanju? ja se npr nikad nisam susretao sa ovakvim konfiguracionim fajlom...

u svakom slucaju tema nije za web dizajn i css, vec za neki forum vezan za server side jezike, ali dok ne kazes o cemu se tacno radi ostaje ovde..
 
Odgovor na temu

ivanpro
Beograd

Član broj: 186028
Poruke: 104
*.static.isp.telekom.rs.



+10 Profil

icon Re: Pomoc oko XML-a - hitno08.03.2011. u 15:39 - pre 159 meseci
OK, namestio sam.
Sada radi.

Hvala Aleksandre.

P.S. mozes da obrises celu temu.
 
Odgovor na temu

balavi

Član broj: 175011
Poruke: 797
*.dynamic.isp.telekom.rs.



+104 Profil

icon Re: Pomoc oko XML-a - hitno08.03.2011. u 15:48 - pre 159 meseci
postavi sta je bio problem i kako si ga resio, glupo je da se brise kad amoze nekom dapomogne
 
Odgovor na temu

ivanpro
Beograd

Član broj: 186028
Poruke: 104
*.static.isp.telekom.rs.



+10 Profil

icon Re: Pomoc oko XML-a - hitno08.03.2011. u 16:19 - pre 159 meseci
OK izinjavam se
.
.
.

<serverProcessorType>php</serverProcessorType>
<serverProcessorFileName>contact</serverProcessorFileName>
.
.
.

tip fajla .php
ime fajla "contact" (moze bilo koje ime ali mora i ovde da se promeni)

samo sam napravio klasican php fajl za slanje sa nazivom contact.php
znaci, kada kliknes na submit on odradi komandu iz tog fajla.
 
Odgovor na temu

[es] :: Web dizajn i CSS :: Pomoc oko XML-a - hitno

[ Pregleda: 1595 | Odgovora: 4 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.