Forum


List Manager Support

List Manager support
Forums
No se permite escribir sin estar logado. Por favor, login

Link to pdf file 21.10.2011 14:10

Hi,

I've just bought the "list manager" extension. It's a great
component, but I feel a bit disappointed as the most important function for me is that I would like to have the possibility to insert a link inside a field,
like a link to a pdf file for example, as below :

Ref : A0
Type: T1
Map : see map < http: ///images/plan/1.pdf >

Is it possible or should I plan to seek for an other extension ?

Regards,

Re: Link to pdf file 21.10.2011 14:11

Hello,
if you want a link to show at table data, you can define a field
type text,and insert valid html as its value. Any valid html tag should work, so for your case:
< a href="/www.google.com" >link< / a >
would show a google link. Same way you can create links to documents
hosted on your site.

Hope this helps,
Moonsoft Team
www.moonsoft.es

Re: Link to pdf file 21.10.2011 14:11

Thanks for your quick answer !

I tried your solution but it does'nt work : the html code does not
appearas a link in the front-end and data in the table is automatically
re-interpreted without the code...

Re: Link to pdf file 21.10.2011 14:11

In fact I've just found it works when editing from the frontend, but
behaves as I previously said when the link is added from the admin. Strange
indeed, but for the moment it's ok for me. Anyway, if you find a solution for
this, please let me know !

Regards,

Re: Link to pdf file 21.10.2011 14:12

Ok, maybe backend is clearing tags by default before accesing database,
we'll check and try to remove that. If we get it work, we'll send you the file to mofify.
Thank you for your feedback, best regards
Moonsoft Team
www.moonsoft.es

Re: Link to pdf file 21.10.2011 14:12

Hi,

Thank you again for your quick support ! My form is growing fast and well, your extension is a real pleasure to work with !
I just have a last query : how do you remove the export buttons (excel and pdf) when displaying a form in a component position ?

Thanks in advance

Re: Link to pdf file 21.10.2011 14:13

Hello,
thank you very much for your feedback.
We've found the solution to avoid joomla admin clear html tags. A filter is applied by default for security reasons, so it has to be forced not to work for this specific page. One single file has to be modified, so we attach it for you to override at this path:

joomla\administrator\components\com_listmanager\models\listing.php

Regarding export functions, you should edit this file (when using module view):


joomla7\modules\mod_listmanager\tmpl\default.php

Search for the last section of the file, these two lines:

< div id="< ? php echo $seed; ? >exportpdf" ................

< div id="< ? php echo $seed; ? >exportexcel" .......................


First one displays pdf button, second one excel option. If you want to hide them, add this code to each line:


style="visibility:hidden"

to have this result:

< div style="visibility:hidden" id="< ? php echo $seed;?>exportpdf" ........................

< div style="visibility:hidden" id="< ? php echo $seed;?>exportexcel" .........................


That should do the work. The code is very similar for component view, but located at this file:

joomla7\components\com_listmanager\views\listmanagerfront\tmpl\default.php


Anyway we'll consider to add configuration options to hide these buttons for next version of listmanager, to make it easier.


Hope this helps,
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Lo que nuestros clientes opinan de nosotros