@goodweb:
Sadly, YES! This is a hack and must be done every time the plugin is updated. And, the way I did it, it is only for the "link to file" - Inclusion. Categories, Previews are not modified...
JamFX
2 Questions - JCE and Textlink
-
- Phoca Enthusiast
- Posts: 61
- Joined: 08 Mar 2009, 09:26
- Contact:
-
- Phoca Newbie
- Posts: 7
- Joined: 24 Nov 2011, 08:14
Re: 2 Questions - JCE and Textlink
There appear to be two instances of .
These were found at lines 1037 and 1057. Do you have the latest version of that plugin (2.14)?
I changed both and it made no difference to the appearance of the' Link to file'. That is the box was still there when code was embedded.
with Respects
Code: Select all
$output .= '<div class="phocadownloadfile'.(int)$iSize.'"><a href="'. JRoute::_($link).'" '.$targetOutput.'>'. $textOutput.'</a></div>';
These were found at lines 1037 and 1057. Do you have the latest version of that plugin (2.14)?
I changed both and it made no difference to the appearance of the' Link to file'. That is the box was still there when code was embedded.
with Respects
-
- Phoca Enthusiast
- Posts: 61
- Joined: 08 Mar 2009, 09:26
- Contact:
Re: 2 Questions - JCE and Textlink
Hi,
i just updated to the last Version (currently 2.14)
The lines change from: (line 533 / 534)
to now:
And off you go again 
Cheers
JamFX
i just updated to the last Version (currently 2.14)
The lines change from: (line 533 / 534)
Code: Select all
$output .= '<div class="phocadownloadfile'.(int)$iSize.'"><a href="'. JRoute::_($link).'" '.$targetOutput.'>'. $textOutput.'</a></div>';
Code: Select all
$output .= '<a href="'. JRoute::_($link).'" '.$targetOutput.'>'. $textOutput.'</a>';

Cheers
JamFX
-
- Phoca Newbie
- Posts: 7
- Joined: 24 Nov 2011, 08:14
Re: 2 Questions - JCE and Textlink
Hi Jamfx
I. not clear what else you're suggesting to do.
The code and replacement look the same as what you provided before which I tried in version 2.14
Did you see that there were two instances of that code in the file?
Cheers
I. not clear what else you're suggesting to do.
The code and replacement look the same as what you provided before which I tried in version 2.14
Did you see that there were two instances of that code in the file?
Cheers
-
- Phoca Newbie
- Posts: 7
- Joined: 24 Nov 2011, 08:14
Re: 2 Questions - JCE and Textlink
Hi JamFX
Thanks for the offer but there is a block on my PM because I am a newbie:
Regards
Thanks for the offer but there is a block on my PM because I am a newbie:
If you could PM your email then perhaps I can email you?We are sorry, but you are not authorised to use this feature. You may have just registered here and may need to participate more to be able to use this feature.
Regards
-
- Phoca Enthusiast
- Posts: 61
- Joined: 08 Mar 2009, 09:26
- Contact:
Re: 2 Questions - JCE and Textlink
Hi,
I found an easier way to share it with you and the world:
Check this out:
http://pastebin.com/m3F9n1yc
I pasted my modified phocadownload.php at pastebin.com
The file is found here: <joomlaroot>/plugins/content/phocadownload/phocadownload.php
The new (modified) code is in line 531. The Original-Code is in line 533 but will not be applied (commented out).
Have fun
JamFX
Hopefully I did not violate any limitations now... :/
I found an easier way to share it with you and the world:

Check this out:
http://pastebin.com/m3F9n1yc
I pasted my modified phocadownload.php at pastebin.com
The file is found here: <joomlaroot>/plugins/content/phocadownload/phocadownload.php
The new (modified) code is in line 531. The Original-Code is in line 533 but will not be applied (commented out).
Have fun

JamFX
Hopefully I did not violate any limitations now... :/
-
- Phoca Newbie
- Posts: 7
- Joined: 24 Nov 2011, 08:14
Re: 2 Questions - JCE and Textlink
Great! Thanks JamFX...also for introducing 'pastebin'.
-
- Phoca Enthusiast
- Posts: 61
- Joined: 08 Mar 2009, 09:26
- Contact:
Re: 2 Questions - JCE and Textlink
You are welcome 
Please remember: THIS IS A HACK and must be done everytime the plugin is updated.
Cheers
JamFX

Please remember: THIS IS A HACK and must be done everytime the plugin is updated.
Cheers
JamFX