Skip to content

View Attachment in article view #40

Closed

Description

@jikeseap

Hello

i migrate my joomla site from joomla 3 to joomla 4 before migration i unistall attachment plugin and after migration i install attachment 4 i had import the table with attachments in the db. everything it looks okey in the front end of the site i can see the attachments in each article and i can open it but when i open an article in article view it is not showing the attachment files. After looking the settings i find that it displays attachments in article view only in the articles of one specific category i don't know why is doing that i have seeing the settings to many time i cannot find something wrong.
can you help me please

thank you in advance for your answer

Activity

  1. JLTRY commented on Mar 26, 2024

    @JLTRY
    Collaborator

    Hello do you have a screenshot of your parameters setting
    and one of your articles views . Is it a view of category categories, blog ? ...
    Do you have the url of the view not showing attachments ?

  2. jikeseap commented on Mar 27, 2024

    @jikeseap
    Author

    error.pdf
    i have attach a file with the settings and a link to the site if you open an article you see that is not showing the attachments that you see when you see the article in the main page

    thanks in advance

  3. jikeseap commented on Mar 28, 2024

    @jikeseap
    Author

    Hello do you have a screenshot of your parameters setting and one of your articles views . Is it a view of category categories, blog ? ... Do you have the url of the view not showing attachments ?

    error.pdf
    i have attach a file with the settings and a link to the site if you open an article you see that is not showing the attachments that you see when you see the article in the main page

    thanks in advance

  4. JLTRY commented on Mar 28, 2024

    @JLTRY
    Collaborator

    Hello I did not reproduce this issue on my site see (http://www.jltryoen.fr/extensions-joomla/templates/136-installation-details-3)

  5. JLTRY commented on Mar 28, 2024

    @JLTRY
    Collaborator

    I will try to add logs in files to be able to track your issue

  6. jikeseap commented on Mar 29, 2024

    @jikeseap
    Author

    i can't open the link of your site is not accessible, i manage to find that the problem is happening with the categories of my site when i create a new article category and i post a new article which i choose to be in that new category everything is working. The article categories it have been created when the site was in joomla 3 version. i don't know if you can help me with that

  7. JLTRY commented on Mar 30, 2024

    @JLTRY
    Collaborator

    I have pushed a modification that you can try
    e3f3b4b

  8. jikeseap commented on Apr 1, 2024

    @jikeseap
    Author

    I have pushed a modification that you can try e3f3b4b

    i try the changes and it work!!!!!!!!
    Thank you for that
    i also see that in some article it displays the attachment twice as you can see in the screenshot that i have attach

    thanks for everything
    error_double attachment

  9. JLTRY commented on Apr 6, 2024

    @JLTRY
    Collaborator

    I think for last issue it will be difficult to search for it . Do you have a link to the article ? What is special in it ? PErhaps short article ? is there a "Read more" separator in it ?

  10. jikeseap commented on Apr 16, 2024

    @jikeseap
    Author

    Hello again
    the problem is the same from the beginning, before i change the code the attachments it was been displayed in the articles of some categories but not in the articles of all the categories. After i change the code you provide me the attachments is been displayed in the articles of all the categories but the article in the categories that they was displaying the attachments now it is displaying it twice

    If i create a new category and move the article from an old category to that everything it looks okey

    the link of the site development is https://dide.kas.sch.gr/upgrade/

    thank you again for the help you provide me

  11. parapente commented on Apr 16, 2024

    @parapente
    Collaborator

    @jikeseap can you check if your __categories table in your database has correct extension (com_content), parent and path for those categories where attachments are not displayed?

  12. jikeseap commented on Apr 17, 2024

    @jikeseap
    Author

    Hello again
    the problem is the same from the beginning, before i change the code the attachments it was been displayed in the articles of some categories but not in the articles of all the categories. After i change the code you provide me the attachments is been displayed in the articles of all the categories but the article in the categories that they was displaying the attachments now it is displaying it twice

    If i create a new category and move the article from an old category to that everything it looks okey

    the link of the site development is https://dide.kas.sch.gr/upgrade/

    thank you again for the help you provide me

    @jikeseap can you check if your __categories table in your database has correct extension (com_content), parent and path for those categories where attachments are not displayed?

  13. jikeseap commented on Apr 17, 2024

    @jikeseap
    Author

    everything in the database it looks okey as you can see in the image
    db_site

  14. JLTRY commented on Apr 18, 2024

    @JLTRY
    Collaborator

    @parapente I have reverted the previous changes as you mentioned ( __the changes in e3f3b4b are causing the plugin to show the attachments two times in the article) It works for me so I will keep it in my branch

  15. JLTRY commented on Apr 18, 2024

    @JLTRY
    Collaborator

    I reverted my change in master branch as we have duplicated attachments
    @jikeseap Can you please try a8d4dfc
    to check if you have still duplicated entry

  16. parapente commented on Apr 21, 2024

    @parapente
    Collaborator

    @jikeseap @JLTRY check PR #45 for a possible fix on attachments not showing in blog articles and tell me if there are any other problems

  17. JLTRY commented on Apr 21, 2024

    @JLTRY
    Collaborator

    I merged #45 into master branch

  18. jikeseap commented on Apr 22, 2024

    @jikeseap
    Author

    @jikeseap @JLTRY check PR #45 for a possible fix on attachments not showing in blog articles and tell me if there are any other problems

    thank you very much both @parapente @JLTRY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions