Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

How to move 'New Discussion' link from bottom of Discussion list to top

10 years 1 day ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

ISSUE SUMMARY:
Once a group has several discussions listed, the 'New Discussion' link and 'View All' link are really far down the page. People can't work out how to post a Discussion, or if they can work it out, they still don't want to have to scroll to find the link! And now the Options menu has become a settings cog they don't guess that that has 'Add Discussion' on it.

1) Please can you let me know how to move 'New Discussion' link and 'View All' link from the bottom of the list of Discussions to the top?

2) Please can you give me the code to add a button on the Group Cover for 'New Discussion'. Sinisa gave the code before on the Beta forum but I can't find it.

Thanks

10 years 1 day ago
Licenses:

Hi, Susan.

Please, try my patched file. Just copy it to;

ROOT/templates/your-template/html/com_community/layouts/groups (if you don't have any of those folders, feel free to create them)


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you

This message has an attachment file.
Please log in or register to see it.

10 years 1 day ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

That was quick!! Is this patch for option 1 or option 2?

Thanks!

10 years 1 day ago
Licenses:

Hi, Susan.

For option 1.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Susan
9 years 11 months ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

HI,

Thanks for this, we'll put it in.

But I have a new idea......maybe you have an easy solution. Our users are struggling to post discussions as some of them don't use the site often.

How about an icon under the Group Status box that is for 'New Discussion' (where you see Status, Event etc). That would be so useful as they wouldn't have to change module or navigate around to post a discussion. Not sure if this is easy for you to tell me how to do :-) If not you post as Feature Request?

An alternative would be for you to tell me how to put the current Add Discussion' link just under the Status box on the Activity Stream? This would make things easier for users.

Thanks for your help

9 years 11 months ago
Licenses:

Hi, Susan.

This could be achieved with a small hack :)
So please:

1. Copy this file:

ROOT/components/com_community/templates/jomsocial/layouts/groups/single.php

to:

ROOT/templates/your-template/html/com_community/layouts/groups/ (if you don't have any of those folders, feel free to create them)

2. Edit file and add this right after line 852:

<?php // Create discussion
            if ($my->authorise('community.create', 'groups.discussions.' . $group->id)) { ?>
                <a href="<?php echo CRoute::_('index.php?option=com_community&view=groups&task=adddiscussion&groupid=' . $group->id); ?>"><?php echo JText::_('COM_COMMUNITY_GROUPS_DISCUSSION_CREATE'); ?></a>
            <?php } ?>

This will add "New discussion" button above group activity stream: prntscr.com/7jv6do

Now all you need is to style this button with css to make it more visible ;) and better aligned.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 11 months ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

You are a genius, thank you! This will make life so much easier for group users. Can you promote your own fixes as 'Feature requests' for the next version....?

9 years 11 months ago
Licenses:

Hi, Susan.

Unfortunately I can't push my customizations to source code. All features or layout changes need to be accepted by Sinisa as he is product owner. So the only way to introduce new features is won customization or feature request posted in User Voice...

This hack is really easy to implement - only one line is copied - so I think it will be easy for you to maintain in future.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW