By Rosanne Renzetti on Friday, 23 September 2016
Posted in Technical Issues
Likes 0
Views 337
Votes 0
The Home button on our blog has a sort of unexpected result. It takes the user to a post - not the most recent, or the oldest.
How do I change that button to refer to the menu item that holds the blog, or to a latest posts page?

Blog is at: http://www.sols.org/index.php/let-s-talk-libraries
Looks like you have specifically configured EasyBlog to use the menu id of 1140, http://take.ms/OyDCy . I have changed it to "Default" and the home link is working correctly now
·
Saturday, 24 September 2016 23:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rosanne,

The reason is because you have actually created a menu item which links to a single blog layout with the alias of "blog", http://take.ms/iLy1J

You should edit that menu and change the menu type to the front page blog layout
·
Saturday, 24 September 2016 01:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Can I actually change the menu item that the Home button refers to?

I have two menu items - one in the 'Hidden' menu, that you found, from our last version of the site. But we've recently added it to the 'Stay Informed' menu (id 2257) and I'd rather it direct people there.
·
Saturday, 24 September 2016 01:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rosanne,

Then, you would need to set the menu item of "Let's Talk Libraries" to link to the frontpage layout of EasyBlog rather than featured posts only.
·
Saturday, 24 September 2016 01:29
·
0 Likes
·
0 Votes
·
0 Comments
·
So - if I unpublish the Hidden menu item, I get the following error msg when I try to access Home on the blog module:

1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and ( ( cat.`private` = 0 ) OR ( (cat.`private` = 1) and (0 > 0) ) OR ( (ca' at line 1 SQL=SELECT SQL_CALC_FOUND_ROWS a.`id` AS key1, a.*, ifnull(f.`id`, 0) as `featured` FROM `#__easyblog_post` AS a LEFT JOIN `#__easyblog_featured` AS f ON a.`id` = f.`content_id` AND f.`type` = 'post' WHERE a.`published`='1' AND a.`state`='0' AND a.`access` = '0' AND a.`frontpage` = '1' AND (1 <= (select count(1) from `#__easyblog_post_category` AS acp INNER JOIN `#__easyblog_category` as cat on acp.`category_id` = cat.`id` where acp.`post_id` = a.`id` AND cat.`id` NOT IN (1,) and ( ( cat.`private` = 0 ) OR ( (cat.`private` = 1) and (0 > 0) ) OR ( (cat.`private` = 2) and ( (select count(1) from `#__easyblog_category_acl` as cacl where cacl.`category_id` = cat.id and cacl.`acl_id` = 1 and cacl.`content_id` in (14)) > 0 ) ) ) )) AND ( (a.`source_type` = 'easyblog.sitewide') OR ( a.`source_type` = 'easyblog.team' and 1 <= (select count(1) from `#__easyblog_team` as srcteam where srcteam.`id` = a.`source_id` and srcteam.`published` = 1 and ( (srcteam.`access` = 3) OR (srcteam.`access` = 2 and (select count(1) from `#__easyblog_team_groups` as srcteamgrp where srcteamgrp.`team_id` = srcteam.`id` and srcteamgrp.`group_id` IN (14) ) > 0))))) ORDER BY a.`created` desc LIMIT 0,5


Any ideas?
·
Saturday, 24 September 2016 02:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks!
·
Monday, 26 September 2016 21:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Tuesday, 27 September 2016 10:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post