By Sunny on Thursday, 19 November 2015
Posted in General Issues
Replies 9
Likes 0
Views 808
Votes 0
Sorry for this stupid question (Just Upgraded to latest EB and am a little lost with back end),

I cant seem to find from where to remove "Recent comment in this post" from the listing page.

Can you please guide me on this.

regards
Hi Sunny,

You will find it on:
EasyBlog -> Settings -> Layout -> Listings,
Then the box of Comments and "Show Comment Preview" turn off. Then it will be off at the listing pages

Steven
·
Thursday, 19 November 2015 23:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Steven, It was in front of my eyes and couldn't find it

By any chance do you know how to remove categories in "Composer" right sidebar? i've only one category so this is not needed.

regards
·
Friday, 20 November 2015 13:59
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Sunny,

Unfortunately that was not possible to disable this category section from the composer.

But you can try using following css code and see how it goes?


div#fd.eb .eb-composer-fieldset[data-name='category'] {
display: none !important;
}


By the way, thanks for help Steven
·
Friday, 20 November 2015 16:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

I tried putting the suggested CSS in my template.css but it has no effect on the display of category block. Can you please check on this.

Also can you please point out how to control the number of items displayed in Blog List (Front page Pagination)

regards
·
Saturday, 21 November 2015 14:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Did you clear your site cache after you applied that css code I provided?

Perhaps you can provide us with your Joomla backend and FTP access so we can better have a look?

Also can you please point out how to control the number of items displayed in Blog List (Front page Pagination)

You can disable this from backend > Easyblog > settings > layout > pagination > Frontpage Items Per Page
·
Saturday, 21 November 2015 14:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Working on a weekend:o (Just like me;) )

Thanks for the blog listing pagination tip, (as i'm upgrading to latest EB the backend is a little new to me)

Regarding FTP access to a live site, I'm in the process of upgrading/testing on my live site copy on my local server, as soon as it is ready i'll ping on this thread.

Apart from the above, i've heavily used JCC control to exclude unwanted js/cc from selective pages, but i'm facing a roadblock on my home page:

If a user shares a video on my community page, it renders "base.js" & "embed-player-vflrh7zZt.css" in the community page, this is fine.

Now on my home page, i'm showing a stream module as a teaser "Only title, No content" by using css hide.
But as the user has shared a video on community page, on home page with stream module "base.js" & "embed-player-vflrh7zZt.css" is also called. the size of these two collective scripts is approx 1.3mb .

Now i wanted to exclude these scripts for faster page loads, so i put mod_easysocial_stream in template html folder and inserted the following code in default.php just below "defined( '_JEXEC' )...."

<?php unset($this->_scripts['/base.js']); ?>


and also
<?php unset($this->_scripts['https://s.ytimg.com/yts/jsbin/player-en_US-vflCIicNM/base.js']); ?>


this does not work, and also entering base.js in JCC also does not exclude, do you know a way of achieving this.
This is in continuation of my local working on "This forum thread"

regards
Sunny
·
Saturday, 21 November 2015 16:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am sorry for the delay of this reply,

May i know when you view source on your homepage is it got loaded this script as you mentioned?
https://s.ytimg.com/yts/jsbin/player-en_US-vflCIicNM/base.js


If yes, try apply this following code into your JoomlaFolder/templates/Yourtemplate/index.php and see how it goes.
unset($this->_scripts['https://s.ytimg.com/yts/jsbin/player-en_US-vflCIicNM/base.js']);
·
Monday, 23 November 2015 16:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Thanks for your reply, i cant see that script in page source.
But in the Firefox webdevoloper under "Network Tab" i can see this.

Secondly if i put this unset in index.php of template, it will remove from all pages, then will the videos in Community page render?

regards
Sunny
·
Monday, 23 November 2015 17:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Sunny,

Perhaps you can try this reference link inside that mode method and see how it goes?

http://www.codingace.com/blog/how-to-remove-unwanted-javascript-files-from-joomla-page
·
Monday, 23 November 2015 22:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post