Keyword

k2 comments extra fields, how to add? and edit?

More
6 years 10 months ago - 6 years 10 months ago #162049 by fuqy
Hi everybody,
1- I want to add an extra field to the k2 comments fields,
one is required, and the other is not required. just like this:
imgur.com/a/Jqsds
www.turkeyastyle.com/images/comment.jpg
and of course it should appeared in the backend control panel.
2- I want to maximized the fields of the (add a comment) : ( ex. : make the field of the name = 600px)
3- how can I arrange the fields one up and one under the other?

please help me with this.
thank you very much
Last edit: 6 years 10 months ago by fuqy. Reason: the photo didnt appears!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #162064 by Krikor Boghossian
Replied by Krikor Boghossian on topic k2 comments extra fields, how to add? and edit?
Hello,

Unfortunately this is not possible without hacking the core or developing a custom K2 plugin.

The visual part can be performed with CSS, or by overriding the item_comments_form.php file.

More info on overrides can be found here:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #162077 by fuqy

Krikor wrote: Hello,

Unfortunately this is not possible without hacking the core or developing a custom K2 plugin.

The visual part can be performed with CSS, or by overriding the item_comments_form.php file.

More info on overrides can be found here:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates



Thank you for your kind reply..
I will read the see the link you sent to me
thanks again

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #162090 by Krikor Boghossian
Replied by Krikor Boghossian on topic k2 comments extra fields, how to add? and edit?
That link will allow you to learn how to override the comment form's template file so you can adjust the form's look and feel.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum