|
uCoz Community Archives Locked Fields in news and blog module (custom fields, editing of fields) |
Fields in news and blog module |
I have added custom fields within the news module, but they are not showing when the entry is added. I Choose from the Custom fields 1,2,3,4 which were in the news modul. When adding an entry they are showing, and also I can see them when I am editing the entry, but when I preview the entry it shows only the title, the description and the text.
Can anyone help me how can I make this fields to show when I am previewing the entry. Thanks in advance |
Hello all,
I am a new user of uCoz services. Well, my first impression, this services are AWESOME!! Better than my latest site services. Great jobs... I've set-up a new site on the uCoz. But now I'm stuck in a few problems that I hope somebody in here could help me. This are my problems: 1. I want the Guests could enter the Name, E-mail, and WEBSITE also when they give comments in the Site News or Blog (NOT only in the Guestbook). How could I set up that?? The default setting (for Guests to comment in the Site News and Blog) is just giving Name and E-mail. I want the Guests could enter their WEBSITE link also. Could I do that?? 2. I want to use the Blog, and use the SMILEY also in the entries (NOT only in the comments). Either in the Site News or Blog entries. When I added a new entry in the Blog for the first time yesterday, I could use the SMILEY on the entry. But then when I tried again, the second entry, the smiley could not show up when the entry has been published. How to use the SMILEY on the entries?? That are my current problems... I've tried to solve by myself from yesterday, changed all settings, but I couldn't solve it. I will REALLY appreciate any help. Thank you very much. Best regards, |
1. Edit the template in Control Panel -> Customize Design -> Comments -> Form for adding comments. You need to add the code $SITE$.
2. How did you add smileys? You need to add them by means of [img] code. I'm not active on the forum anymore. Please contact other forum staff.
|
Sunny:
Thank you very much for the explanation... I read the Comments Management and I found that there's WWW field. I tried to add this codes below in the Appearance of Comments template (Main » Customize design » Editing templates) and it WORKS:
Code <?if($USERNAME$)?><a href="$PROFILE_URL$"><b>$USERNAME$</b></a> <?else?><a href="$SITE$"><b>$NAME$</b></a> <?endif?> It could read the WWW field from the Comments Management table. Unfortunately, when I tried to add this codes in the Form for Adding Comments template (like Sunny said):
Code <?if(!$USER_LOGGED_IN$)?> <tr><td width="15%" class="commTd1" nowrap>Name *:</td><td class="commTd2"><input class="commFl" type="text" name="name" value="$NAME$" size="30" maxlength="60"></td></tr> <tr><td class="commTd1">Email:</td><td class="commTd2"><input class="commFl" type="text" name="email" value="$EMAIL$" size="30" maxlength="60"></td></tr> <tr><td class="commTd1">URL:</td><td class="commTd2"><input class="commFl" type="text" name="site" value="$SITE$" size="30" maxlength="60"></td></tr> <?endif?> It DOESN'T work. So, the codes could read the $SITE$ but it cannot submit the $SITE$ variable into the Database. I'm wondering... Is there something wrong with my codes or did I miss something?? Dartz: Hhhhmm... Anyway, thank you very much for the reply... Post edited by Youfan - Saturday, 2010-05-29, 2:21 PM
|
uCoz doesn't support PHP http://faq.ucoz.com/#2
As for smiley's. They work, you must enter smiley code [... With uCoz since December 2 2007 ...]
|
Quote (Youfan) I tried to add PHP codes below in the Appearance of Comments template (Main » Customize design » Editing templates) and it WORKS: It isn't PhP code. |
Youfan, it's work
Code <td class="commTd1"><span lang="ru">Сайт</span>:</td><td class="commTd2"> <input class="commFl" type="text" name="site" value="$SITE$" size="30" maxlength="60"></td> |
It doesn't work in my uCoz site... Aargh, what's wrong with mine...
I'll try again now... Added (2010-05-29, 9:41 Am) It still doesn't work on my uCoz blog... Even I have copy-pasted your codes above. When I open the Comments Management, the WWW field is still blank... Hhmmm... Added (2010-05-29, 10:05 Am) Quote (Dartz) As for smiley's. They work, you must enter smiley code while using BBC Panel. You can do it like this: " : king : " Eh it works... Even though it's just 1 smiley. So it should be writen in BBC Panel mode... Thank you for the explanation... Only how to submit $SITE$ then now... Post edited by Youfan - Saturday, 2010-05-29, 4:09 PM
|
So my Guests really cannot write down their sites on my blog?? Aaarghhh... Suddenly I feel soo sad...
But I'll still use this services... I hope someday uCoz could make Guests write down their sites on $SITE$ variable (since usually in a blog we could leave our links)... Thank you very much for all your helps guys... I REALLY appreciate that. My thanks all to you. If somebody still has another suggestions for me, I'll read it for sure. Thank you. Post edited by Youfan - Saturday, 2010-05-29, 7:31 PM
|
| |||
| |||