Posts: 45
Threads: 12
Joined: Sep 2011
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
Posts: 38
Threads: 3
Joined: Jul 2011
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.
Posts: 45
Threads: 12
Joined: Sep 2011
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
Posts: 38
Threads: 3
Joined: Jul 2011
(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.
Posts: 45
Threads: 12
Joined: Sep 2011
Hello Jordan,
here is .jpg showing asterisk.
Thanks
Peter
Posts: 38
Threads: 3
Joined: Jul 2011
(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