Yes, look at “../plugins/dmsguestbook/language/english.txt”.
Dani
thanks for the reply!
at …/plugins/dmsguestbook/language/italian.txt I tried to change a field, for example the field <url>Sito Web</url> with a new field, but it doesn’t run …what should I write?
thanks again Dani
Did you clear the browser cache?
yes, and if for example, instead an URL I write the name of a city, there’s an error message: “Invalid website address!” because I think the field runs only if I write an URL
in that file:
/* Daniel Schurter *** DMSGuestbook(at)DanielSchurter(dot)net */
<name>Name</name>
<email>Email</email>
<url>Website</url>
<message>Text</message>
...
...
how should I write instead <url>Website</url>? For example, <text>Where are you from?</text>
I tried but have had no success
Hi Nordavind,
this isn’t simple, you need some PHP experience to do that.
1) If you want add new tags eg: <text></text>, you have to add that in dmsguestbook.php on line 817. Search for variable $string_flag and add the keyword in the array at the end.
2) After that create a new variable on line 136, after
$lang_spam_detect = html_entity_decode($language[14], ENT_QUOTES);
e.g:
$lang_nordavind_text = html_entity_decode($language[15], ENT_QUOTES);
($language[15] is necessary, it’s the last entry of array )
3) Add $lang_nordavind_text in following lines: 411, 624, 630.
A good example is $lang_url. Search for that and see where this variable is set.
4) open default.tpl on “../plugins/dmsguestbook/template/form” with an editor and set $lang_nordavind_text where you want.
A quick win solution: You can also add your text directly on default.tpl if you like 🙂
Greetings,
Dani