jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: janman1021 on 20.02.2018 11:10:45

Title: Tagged files [Solved in v6.1]
Post by: janman1021 on 20.02.2018 11:10:45
Hi Support
When adding a file to a category, it is not displaying under tags.
I have created a page listing tags, but when i add a file to a category the file does not display under my tagged page.
http://psppdknowledgerepository.org/case-studies
if you have a look the file, and then clicking on the tag it does not display.
http://psppdknowledgerepository.org/search/adsearch/download/147-case-studies-test/96-formulating-and-implementing-socio-economic-policies-for-children-in-the-context-of-hiv-aids-south-african-case-study
(tag case study)
Title: Re: Tagged files
Post by: ColinM on 20.02.2018 13:30:21
Hi
I am unable to reproduce your problem!
But there does seem to be some challenges with Tags from Joomla! when dealing with other Components.
The two existing Downloads that do show up in the tagged list seem no different from the third one that is not appearing.
When were the first two added?
Which menu item type did you use for 'Case Studies'?

Colin
Title: Re: Tagged files
Post by: janman1021 on 21.02.2018 11:13:52
Using indicators of multiple deprivation to demonstrate.. loaded on 2016-07-19
Low quality Education as a Poverty Trap in South Africa.. loaded on 2016-03-03 
menu type is Tags » Tagged Items
Thank you for the quick response, this entire site is based on tags and would really like to get this working ASAP.
Title: Re: Tagged files
Post by: ColinM on 22.02.2018 10:43:14
Hi
Tags are very useful but 'challenging' to find when not workink!
Could you please read
http://www.jdownloads.net/documentations/item/tags-support-in-jdownloads
and check that the setup is OK, especially about the jD Menu items and using Ajax method of adding tags.  jD does not support nested tags.

Colin
Title: Re: Tagged files
Post by: janman1021 on 23.02.2018 08:21:36
Hi ColinM
Looks like joomla removed some files with the new update
libraries/cms/helper/tag.php
I had a backup of these files and uploaded it to joomla and all is working now. The helper folder was completely removed from joomla. This is a temparary fix for now, i would really like your help on a more permanent fix
Thank you for your help so far.
Title: Re: Tagged files
Post by: Arno on 23.02.2018 09:40:53
Hi.
QuoteI had a backup of these files and uploaded it to joomla and all is working now. The helper folder was completely removed from joomla. This is a temparary fix for now, i would really like your help on a more permanent fix
Please note that we can only give support for jDownloads. So please post your Joomla update problem on www.joomla.org.
Title: Re: Tagged files
Post by: ColinM on 24.02.2018 10:25:03
Hi
Also there were 'challenges' with the Joomla 3.8.4 release.  Was that the version you used?
Colin
Title: Re: Tagged files
Post by: janman1021 on 26.02.2018 13:12:13
Ok so if i upload the old joomla tag files i can see the tags but cannot use editor in backend. so this fix isn't really a fix.
i am using 3.8.3, had to roll back to a earlier version, because non of my tags are showing in the new version 3.8.5.
Title: Re: Tagged files
Post by: janman1021 on 27.02.2018 11:28:12
Hi colinM
I have done a new joomla installation, imported all files and added tags to the files. Getting the same problem. the tagged file will only display if i add it to uncategorized, if i select any other category the file will not display under menu item tagged items.
Title: Re: Tagged files
Post by: ColinM on 28.02.2018 12:03:52
Hi
This is strange.  My objective is to try to create the same conditions so I can reproduce. Hence several questions so please excuse the 'probing' and what may seem irrelevant!!

As I understand it you have added a tag or tags to a Download.  If that Download is in the 'UIncategorised' category then the Download is shown when you use a Tagg menu item that lists tags.
However if you do the same with a Download in a Category called say 'Regular' then when using the same menu item that lists all tags that Download is not shown?
Are the above a correct interpretation?
I assume that Category 'Regular' and the Download concerned are both accessible to Public.  The Download should not show if either its Category or the Download itself is not publically visible when not logged in in the front end. Are the view Access levels Public and do the permissions allow downloading the Download?

To dig further which tag menu item are you using?

Are you using any Tag extensions other than those that come with Joomla itself?

I wiil create a new XAMPP test site with a fresh Joomla install when I know your setup.

Colin
Title: Re: Tagged files
Post by: ColinM on 28.02.2018 14:27:16
Hi
It looks like Arno has found a bug in the Tag handling with Categories.  Anticipate a v57 release shortly with a fix.
In the mean time I would appreciate your answers as above  to test new version
Thanks
Colin
Title: Re: Tagged files
Post by: janman1021 on 20.03.2018 07:45:53
I send you a pm please have a look. you helped me with this problem a while ago and you did a fix for me on the tags file libraries/cms/helper/tags.php but joomla does not use this file anymore. when adding this file to joomla all my files and tags are displaying but it completely destroys the joomla editor.

[gelöscht durch Administrator]
Title: Re: Tagged files
Post by: janman1021 on 20.03.2018 07:51:48
What you send me a while ago

Instructions to fix the problem:

Edit this file:

libraries/cms/helper/tags.php

Replace this line (around 582):
Code: [Select]

        // Join over categoris for get only published
        ->join('INNER', '#__categories AS tc ON tc.id = c.core_catid AND tc.published = 1')


With this updated code:
Code: [Select]

        // Join over categories to only get items in published categories, or items in no category
        ->join('LEFT', '#__categories AS tc ON tc.id = c.core_catid')->where('(tc.published = 1 OR tc.published IS NULL)')
Title: Re: Tagged files
Post by: ColinM on 20.03.2018 18:47:11
Hi
Hope to look at this this evening
Colin
Title: Re: Tagged files
Post by: ColinM on 21.03.2018 22:51:16
Hi
Made new menu item 'All Tags' of type List All Tags and placed it in a new Menu Group called 'Hidden'
After doing this things seemed to work!!
The arrangements are 'interesting' with various menu types, use of the Widgekit Component to load postions and so on. It seems quite complex.
But as far as I can tell the jD side is OK.  But because of the complexity I am not so sure about the Joomla side.
But please confirm if all is well
Colin
Title: Re: Tagged files [Solved in v61}
Post by: janman1021 on 22.03.2018 06:59:46
Hi Colin
Not all the tags are showing
I have a lot of tags for case study and only one is showingWhen clicking from http://psppdknowledgerepository.org/all-tags and going to the case study link http://psppdknowledgerepository.org/case-studies, only one case study is showing. i have over 20 items linked to case study.Regards
Title: Re: Tagged files
Post by: janman1021 on 22.03.2018 07:09:47
Please view example
http://psppdknowledgerepository.org/search/adsearch/download/60-case-studies/280-the-gauteng-city-region-observatory-case-study
when clicking on the case study tag this download is not showing.
Regards,
Title: Re: Tagged files
Post by: janman1021 on 18.04.2018 13:27:31
Hi Support
I really need so help with this, so you have a solution for me?
regards
Title: Re: Tagged files
Post by: ColinM on 18.04.2018 18:01:58
Hi
This is a 'challenging' problem.  It is being worked on but I must admit that we have been slightly deflected with a  reported security issue that has been fixed.
There is another simpler site that has reported a similar issue but this time it is with newly added Tags.
Colin
Title: Re: Tagged files
Post by: janman1021 on 02.05.2018 09:01:59
Hi Colin
Thank you for getting back to me. I am presenting this website this week and i need this fixed. Please i will do anything to get this website working. If i cannot present this website i will loose a lot of money.
Title: Re: Tagged files
Post by: ColinM on 02.05.2018 10:31:41
Hi
I have been working on this to the extent that I have had to write a document to understand what is going on. This is attached.  It is Joomla!, not jD that looks after the database entries and ensures they are correct

My thoughts are that it is related to the menu links but nothing positive.  I am also suspicious there is a Joomla! problem after one has deleted one or more tags.

As an addition could you please publish the Popular Tags module and see if that can access properly.  In the Tags Component if you click on a tag then select the Publishing tab you can adjust the number of hits so that you can adjust which tag is popular.

Our challenge is that neither Arno or myself can reproduce the problem.

Could you once again send me the csy's of the relevant database table but this time one table per file and using the Custom export and in that as well as selecting CSV also tick the very last field "Put columns names in the first row" - this field appears when you select CSV output.

Colin

[gelöscht durch Administrator]
Title: Re: Tagged files
Post by: ColinM on 09.05.2018 13:29:09
I have reported this bug to Joomla! people. Please see
https://issues.joomla.org/tracker/joomla-cms/20324
It would be helpful if you =, or anyone else with a tag problem, went to the site and added their vote and high importance please.
Colin
Title: Re: Tagged files
Post by: Relinquish on 18.05.2018 18:23:17
I have the same problem. Some categories work, some don't. Is there a way to fix this without remaking every category?

Also it seems that that issue tracker ticket has been closed by a Joomla admin. Is he correct in what he said?
Title: Re: Tagged files
Post by: ColinM on 18.05.2018 18:42:27
Hi
QuoteAlso it seems that that issue tracker ticket has been closed by a Joomla admin. Is he correct in what he said?
In my opinion they are wrong but their view is only works if you use Joomla! categories.But the good news is we have a solution.  Janman is testing it for us but has not yet reported back.
Please 're awake' this topic in a couple of days.
ColinHave sent you a PM with the plugin which should solve the problem.  Please advise result. Colin
Title: Re: Tagged files
Post by: ColinM on 26.05.2018 19:06:55
Hi
Thanks for update that problem was solved
Colin