This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

customize form simple
#1

Hello
i would like to get rid of website, town and qustion, I would also like to add a red asterisk to i have read and agree to the terms and conditions.
Where can i do this
Thanks
Peter
Reply
#2

Hi,

Layouts >> Comments >> Enabled - These settings determine which parts of the comments and their outer area are enabled.
Layout >> Form >> Enabled - These settings determine which parts of the form are enabled.
Reply
#3

Hi
thanks
for your help, that resolves everything except red asterisk next to
I have read and agree to the terms and conditions. check box.
help welcome.
I have found on line 701 of form.php the terms section, I just don't know what to add to get the asterisk.
Peter

Reply
#4

(10-Sep-2011, 12:26 PM)ppiper Wrote:  Hi
thanks
for your help, that resolves everything except red asterisk next to
I have read and agree to the terms and conditions. check box.
help welcome.
I have found on line 701 of forms.php the terms section, I just don't know what to add to get the asterisk.
Peter

I understand what you mean (i think!) but could you show me a preview if what you want it to look like (i.e a site that has something like what your trying to do)? and i'll do it for you.
Reply
#5

Hello Jordan,
here is .jpg showing asterisk.
Thanks
Peter

   
Reply
#6

(10-Sep-2011, 12:55 PM)ppiper Wrote:  Hello Jordan,
here is .jpg showing asterisk.
Thanks
Peter

I guess there are a few ways of doing this you could try this way;

Quote:path/to/commentics/comments/includes/language/{your_lang}

line 118:
PHP Code:
<?php 
define
('CMTX_TEXT_TERMS', 'I have read and agree to the <a href="' . $settings->url_to_comments_folder . 'agreement/english/terms_and_conditions.html" title="View terms and conditions" target="_blank">terms and conditions</a>. <span class='required_symbol'>*</span>');
will display it after the checkbox.

Quote:path/to/commentics/comments/includes/template/form.php

line 703-
PHP Code:
<?php 
<span class='required_symbol'>*</span> <input type="checkbox" name="terms" title="<?php echo CMTX_TITLE_TERMS; ?>" checked="checked" onclick="enableSubmit();enablePreview();"/>
will display it before the checkbox.

I'm not sure if this is the best way to do it or if it will look like how you asked for it, i know some other ways which would might be a better way to do this, but i got a lot on and don't have time to edit/play around at the moment in time.

Feel free to check my edit out: http://www.commentics.org/forum/showthre...7&pid=1945
Reply
#7

Hi Jordann,
I just inserted code on line 703 and uploaded to server but no asterisk shows
Thanks
Peter
Reply
#8

(10-Sep-2011, 01:48 PM)ppiper Wrote:  Hi Jordann,
I just inserted code on line 703 and uploaded to server but no asterisk shows
Thanks
Peter

Hi,

if you don't mind waiting I'll be able to take a look to night I'll download and upload to my test site and might come up with e better/neater way of doing it as well.
Reply
#9

Hi Jordan,
did you manage to look and see what is going wrong.
Thanks
Peter

Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
16-Feb-2018, 09:15 AM
Last Post by Wendon
20-Nov-2017, 03:36 PM
Last Post by Steven
02-Jun-2016, 08:55 PM
Last Post by Steven
10-Oct-2013, 09:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)