1 lturner May 27, 2009 22:19
3 lturner May 27, 2009 22:56
Hi John
Many thanks for your quick response. Glad you like the skin. If I can get it working I will make it available for people.
I already have that code snippet in my index.main.php file and I have now copied the _msgform.disp.php from the skins folder to the folder of my new skin but it didn't seem to make any difference.
Very confused......
Lee
4 john May 27, 2009 23:13
Is message.send.php in your htsvr folder?
5 lturner May 28, 2009 08:19
Yes, I have a message_send.php in my htsvr folder. I can only think that is it something I have missed in the creation of the skin because if I change to something like the glossyblue skin the contact form displays fine.
I'll have to go through each skin and see what is different.
Thanks
Lee
6 edb May 28, 2009 09:09
For contacting the owner of the blog use
$Blog->contact_link( array(
'before' => ' • ',
'after' => '',
'text' => T_('Contact'),
'title' => T_('Send a message to the owner of this blog...'),
) );
only without the arrows ;)
To have a contact link associated with each post use
$Item->msgform_link();
Both of these snippets would be in your *.main.php file :)
7 lturner May 28, 2009 09:44
Thanks Edb and John for your help
I have sorted it out now after comparing my new skin with the glossyblue one. It was all to do with my index.main.php file. It did have the skin_include( '$disp$', array( ) ); call in it but it also had a load of other stuff - pretty much the same as the posts.main.php file to be honest. When I chopped out all the other bits it worked just fine.
I think I am starting to get my head around the skin system a little better now :-) Thanks again for your help.
Lee
Have you tries to include the _msgform.disp.php in your new skin's folder? and is this snippet in your index.main.php...
BTW, It's a very nice skin