featured content on jr

soaringeagle
@soaringeagle
11 years ago
3,304 posts
im liking what i see on my contentthats imported corectly however i see no way to mark content as featured
i see on mt elastic front page a featured profile slider and accepts a comma list of profile ids is the only option for feauring content something like that
can the smarty module be used to create a featured list for each content type
and can a button be created that would alow admins to add contentto the featured lists

im assuming its all possible with the right know how lol

but can you give me some clues how it would be done so i can start to try tio figure it out

some contents just so superior it needs to get extra attention


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 07/09/16 09:21:02AM
paul
@paul
11 years ago
4,335 posts
Using featured profiles as an example, with the Form Designer add a custom field to the profile update form called 'profile_featured', make it a checkbox and visible to admin only. Then make the smarty list function that shows featured artist look like this -

{jrCore_list module="jrProfile" search="profile_featured = on" . . . }

Then, as admin, you can tick the boxes of those profiles you want featured.


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11 years ago
3,304 posts
ok this helps
i assume the smarty code the ... just meansd i can add additional parameters and the ... isnt part of the nesacary code ..lol


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 12/29/14 09:23:54AM
paul
@paul
11 years ago
4,335 posts
soaringeagle:
ok this helps
i assume the smarty code the ... just meansd i can add additional parameters and the ... isnt part of the nesacary code ..lol

Correct :-)


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 12/29/14 09:23:54AM
gary.moncrieff
gary.moncrieff
@garymoncrieff
11 years ago
865 posts
To take this a step further Paul, would be nice to have a start and end date associated with featured status, then the admin doesn't have to worry about un-featuring someone as the system would handle it automatically.

This is only an idea and I haven't looked into what it would take to achieve yet.
updated by @garymoncrieff: 12/29/14 09:23:54AM
paul
@paul
11 years ago
4,335 posts
Just make two custom 'date' fields, profile_featured_start/end then use $smarty.now to get the current time in the jrCore_ list search fields.


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 12/29/14 09:23:54AM

Tags