Jump to content

Featured Content for IPS4.x+


Recommended Posts

Posted
Just now, onlyME said:
11 minutes ago, kmk said:

I tryed, putting the url where is the images album, but not work, and my idea is, show images when each moderators or members upload images...

You gave the wrong image url, it's not the page url.

the image url will show one image right? or the url can list all images of the url?

Posted
Just now, kmk said:

the image url will show one image right? or the url can list all images of the url?

1 image, it's has the extension is jpg or png, gif....

Posted
Just now, onlyME said:

1 image, it's has the extension is jpg or png, gif....

oh, and is not the solution, because are images of album, more than one.

Continue with the resize container, I go to global template of the theme right?

Posted
Just now, kmk said:

oh, and is not the solution, because are images of album, more than one.

Continue with the resize container, I go to global template of the theme right?

It depends on where you want to add the slider.

Posted
1 minute ago, onlyME said:

It depends on where you want to add the slider.

right now I have it on the top of the club home tab page

featured content support 6.PNG

Posted (edited)

YEs, you can try this code above <div id='ipsLayout_mainArea'>

{{if \IPS\Request::i()->module == "clubs" && \IPS\Request::i()->controller == "view"}}
<div style="width: 500px; align: center; margin: 0 auto;">
  {expression="\IPS\Application::load('featuredcontent')->show(1)" raw="true"}
</div>
{{endif}}
Edited by onlyME
Posted
Just now, kmk said:

Slider manager? I can not find the code of slider....

Yes, it's the code below the name. It's not {oisikata happy ...

 

 

@kmk just let you know I will update the selection for clubs in the next version :) 

n25T6x32SHq4UiNtmVaQ0g.png

Posted
9 minutes ago, onlyME said:

Yes, it's the code below the name. It's not {oisikata happy ...

 

 

@kmk just let you know I will update the selection for clubs in the next version :) 

n25T6x32SHq4UiNtmVaQ0g.png

Im happy hear that, thank you. I am trying to increase the container, but not thing after add code....

featured content support 9.PNG

Posted
2 minutes ago, kmk said:

Im happy hear that, thank you. I am trying to increase the container, but not thing after add code....

featured content support 9.PNG

The code will show the slider when viewing a club, and show(1) is slider's id. 

If you want to show slider in all clubs or clubs global page, just remove the condition \IPS\Request::i()->controller == "view"

  • 3 weeks later...
Posted (edited)

Went to update but it won't instal for me ... downloaded the latest version, go to instal but nothing... keeps saying it need's a .tar file

Edited by antr12
Posted
1 hour ago, antr12 said:

Went to update but it won't instal for me ... downloaded the latest version, go to instal but nothing... keeps saying it need's a .tar file

You need to unpack the zip file to get tar file.

Posted
  1. I added a stream (as admin) for the calendar in ACP -> Content Discovery -> Streams ("calendar stream")
  2. In the frontend, I opened the stream and copied the RSS URL of the stream.
  3. Then I created a "featured content" slider to import a RSS stream (=the newly generated calendar stream), and I inserted the RSS link.
  4. After inserting the widget in the frontend, I can't even select the newly generated slider, though it saved well. It isn't listed in the selection drop down field.

Why? I wanted to display calendar events as a slider with the according image and title.

Thanks.

Posted
10 hours ago, Cyboman said:
  1. I added a stream (as admin) for the calendar in ACP -> Content Discovery -> Streams ("calendar stream")
  2. In the frontend, I opened the stream and copied the RSS URL of the stream.
  3. Then I created a "featured content" slider to import a RSS stream (=the newly generated calendar stream), and I inserted the RSS link.
  4. After inserting the widget in the frontend, I can't even select the newly generated slider, though it saved well. It isn't listed in the selection drop down field.

Why? I wanted to display calendar events as a slider with the according image and title.

Thanks.

Try to check slider's permissions. 

Posted (edited)
On ‎25‎.‎07‎.‎2017 at 7:38 AM, onlyME said:

Try to check slider's permissions. 

Unfortunately, the permissions are correct, only guests are deactivated...

I also tried generating a new RSS feed in ACP -> Content Discovery -> RSS Feeds with all events in all calendars.

But that didn't help also.

If I create a new slider with different content, f.e. any downloads, it displays correct and I can select it in the frontend.

If I afterwards change the same slider settings back to the Calendar RSS Feed in the ACP, it is shown as "no contents" in the frontend.

Then I checked the RSS Stream, but it has the events as contents in it.

The slider just doesn't want to show the contents.

Edited by Cyboman
Posted
17 minutes ago, Cyboman said:

Unfortunately, the permissions are correct, only guests are deactivated...

I also tried generating a new RSS feed in ACP -> Content Discovery -> RSS Feeds with all events in all calendars.

But that didn't help also.

If I create a new slider with different content, f.e. any downloads, it displays correct and I can select it in the frontend.

If I afterwards change the same slider settings back to the Calendar RSS Feed in the ACP, it is shown as "no contents" in the frontend.

Then I checked the RSS Stream, but it has the events as contents in it.

The slider just doesn't want to show the contents.

Ok, I will test the rss for calendar.

Posted (edited)

Hi

I try to add  different sliders to different forums by adding the URL to the page list, but when I add the second slider to a second forum, the first slider disappears from the first forum.

Is this a bug or as intended? Only one can by added per application?

Featured Content 4.1.29 on 4.1.19.4

 

Edited by amator
Posted
3 hours ago, amator said:

Hi

I try to add  different sliders to different forums by adding the URL to the page list, but when I add the second slider to a second forum, the first slider disappears from the first forum.

Is this a bug or as intended? Only one can by added per application?

Featured Content 4.1.29 on 4.1.19.4

 

Did you delete the first slider from second forum? Because forums have the same controller, you need 2 sliders although you are in other forums.

Posted

I get the following error when installing the .tar:

4S142/7 Kan niet schrijven in het thema ID map in /themes/. Controleer de rechten van deze map.
4S142/7 can not write in the thema ID map in /themes/. Check rights.

The rights are fine?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...