Hi,
Is there any way that rather than selecting the latest 5 nodes from the content type, we can select which nodes from that content type actually get featured?
Example - From say 10 events added on my site I want to highlight the 1st, 2nd, 6th, 7th and 8th event - is there any way that can be done?

Comments

samperez’s picture

Version: 5.x-1.3 » 6.x-1.1
StatusFileSize
new1.23 KB

Hi,
I've have similar problem with the 6.x version (trying to have a more controllable selection of nodes), and I solved it modifying the code a bit. I made content_slider dependent on nodequeue. Im attaching the code for the 6.x version. If you need to backport it to 5.x you can easily replicate it from the attached code.

Hope it is useful and if possible, the following suggestion goes to the developers (Ebizon Technologies), please try to take my patch, improve it and make your very nice module dependent on nodequeue for an easier and more controllable selection of nodes.

Thanks,

Samir.
www.sumaqperu.com

manuj_78’s picture

The dependency of nodequeue should be optional so that users who dont want nodequeue can still use this module. Something like if module_exists etc. I am not a php programmer so I wont be able to program it myself but will try and get one of my friends to look at it and see if he can do the coding for it in the coming weeks.

sudeepg’s picture

Assigned: Unassigned » sudeepg
Status: Active » Needs review

Thanks Samir and Manuj for the heads up. I have taken up note for this patch and would make it an optional dependency as manuj_78 has suggested.

Btw, I am working on this modules integration with Views. Would try to release it soon.

Thanks a lot,
Sudeep

webthingee’s picture

To get this working with views would be OUTSTANDING :)

abarrios’s picture

interesting...

leetamus’s picture

hi there! I'm a total newb when it comes to patches... what would I need to do to get your patch working in 5.x? This is exactly what is currently making this module unsuitable for my site and I really want to use it.

thanks for any hints!

leetamus’s picture

I so can't easily replicate it from the attached code, all i've managed to do is receive a load of page errors when I try lol.

samperez’s picture

Just for you to see the site where I actually applied this patch:

Tours de Semana Santa en Peru

The content slider actually takes the information of the different nodes (tours) that I selected and puts them there.

Hope it is useful.

---

Travel to Peru

michaeldrupal’s picture

Hi,

thanks folks for good work. I still have my difficulty to integrate this module with Views. Any one can advise?

The author mentioned two references:

Example Sites using Content Slider:
1) Great looking site: www.iGadgets.be
2) Another cool looking one: www.Jamrie.com

Anyone has idea how the look of Jemrie site's effect can be created? Thanks alot for any information!

toma’s picture

Jamrie.com use JoomlaWorks "Frontpage Slideshow

http://drupal.org/project/fpss

If you r using Drupal 6 you may look at http://drupal.org/project/ddblock

giorgosk’s picture

Patch works as advertised
nodequeue controls the nodes displayed for the 3rd block

+1 to be committed

3djeff’s picture

Can post or send me the entire updated module file (content_slider.module) with the patch added? I tried adding the patch to the original and can't get it to work - I keep getting error messages.

Thanks,
Jeff

giorgosk’s picture

StatusFileSize
new9.09 KB

Learning to apply patches is a very handy tool in drupal
http://drupal.org/patch/apply

If you are on windows, I am using the utility from GNUwin and its very simple
http://drupal.org/node/99903

anyway here is the patched module file
(erase the .txt from the filename)

3djeff’s picture

Thanks much for the related links and the file. It's very much appreciated.

aiphes’s picture

hi

this module and patch are great but i've some trouble to display and assign content...whats the way to do ?

because i've assign nodequeue id to slider 3, and i go to the nodequeue view but nothing displayed...

little help please.

thx

Rosamunda’s picture

It seems that I´m a bit late to insert some thought here (is the patch already commited?), but maybe a good alternative could be to use flag...?

Neetu.ebizon’s picture

Hi,
Just go to content link. all node will appear. unpublish the nodes of you do not want to see in slider.

Neetu.ebizon’s picture

Status: Needs review » Closed (fixed)