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.

News Feed In Group

9 years 11 months ago
Licenses:

Hi, Andrew.

Try to use <jdoc:include type="module" name="MLBNews" style="none" /> instead of <jdoc:include type="module" name="MLB News" style="none" />. I think that space in position name is a problem here.


- 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
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Fresh Boarder
  • Posts: 27
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi Michal,
Thanks but this did not work.
This works <?php if ((JRequest::getInt( 'groupid' )) == '22') { ?>
but no matter how I try to get it to display it will not.
I have the module published and in position 7.
I would like to provide you administrative access to the site with login credentials. How can I get that to you without making it public?

9 years 11 months ago
Licenses:

Hi, Andrew.

Edit your first post and add FTP credentials to corresponding fields.


- 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
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Fresh Boarder
  • Posts: 27
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi Michal,
I have added the login information and ftp information.
Thanks for checking this out for me.

9 years 11 months ago
Licenses:

Hi, Andrew.

You're right... for some reason it doesn't work on your site. So I prepared new code and already tested it on your site ^^

<?php if (($group->id) == '62') { ?>
	<?php $this->renderModules( 'hunting-group' ); ?>
	<?php } ?>

I created override for groups.viewgroup.php in html folder of protostar template.

Browse to Hunting group and see yourself :)


- 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: P. Irion, Andrew
9 years 11 months ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Fresh Boarder
  • Posts: 27
  • Thank you received: 0
Licenses:
JomSocial Expired

Works great! Thank you!!

9 years 9 months ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Fresh Boarder
  • Posts: 27
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,
I have built a score feed and like the news feed I have it grouped by ID. I would like this to display in position 7 based on an if statement according to the group ID. How can I go about this? I tried to add code to the index.php page of my current template at <?php if ($this->countModules('position-7')) : ?> But it does not recognize $group.
Thanks in advance.

9 years 9 months ago
Licenses:

Hi, Andrew.

I presume that "position-7" is a module position in your template. If you try to use groupid variable there it will not work as this variable needs group helper php file.
If you want to achieve it, you'll need to fetch data direct from database and create proper query.
It's a bit more complicated than simply create if statement ;)

Read this document: docs.joomla.org/Selecting_data_using_JDatabase


- 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