By Gilles on Tuesday, 22 July 2014
Posted in General Issues
Replies 5
Likes 0
Views 576
Votes 0
Hi again,
I'm really struggling with EB due to its lack of control over the display of blogs entries/categories, etc.
Here's what I need and can be easily done with core Joomla!. (See screenshot attached)

1. I need ONLY the title to appear for only 3 entries, which by the way are all in their own category, if this helps.
I have a hidden menu item pointing to each of these three blog entries (Single post). That is, removing the information as seen in the first highlight.

2. I need the navigation to only show the entries from the current category, not from other categories. (second highlight).

3. I need to be able to remove the navigation altogether for other single blog displays.

Again, I expected this requested behaviour when I purchased EB as it is this customization is available in the core Joomla! for articles/categories.

Cheers,
G
Hello Gilles,

Please find the response to your inquiries below:


1. I need ONLY the title to appear for only 3 entries, which by the way are all in their own category, if this helps.
I have a hidden menu item pointing to each of these three blog entries (Single post). That is, removing the information as seen in the first highlight.

Sorry but I don't quite get you here. What do you mean "for only 3 entries"?


2. I need the navigation to only show the entries from the current category, not from other categories. (second highlight).

The only way to achieve this is to select specific categories in the menu parameters if you are linking to the latest blog posts view.


3. I need to be able to remove the navigation altogether for other single blog displays.

Unfortunately the only way is for you to customize the theme files in order for you to achieve this. There is no settings that allows you to control this per blog post basis. If you need to customize this, you will need to edit the file /components/com_easyblog/themes/default/blog.read.php and locate the codes below:


<?php echo $this->fetch( 'blog.read.navigation.php' , array( 'nextLink' => $nextLink , 'prevLink' => $prevLink ) ); ?>


Replace it with something like this,


<?php if ($blog->id == 1 || $blog->id == 2) { ?>
<?php echo $this->fetch( 'blog.read.navigation.php' , array( 'nextLink' => $nextLink , 'prevLink' => $prevLink ) ); ?>
<?php } ?>


You need to replace 1, and 2 with the respective blog post id's that you want.


Also, please do understand that EasyBlog is not an exact replica of Joomla articles and you shouldn't be expecting that EasyBlog behaves like Joomla articles because it isn't designed to be that way
·
Tuesday, 22 July 2014 23:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark,

Notes on above...

1. I mean, I have 3 blog entries, each tied to a hidden menu. I need these three to NOT display the highlighted area. The site also has a regular blog area, for which I do want this information displayed. In other words, a single, global setting is insufficient.

2. As mentioned, my menu is not linking to a "latest post". My menu item is linking to the type "Single Blog Entry Layout".

3. OK... I may hack the code as much as I hate to do this as it will cause issues when the next EB update takes place.

re:" Also, please do understand that EasyBlog is not an exact replica of Joomla articles and you shouldn't be expecting that EasyBlog behaves like Joomla articles because it isn't designed to be that way"
-> I understand what you mean but you must also understand that EB is presented as adding blogging capabilities to Joomla. One very much expects to have teh same or similar flexibility as one does when handling Joomla articles. The structure and the control we have over J! articles should be very much the same as in EB. As mentioned before EB should be enhancing J! (that's how it's sold), not crippling it in some areas to gain in others.

I hope you understand.
G
·
Tuesday, 22 July 2014 23:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gilles,

I am sorry I missed your post earlier as I am a little occupied with product development and lots of meetings. I have noticed that you also posted this at http://stackideas.com/forums/how-to-prevent-avatar-and-posted-by-on-byline . I have replied you here.
·
Friday, 25 July 2014 00:36
·
0 Likes
·
0 Votes
·
0 Comments
·
No worries Mark.
Thanks.
·
Friday, 25 July 2014 00:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for understanding Gilles
·
Friday, 25 July 2014 00:52
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post