By S.I. Tober on Wednesday, 24 January 2018
Posted in General
Likes 0
Views 597
Votes 0
I would like to get rid of the sentence "post your comment as a guest".
you can find it at the right side of the form on the page

Voetmassage

I will be happy as well if i have the opportunity to translate this sentence into Dutch.

I use Joomla 3.8.3

Thank you in advance
Hi there,

If you wanted to remove them, you can head to this path ../components/com_komento/themes/wireframe/form/default.php
and remove codes below then do template override for this files as follow https://stackideas.com/docs/komento/administrators/customization/theme-overriding

[gist type="php"]
<div class="o-grid__cell t-text--right">
<?php if ($this->my->guest) { ?>
<?php echo JText::_('COM_KOMENT_POSTING_AS_GUEST');?>

<?php if ($allowRegistration) { ?>
<?php echo JText::sprintf('COM_KOMENT_LOGIN_LINK', KT::login()->getRegistrationLink(), KT::login()->getLoginLink());?>
<?php } ?>

<?php } else { ?>
<?php echo JText::sprintf('COM_KOMENT_POSTING_AS', $this->html('html.name', $this->my->id)); ?>
<?php } ?>
</div>
[/gist]

If you wanted to translate them, you can translate them on string listed below and see how it goes. There are two way for you to translate them, either you edit it main language file here language/your_current_language/your_current_language.com_komento.ini or do language override as follows https://stackideas.com/docs/komento/administrators/how-tos/how-to-create-language-string-override

COM_KOMENT_POSTING_AS_GUEST


Please give it a try and see how it goes.
·
Wednesday, 24 January 2018 10:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for the information and sorry for late reply, I wanted to take some times to adjust this.

I prefer to remove the sentence, since it is useless information in my case.

Unfortunately I do not have access to the file:

https://www.awaremassage.nl/components/com_komento/themes/wireframe/form/default.php

It says: "unauthorized access" in firefox broswer

Do you know another option?
Thank you.
·
Sunday, 28 January 2018 00:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You cannot access them directly using your browser. You need to access them using FTP or file manager on your site and edit them based on my first reply above.

Please advice.
·
Sunday, 28 January 2018 04:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, you see I am learning...
I edited the default.php file and removed the code as you indicated.

Is it possible to upload it by ftp now?

I checked the template override option in Joomla, but do not understand what to do exactly. Can I upload the default.php here?
Please find enclosed a screenshot.
·
Monday, 29 January 2018 00:07
·
0 Likes
·
0 Votes
·
0 Comments
·
HI there,

You should be able to use this method. Maybe you can check them here https://docs.joomla.org/J3.x:How_to_use_the_Template_Manager for better understanding.

Or maybe you can try to use Filezilla, Cyberduck or maybe Transmit software for your FTP as it is much easier from my opinion. You can ask your current web hosting service provider regarding this and see how it goes.

Hope this help
·
Monday, 29 January 2018 10:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you I will try FTP tonight, or ask the service provider.
Best,
Xandra
·
Monday, 29 January 2018 19:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Please keep us updated then
·
Monday, 29 January 2018 19:36
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post