Novo

Forum kao aplikacija na telefonu

Dodajte forum na početni ekran i koristite ga kao aplikaciju, sa menijem na dnu ekrana.

Pomoc oko XML-a - hitno

Pomoc oko XML-a - hitno 06.03.2011. u 20:39 · pre 191 mesec
izmenjeno 1 put, poslednji put Aleksandar Ružičić 07.03.2011. u 18:16
  1. Aleksandar Ružičić07.03.2011. u 18:16zapis iz teksta poruke
#1
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>
 
Re: Pomoc oko XML-a - hitno 07.03.2011. u 18:18 · pre 191 mesec #2
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..
Potpis
rafforum.rs - Forum Računarskog Fakulteta
Re: Pomoc oko XML-a - hitno 08.03.2011. u 16:39 · pre 191 mesec #3
OK, namestio sam.
Sada radi.

Hvala Aleksandre.

P.S. mozes da obrises celu temu.
Re: Pomoc oko XML-a - hitno 08.03.2011. u 16:48 · pre 191 mesec #4
postavi sta je bio problem i kako si ga resio, glupo je da se brise kad amoze nekom dapomogne
Re: Pomoc oko XML-a - hitno 08.03.2011. u 17:19 · pre 191 mesec #5
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.
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme