Keyword

Where can I delete a template for a comment moderation form?

  • Aleksandr
  • Aleksandr's Avatar Topic Author
  • Offline
  • Senior Member
More
3 years 10 months ago #178527 by Aleksandr
After the K2 update, the comment moderation form started to look bad. Apparently the template is too old. How can I enable the standard moderation form?

 
Attachments:

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

More
3 years 10 months ago #178530 by JoomlaWorks
Newer K2 versions enforce the "system" or "protostar" template when opening up the modal for frontend editing, comments etc. There's a chance the reference points for these modals are outdated. Start by disabling any K2 overrides, e.g. rename html/com_k2 inside your template's structure to html/_com_k2, reload and check the results.

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

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

  • Aleksandr
  • Aleksandr's Avatar Topic Author
  • Offline
  • Senior Member
More
3 years 10 months ago - 3 years 10 months ago #178534 by Aleksandr
 
I forgot to write I have Joomla 2.5.28 and K2 2.10.4. The comment moderation form broke when updating K2 2.5.4-->2.6.2 or something not far off.... 
Attachments:
Last edit: 3 years 10 months ago by Aleksandr.

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

  • Aleksandr
  • Aleksandr's Avatar Topic Author
  • Offline
  • Senior Member
More
3 years 10 months ago - 3 years 10 months ago #178536 by Aleksandr
Unfortunately, renaming htm/k2_com did not solve the problem.....
Last edit: 3 years 10 months ago by Aleksandr.

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

More
3 years 10 months ago #178559 by JoomlaWorks
Instead of opening the comments modal, if you right-click and open them in a new tab, what's the URL?

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

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

  • Aleksandr
  • Aleksandr's Avatar Topic Author
  • Offline
  • Senior Member
More
3 years 10 months ago #178577 by Aleksandr

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

More
3 years 10 months ago #178586 by JoomlaWorks
Change it to netflow.by/news/comments?tmpl=component&template=system - does the styling change?

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

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

More
3 years 10 months ago #178587 by JoomlaWorks
I also hope the sub-template component.php exists in your template's folder (and under /templates/system/)...

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

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

  • Aleksandr
  • Aleksandr's Avatar Topic Author
  • Offline
  • Senior Member
More
3 years 10 months ago - 3 years 10 months ago #178591 by Aleksandr
 

 

Something happened differently, but it still looks bad
Attachments:
Last edit: 3 years 10 months ago by Aleksandr.

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

More
3 years 10 months ago #178592 by JoomlaWorks
Use your browser's dev tools to check if any CSS or JS files are not loaded. If there is no issue, apply some basic HTML for the listing. To be honest I haven't fully tested that part in Joomla 2.5 - it will most likely work better with the default templates for that version.

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

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

  • Aleksandr
  • Aleksandr's Avatar Topic Author
  • Offline
  • Senior Member
More
3 years 10 months ago - 3 years 10 months ago #178593 by Aleksandr
 

Cleared the cache. I didn't fully understand what the basic HTML code is.

The form is displayed the same way as the tank
Attachments:
Last edit: 3 years 10 months ago by Aleksandr.

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

More
3 years 10 months ago #178598 by JoomlaWorks
I meant that now that you have a URL for the comments which has much less CSS injected by your template, you can apply some basic CSS templating to make it look nicer.

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

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

  • Aleksandr
  • Aleksandr's Avatar Topic Author
  • Offline
  • Senior Member
More
3 years 10 months ago #178603 by Aleksandr
Basic templates is what?

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

More
3 years 10 months ago #178636 by JoomlaWorks
Style the table on your own.

Fotis / 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