Hello,
seems at some point the system is adding the language prefix to the url, so both the image and the pdf are not properly located. Please try a couple of tests and comment the results:
1.- Try to insert that same code (image with the link) inside a default article, to confirm if it's working outside ListManager.
2.- Check your editor configuration to enable absolute paths and save again one record.
Thank you, regards
Hello,
seems at some point the system is adding the language prefix to the url, so both the image and the pdf are not properly located. Please try a couple of tests and comment the results:
1.- Try to insert that same code (image with the link) inside a default article, to confirm if it's working outside ListManager.
YES its working
2.- Check your editor configuration to enable absolute paths and save again one record.
i will try it
Thank you, regards
Hello,
seems at some point the system is adding the language prefix to the url, so both the image and the pdf are not properly located. Please try a couple of tests and comment the results:
1.- Try to insert that same code (image with the link) inside a default article, to confirm if it's working outside ListManager.
YES its working
2.- Check your editor configuration to enable absolute paths and save again one record.
i will try it
Thank you, regards
Edited by moon_822 - 06.12.2012 13:49
Edited by moon_822 - 06.12.2012 13:51
Hello,
seems at some point the system is adding the language prefix to the url, so both the image and the pdf are not properly located. Please try a couple of tests and comment the results:
1.- Try to insert that same code (image with the link) inside a default article, to confirm if it's working outside ListManager.
YES its working
2.- Check your editor configuration to enable absolute paths and save again one record.
i will try it
Thank you, regards
Edited by moon_822 - 06.12.2012 13:49
2.- Check your editor configuration to enable absolute paths and save again one record.
Error 404: http://localhost/Datenblatt/test.pdf
URL relativ
in the component LM see data
http://localhost/joomla170/Datenblatt/test.pdf (ok)
Frontend
http://localhost/joomla170/de/Datenblatt/test.pdf (Error)
Edited by moon_822 - 06.12.2012 21:26
Hello,
In fact, List Manager gets the code generated from editor and doesn´t change anything. So if the editor gives
http://localhost/Datenblatt instead of http://localhost/joomla170/Datenblatt as absolute path, maybe the editor has some type of misconfiguration.
We've tested absolute path with 2 editors (TinyMCE and JCE), and using absolute path we couldn´t see any error. Also, we checked in CodeMirror adding absolute path in link, and we´ve got no problems.
What editor are you using?
Thanks. Regards,
Hello
I use Editor - TinyMCE (absolute/relativ)
------------------------------------------------------------------------------
- relativ
in ListManager-field
* <a href="../datenblatt/test.pdf" target="_blank"> <img src="images/pdf-icon.gif" border=" " /> </a>
or
* <a href="../datenblatt/test.pdf" target="_blank"> <img src="../images/pdf-icon.gif" border=" " /> </a>
in Frontend
* no image
* http://localhost/SerWeMa/de/datenblatt/test.pdf (not found this File)
------------------------------------------------------------------------------
- absolute
it will automatically http://localhost/ for .. set
in ListManger-field
<a href="http://localhost/datenblatt/test.pdf" target="_blank"> <img src="http://localhost/images/pdf-icon.gif" border=" " /> </a>
to be lacking
../joomla170/..
------------------------------------------------------------------------------
I absolutely had to enter in so
<a href="http://localhost/joomla170/datenblatt/test.pdf" target="_blank"> <img src="http://localhost/joomla170/images/pdf-icon.gif" border=" " /> </a>
that works!!!!
------------------------------------------------------------------------------
what happens to the paths, if I install it on the server?
I need to create the same folder "joomla170"?
Edited by moon_822 - 07.12.2012 14:14
Hello,
the proper way to handle this is to use relative paths, in order to migrate data without changes between domains. We have checked the difference between paths inside editor used by list manager, or inside a default article, and found there is a plugin (sef) responsible for making relative paths work ok, but it's not applying to the list information.
We've created a patch that you can download now at the customer section, which forces the same code to execute over LM fields, so you can use relative paths from your editor and images or links should be properly located from both back and front-end. Unzip and follow the readme instructions to install.
Hope this helps
Regards
Hello,
Many thanks for your quick help. The patch was successful.
Thank you!!! :-D
I want to make in the list in a column / cell a link to a file. This link should be rendered as PDF file. Furthermore, my system 2 is speaking.
1) my field is set to "HTML editor"
2) <a href="../datenblatt/test.pdf" target="_blank">
<img src="../images/pdf-icon.gif" border=" " />
</a>
In the front end, the images are not displayed.
3) <a href="../datenblatt/test.pdf" target="_blank">Download</a> (without image)
When download link is error
- (Http://localhost/Jommla170/de/Datenblatt/test.pdf)
- 404 - category not found
- I will take away the "de", the download works
- (Http://localhost/Jommla170/Datenblatt/test.pdf)
Can you help me??
I send a couple of them could also Screeshots
Edited by moon_822 - 06.12.2012 13:04