Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
No, I can not help you with core edits. Yes, you will need to adjust getDownloadUrl. You'd need to add an IF statement to it to check if its extension is PDF and if it is just link directly to the file instead of the download page of that file.Could you help me locate what would be needed to be changed ?
You mean the public function getDownloadUrl in cbgroupjivefile.php ?
We just need a way to link to the pdf that's all but I have no idea of how to do it.
I tried to change it as is for line 391, it is working but no very well, do you have any idea to better it ?
GJ 2.7rc1 and rc2 already parse Joomla content plugins (enable from backend) so your core changes are not needed, simply update. What he's wanting to do is change the behavior of the file integration; no idea why he posted in your topic though.I changed line 463 of [site]/components/com_comprofiler/plugin/user/plug_cbgroupjive/plugins/cbgroupjivewall/cbgroupjivewall.php by adding the following line:
JHTML::_('content.prepare',$row->getPost())
This function runs again content plugins against the string input as second var. Pls check details about the function and my GJ version in my previous posts.
I hope it helps, send me an email if you want me to send you the file I modified, it has a lot of commented scripts I tried but discarded and didn't bother to clean but can give you an idea.
I can't do more, good luck!
BTW, I can't attach files in the posts, otherwise I shared it directly. Pls admin check.
Please Log in or Create an account to join the conversation.