end date of publication of an article

More
11 years 11 months ago #37950 by rottenberg
Hello,

I'm setting up a video player with 2 main type of pages:
    videos of the week
    video group

for instance I have a video of a film, another from a song and another of information.
I have for that 4 categories :
    clips
    film
    songs
    infos

All videos are in clips category and respectively in film, song or infos following the video content.

I have a menu line which display all the videos of the week. Tnis menu is a category type menu and only the wideos available during the current week are displayed.

I have also 3 Universal Flexicontent module (each category has his own module).
In this module I display all validated video from their publication date but not taking in charge the end publication date

How can I do that (not testing the end publication date in the module)

thank you for help

best regards
Michel

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #37952 by micker
you want to hidd result if it publish down ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #37964 by rottenberg
When I display the list of articles in the clip category, I want just to get those which are between beginning and end publishing date.

When I display the liste of articles inside the film, info or song category I want to display all articles which are greater than the beginning publication date even those whose end publication date is over (I want to display all articles which has been at least once displayed).

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #37965 by ggppdk
Hello,
publish up and down are always used
and there is no option to override this,

i mean that is the meaning of "publish-down" not to show the item


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #38075 by rottenberg
I think I have found a solution to my problem :
I have replaced the category menu by the Universal Content Module for FLEXIcontent.
I have created 2 modules :
    - 1 for the published articles
    - 1 for archived articles

I have given a great number or record to display but I have already not try to limit the number of article in a page (I'm afraid that it's not possible).
Presently it's not a great problem : I use the default or blog view only for published articles (less than 10). For the archived article I use the list view which displays only a select field with the articles titles.

I have just found a problem : the core field 'hits' is described in my site as a 'special' access site (only administrator may see it).
In the module I think that the access control of this site is not done as public access display the 'hits' number in the module display.

best regards
Michel

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #38078 by ggppdk
Hello,

about hits, the way hits are displayed is not by rendering the 'hits' field,
instead custom code with special layout is used

thus that is why access is ignored,

will add ACL access check to it

a temporary (2 lines) fix is to change file helper.php of the module
Code:
if ($display_hits) { ... if ($display_hits_feat) { ...

to
Code:
if ($display_hits && in_array($hitsfield->access, JFactory::getUser()->getAuthorisedViewLevels())) { ... if ($display_hits_feat && in_array($hitsfield->access, JFactory::getUser()->getAuthorisedViewLevels())) { { ...

Do not change other lines like line:
if ($display_hits || $display_hits_feat) {

v2.0.3 will have a cleaner fix

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.354 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save