By Troy Tolley on Monday, 23 June 2014
Posted in Groups
Likes 0
Views 1.1K
Votes 0
Is there a way for me to

A) add a link so that someone can go "back to Discussions" when reading a thread? "Back to Group" is the most intuitive link for users to click and then that sends them all the way back to the top level of the group. It's very disorienting.

B) reverse the sidebar modules so that "applications" is at the top and "filters" are at the bottom? Intuitively, users are looking immediately to the filters as a form of navigation and so when they click on Discussions, for example, they think they are in discussions and then they post directly to the stream, instead of actually posting to discussions. It's maddening. I've renamed the modules to make them more obvious, but that's not enough. Can I reverse them so that the "applications" (renamed "group menu" in my case) is at the top?

A) add a link so that someone can go "back to Discussions" when reading a thread? "Back to Group" is the most intuitive link for users to click and then that sends them all the way back to the top level of the group. It's very disorienting.

Unfortunately that is not possible currently but you can add a hack in the file /media/com_easysocial/apps/group/discussions/themes/default/canvas/item.php and replace the codes below,


<a href="<?php echo FRoute::groups( array( 'layout' => 'item' , 'id' => $group->getAlias() ) );?>">&larr; <?php echo JText::_( 'COM_EASYSOCIAL_GROUPS_BACK_TO_GROUP' ); ?></a>


With,


<a href="<?php echo FRoute::groups(array('layout' => 'item', 'id' => $group->getAlias(), 'type' => SOCIAL_TYPE_GROUP , 'appId' => $app->getAlias()) , false );?>">&larr; <?php echo JText::_( 'COM_EASYSOCIAL_GROUPS_BACK_TO_GROUP' ); ?></a>



B) reverse the sidebar modules so that "applications" is at the top and "filters" are at the bottom? Intuitively, users are looking immediately to the filters as a form of navigation and so when they click on Discussions, for example, they think they are in discussions and then they post directly to the stream, instead of actually posting to discussions. It's maddening. I've renamed the modules to make them more obvious, but that's not enough. Can I reverse them so that the "applications" (renamed "group menu" in my case) is at the top?

Unfortunately right now it's not supported because these items are binded via javascripts and replacing the contents would mean that the javascripts would fail
·
Monday, 23 June 2014 23:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Ooops, the first hack only generates this when clicked:
http://screencast.com/t/Gr8mFGRo

I returned the original code. Nothing is changed, yet now I'm getting this when navigating the site:

http://screencast.com/t/g2WXHHZ3s

Maybe one of you is working on the code and it's just temporarily wonky?
·
Tuesday, 24 June 2014 00:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Troy,

If you see the code above, do not copy the preceeding / in the href="/ . The / is added by Joomla on our site. Yes, that error is because I am debugging other issues on your site.
·
Tuesday, 24 June 2014 01:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark, so copy the code, but delete that first backslash when I paste it?
·
Tuesday, 24 June 2014 01:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes that's correct
·
Tuesday, 24 June 2014 01:11
·
0 Likes
·
0 Votes
·
0 Comments
·
IT WORKED!! Thanks!!!
·
Tuesday, 24 June 2014 01:25
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Tuesday, 24 June 2014 01:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post