By Vesica on Tuesday, 30 June 2015
Posted in Technical Issues
Replies 13
Likes 0
Views 391
Votes 0
Hi,

Can you please tell me where can I find the comment editor file?

thanks!
Hi,

is it possible in next versions to move this code in front-end so it will be easy for those who don't want to use png images for icons, but icon fonts or SVG to override this code via template overrides? As it is now if I change the code on updates I'll lose my changes.

thanks!
·
Wednesday, 08 July 2015 19:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Vesica,

The file is located -> JoomlaFolder\administrator\components\com_easyblog\themes\default\comments\form.js

Hope this help.
·
Tuesday, 30 June 2015 22:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

sorry, but changing the code in that file doesn't change anything in my comment form unfortunately. Maybe I wasn't specific enough. I want to change the file that is displaying the comment editor in the front-end on the entry(item) page.

thanks!
·
Wednesday, 01 July 2015 19:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Vesica,

Sorry for late reply to this and provided wrong file path for you,

The file location is JoomlaFolder\components\com_easyblog\themes\wireframe\comments\default.js
·
Thursday, 02 July 2015 10:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I'm trying to add a span tag around text inside the editor by editing the default.js file When I add the span it's added correctly to the text but it's added also to the title attribute. Can you please tell me how can I avoid adding the span tag to the title attribute?

thanks!
·
Thursday, 02 July 2015 20:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Vesica ,

Sorry for late reply to this,

Perhaps you can attach your hack file here so that we can better have a look?
·
Thursday, 02 July 2015 22:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I see that this file can't be overwritten in the the template folder, so whatever change I will do it will be lost on updates.

Since we have the templates overwrite folder in Joomla, I think that every piece of code that will render in the front-end, components, modules and plugins should be allowed to be overwritten. For example I want to replace the images from the comment editor with font icons because images look blurry on retina devices but if I change the core files all my work will be lost on my next update.

Any solutions?

thanks!
·
Friday, 03 July 2015 19:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Vesica,

I am sorry for the delay of this reply as it weekends for all of us here.

In order for your to override .js file in the theme folder, you need to override the .php file as well in order for the change to take effect. Place the following 2 files inside your /components/com_easyblog/themes/wireframe/comments/ folder,
1) default.php
2) default.js

and place it inside your /templates/[your current template]/html/com_easyblog/comments/ folder and see how it goes.
·
Monday, 06 July 2015 13:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

worked great!

Now the problem is that I need to wrap inside a span tag the text so I can set it to display: none. The problem is that when I add the span tag, it displays in the title attribute also, which I do not want.

Here's the modified file.

thanks!
·
Monday, 06 July 2015 19:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Vesica,

Sorry for late reply to this,

Unfortunately that was not possible to achieve this way, by the way, if you would like to hide one of the bbcode, you can actually use css to hide it. E.g.
div#fd.eb .eb-comment-editor li.markItUpButton.markItUpButton1.markitup-bold {
display: none !important;
}

Hope this help.
·
Tuesday, 07 July 2015 02:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

sorry, but that will not work since I'll hide the icon font as well. The reason why I need a span tag is to hide only the text and display the icon font. No problem I'll try to find a way on my own.

Can you please tell me where to find the code for the smiley's that are posted inside comment content. Please see attachment. I want to change the smiley's with icon fonts or SVG graphics instead of png.

thanks!
·
Tuesday, 07 July 2015 18:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Vesica,

These icons are located in /components/com_easyblog/themes/wireframe/images/smilies/ . The code responsible to output these image sources are in /administrator/components/com_easyblog/includes/comment/comment.php
·
Tuesday, 07 July 2015 19:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the heads up on this, we'll consider this but please submit feature requests for EasyBlog at http://stackideas.com/voices/easyblog
·
Thursday, 09 July 2015 02:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post