By Torgrim Sandvoll on Sunday, 05 January 2014
Posted in Technical Issues
Replies 5
Likes 0
Views 1K
Votes 0
Hi,

Is it possible to show blog title and description only in frontpage and category views, and not in blog entry view? As it is now, when I enable blog headers in backend it shows up (and interferes) also in the single blog entry view.

Same goes with Blog subscription, which I have set to Do not allow entryt subscription, but still the Subscription button shows up in blog entry view.
Hello Torgrim,

So sorry for the delay in getting back to you. Please find your replies as below,

1. Unfortunately the header is in a universal file and is shared by all the views in EasyBlog. You can however do a checking to remove the header.
if( JRequest::getString( 'view' ) != 'entry' ){
//header here
}

The universal file is

JOOMLA/components/com_easyblog/themes/default/toolbar.php

2. The subscribe button on top is for the whole site. You will have to disable "Allow site subscriptions"

Hope this helps.

Thanks!
·
Monday, 06 January 2014 18:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Torgrim,

I am really sorry for the delay of this reply as it is a weekend for us here.
Unfortunately we do not have this option specify to set the blog header not show on the blog entry page.
Yes, you can disable from your backend > Easyblog > Setting > Workflow > subscriptions tab > Allow entry subscriptions "NO"
Hope this help.
·
Sunday, 05 January 2014 10:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Thank you for your anwer.
1. Blog header
Hope you can fix this for an upcoming version of EasyBlog. When users enter my blog I would like them to be greeted with my Blog title and description, but when reading an entry/a sinlge blog post theres no need for Blog title and description (they have already read/seen this...).

Can you please specify where I can find the Blog entry theme php page in system, and I will remove this section from the theme myself?

2. Blog subscriptions
Yes, I have set Allow entry subscription to "No", but still the "Subscribe" buttons show when I view a single blog post/entry. Hope you can help.
·
Monday, 06 January 2014 17:28
·
0 Likes
·
0 Votes
·
0 Comments
·
1. Thanks, will try this!

2. Problem is I want site subscription (on main and category blog pages), but not on blog entry pages (since I do not want to allowe to subscripe on a per blog basis). When I check for "No" in subscription blog entry field in backend, I expected the subscription button to not show up on blog entry pages (but unfortantly it does). Its something I can live with though (I will either turn off subscription for blogs all together, or live with the subscription button on all pages.

Guess I can do the same as 1.) for the subscription button?

if( JRequest::getString( 'view' ) != 'entry' ){
//show subscription button
}
·
Monday, 06 January 2014 19:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Torgrim Sandvoll,

Yes, but now you have to code only show that subscription button on the front page.

if( JRequest::getString( 'view' ) == 'latest' ){
//header here
}

Hope this help.
·
Monday, 06 January 2014 19:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post