jemproject / JEM-Project

JEM - an Event Manager for Joomla
https://www.joomlaeventmanager.net
GNU General Public License v3.0
25 stars 37 forks source link

Frontend manage attendees: list shows undefinded icon in column "Remove user" #1684

Closed jobrusche closed 11 months ago

jobrusche commented 11 months ago

attendee-list

jojo12 commented 11 months ago

can you help me: where is this?

jobrusche commented 11 months ago

Login to frontend with admin priviledges Click on menu item with calendar Click on event with reservations Click on link "Manage attendees" Above picture is partial screencopy from attendee list Language is dutch "Verwijder gebruiker" = "Remove( or delete) user"

mckillo commented 11 months ago

@jobrusche You could check this file /media/com_jem/images/publish_r.png in your Joomla, does it exist? If the answer is yes, can you send me a PM with the link of this web or attach the source code page. I think that the link of this icon will be wrong.

jobrusche commented 11 months ago

publish_r.png exists, protection is 644 It displays a small red circle with white x

publish_r

jobrusche commented 11 months ago

Page source: div section containing references to publish_r.png page-source.txt

<a class="attribute-value" href="view-source:https://media/com_jem/images/publish_r.png">//media/com_jem/images/publish_r.png</a>

In Firefox browser the icon is not displayed only the link "Remove user"

mckillo commented 11 months ago

In your page, the image call is to "//media/com_jem/images/publish_r.png"., the relative path is wrong. I suppose that your Joomla is installed in the root (domain or local). If you change the image path to this one (relative or absolute path), it works: "/media/com_jem/images/publish_r.png" (in this case, delete the first /) "https://yourdomain.xxx/media/com_jem/images/publish_r.png" Lets me see as to solve in the code.

mckillo commented 11 months ago

@jobrusche Could you test the last commit with the solution?

jobrusche commented 11 months ago

@mckillo this is a production site, will make an akeeba copy to my testsite and then test the new code

mckillo commented 11 months ago

If you prefer, you can download directly the file from https://github.com/jemproject/JEM-Project/blob/ee6f6657557f9a867fbf70be6ed5ac11fda6e34a/site/views/attendees/tmpl/default.php and update this file into \components\com_jem\views\attendees\tmpl\default.php on your site, so, you can test it easily.

mckillo commented 11 months ago

The other file is jem.css, add the red color to the icon. If you don't change, the remove icon has a dark blue color.

jobrusche commented 11 months ago

Copied site to fgl.brusche.be and installed most recent JEM-Project-JEM-4.1.1-dev The delete button is now properly displayed and functional