Dotclear

Vous n'êtes pas identifié(e).

Annonce

13 février 2024 Sortie de Dotclear 2.29

#1 2008-11-16 14:58:33

30mil
Membre
Lieu : Shreveport LA, USA
Inscription : 2005-09-03
Site Web

Freshy v2 theme question

Hi everyone,

I noticed the contact.idblog.html and contact.default.html files in the Freshy v2 theme tpl folder. Are the these there for a reason? Can I use these in place of plugin or are they meant to use with a certain plugin?

Thanks!

Hors ligne

#2 2008-11-16 18:56:59

Lomalarch
Responsable du photocopieur
Lieu : Colombes (92)
Inscription : 2006-05-02
Site Web

Re : Freshy v2 theme question

Hi,

They are meant to be used with the contactMe plugin, which provide a contact form for your visitors. In order to use it, you have to copy contact.idblog.html replace idblog with your blog ID in the file name.


RTFM attitude : https://fr.dotclear.org/documentation/2.0
Le chantier tips, tutos et astuces : http://tips.dotaddict.org/
Rien nulle part??? une petite recherche sul’ forum, alors?: https://forum.dotclear.org/search.php ?

Hors ligne

#3 2008-11-17 05:36:43

30mil
Membre
Lieu : Shreveport LA, USA
Inscription : 2005-09-03
Site Web

Re : Freshy v2 theme question

Okay. I did that and it works but the display gets messed up when I activate it. Something went wrong with it.

Here's a link to see what it looks like: http://www.sc9.net/index.php?contact

The contact I use now (in the menu) is a workaround using a "contact me" script combined with the static pages plugin. I'd like to switch to the contact me plugin though.

I'll fuss around with it tomorrow. Getting late.. Thanks!

Hors ligne

#4 2008-11-17 07:26:50

Lomalarch
Responsable du photocopieur
Lieu : Colombes (92)
Inscription : 2006-05-02
Site Web

Re : Freshy v2 theme question

Well I’d say it doesn’t work ;-)

it seems I was mistaken. Does it work better if you just rename contact.idblog.html in contact.html ?


RTFM attitude : https://fr.dotclear.org/documentation/2.0
Le chantier tips, tutos et astuces : http://tips.dotaddict.org/
Rien nulle part??? une petite recherche sul’ forum, alors?: https://forum.dotclear.org/search.php ?

Hors ligne

#5 2008-11-18 05:00:00

30mil
Membre
Lieu : Shreveport LA, USA
Inscription : 2005-09-03
Site Web

Re : Freshy v2 theme question

I tried that and I got the same results. I then renamed it to xxx.html to see what would happen and I got the same results .... wtf?!
Inside the plugin folder contactMe > default-templates is a file named contact_me.html. I tried renaming it to contact.default.html and contact.html. Both changes came up with the DotClear "something went wrong with your template" error. This plugin works fine in other templates. Freshy2 just doesn't like it so much. I'll poke around the theme files and see if I can figure out what div or other marker may be causing the problem.

Hors ligne

#6 2008-11-18 05:56:53

Lomalarch
Responsable du photocopieur
Lieu : Colombes (92)
Inscription : 2006-05-02
Site Web

Re : Freshy v2 theme question

the file name in default-template is the file name you have to use, not rename.

So, rename contact.idblog.html in contact_me.html and it should do the trick ;-)


RTFM attitude : https://fr.dotclear.org/documentation/2.0
Le chantier tips, tutos et astuces : http://tips.dotaddict.org/
Rien nulle part??? une petite recherche sul’ forum, alors?: https://forum.dotclear.org/search.php ?

Hors ligne

#7 2008-11-18 17:53:59

30mil
Membre
Lieu : Shreveport LA, USA
Inscription : 2005-09-03
Site Web

Re : Freshy v2 theme question

Okay it's displaying the form now but not correctly. All the tpl tags are showing and the form functions don't work obviously. I'll have to check the plugin file against the theme file and see if I can find what's causing this.

Hors ligne

#8 2008-11-18 19:35:09

Lomalarch
Responsable du photocopieur
Lieu : Colombes (92)
Inscription : 2006-05-02
Site Web

Re : Freshy v2 theme question

Well, I’m affraid you’ll have to choose the Contact plugin instead of Contact Me (they both have similar purpose) : the templates in Freshy2 probably fit to that plugin and not contact Me


RTFM attitude : https://fr.dotclear.org/documentation/2.0
Le chantier tips, tutos et astuces : http://tips.dotaddict.org/
Rien nulle part??? une petite recherche sul’ forum, alors?: https://forum.dotclear.org/search.php ?

Hors ligne

#9 2008-11-22 00:55:28

30mil
Membre
Lieu : Shreveport LA, USA
Inscription : 2005-09-03
Site Web

Re : Freshy v2 theme question

I have an update. Contact me doesn't work in any theme I use. I have uninstalled the plugin and cleared the sql entries (which by the way, aren't getting cleaned out when a plugin is deleted!) emptied the themes cache, and re-installed the plugin. From this link http://www.sc9.net/index.php?contact you can see that the whole form is being rendered wrong and unusable. I have verified the file is formatted in utf-8. Can you have the author take a peek at what might be going wrong? I have removed the two (contact......html) theme files from freshy2 (updated 21Nov) so I know it is not the theme files getting in the way.

Any other thoughts?
Thanks for your time.

Hors ligne

#10 2008-11-23 06:22:18

Lomalarch
Responsable du photocopieur
Lieu : Colombes (92)
Inscription : 2006-05-02
Site Web

Re : Freshy v2 theme question

It seems you’re trying tu use the contact Me plugin with the Contact plugin template. Try uninstalling contact Me and use Contact instead ;-)


RTFM attitude : https://fr.dotclear.org/documentation/2.0
Le chantier tips, tutos et astuces : http://tips.dotaddict.org/
Rien nulle part??? une petite recherche sul’ forum, alors?: https://forum.dotclear.org/search.php ?

Hors ligne

#11 2008-11-23 16:10:57

30mil
Membre
Lieu : Shreveport LA, USA
Inscription : 2005-09-03
Site Web

Re : Freshy v2 theme question

I didn't have the Contact plugin installed during all this so I really can't see what may have getting in the way. Regardless I uninstalled ContactMe (then cleared the database of it's settings entries) and installed Contact. http://www.sc9.net/index.php?contact

So, looks like I'll be fiddling with the Contact files to get it to display right. Or, keep using the ad-hock method I am using now.

Thanks for trying to help me out Lomalarch. I appreciate it. If I get it working for current theme I'll drop a note in this thread.

Thanks again

Hors ligne

#12 2008-11-23 16:31:19

pierrevg
Membre
Inscription : 2005-04-13
Site Web

Re : Freshy v2 theme question

Hello

What is the version of your Freshy2 ? The lats version must be ok.
If the plugin is contact (by k-net), the good file is tpl/default/contact_idblog.html
You must copy it in tpl and rename inidblog with the good id.
if the plugin is contact_me, the good file is tpl/default/contact_me.html
You must copy it in tpl.

Hors ligne

#13 2008-11-23 16:52:52

30mil
Membre
Lieu : Shreveport LA, USA
Inscription : 2005-09-03
Site Web

Re : Freshy v2 theme question

Hi peirrevg,

Tahnks! That did the trick. Lomalarch, maybe you were trying tel the the same thing but I never made the connection about the two contact files in Freshy to be used with the two different contact plugins.  All is right now. :)

Thanks for all the help!

Hors ligne

#14 2008-11-23 17:20:17

Lomalarch
Responsable du photocopieur
Lieu : Colombes (92)
Inscription : 2006-05-02
Site Web

Re : Freshy v2 theme question

I’m glad you worked it out. pierrevg is, indeed, more accurate, for he knows the theme, he worked on it ;-)


RTFM attitude : https://fr.dotclear.org/documentation/2.0
Le chantier tips, tutos et astuces : http://tips.dotaddict.org/
Rien nulle part??? une petite recherche sul’ forum, alors?: https://forum.dotclear.org/search.php ?

Hors ligne

#15 2008-11-23 17:31:28

pierrevg
Membre
Inscription : 2005-04-13
Site Web

Re : Freshy v2 theme question

Sorry for my english (awfull). To explain, pierrevg = brol...
If you have a problem with the theme, let a comment on the ticket (c'est Dsls qui va être content de toute la belle pub que je lui fais pour son blog à lui qu'il a ;-p).

Hors ligne

#16 2008-11-23 20:19:39

30mil
Membre
Lieu : Shreveport LA, USA
Inscription : 2005-09-03
Site Web

Re : Freshy v2 theme question

I will. Thanks for the help!

Hors ligne

Vous n'êtes pas identifié(e).

Pied de page des forums

Sites map