Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

System - Helix Framework plugin not working with DOCman

Featured Lock Resolved Bug
Hello,

I've encountered several issues with the Helix framework and the docman extension.

1. Warning: Invalid argument supplied for foreach() in /www/plugins/system/helix/shortcodes/column.php on line 32

I believe i fixed this by changing

column.php:

foreach ($columnArray as $key=>$value) $html .='<div class="' . $value['class'] . '">' . do_shortcode($value['content']) . '</div>';
$html .='</div>';
$columnArray = array();
return $html;

to:

$columnArray = array();
foreach ($columnArray as $key=>$value) $html .='<div class="' . $value['class'] . '">' . do_shortcode($value['content']) . '</div>';
$html .='</div>';
return $html;


2. Can't select files within docman because the System - Helix framework change
Files.app.fireEvent('uploadFile', [row]);
to
Files.app.fireEvent('uploadFile', div class="row-fluid " >/div>;);
and thus destroying the upload function of DOCman.
*i had to remove the tags from the div, otherwise it won't show up on the forums.

When i disable the Helix framework everything works perfectly with another template, so the problem is within the Helix framework.

3. When i open the template in Joomla backend and close the template, without changing anything, both template.css and preset1.css revert back to original state. How can i disable that?

Edit1: Issue 3 was easy, i disabled LESS in advanced. Issue 1. and 2. still persist.

Sincerely
Dejjvid

21 Answers

sem

More than a month ago #Permalink
Brilliant Kowshar! Brilliant. Works perfectly. Thank you so much.

sem

salomon

More than a month ago #Permalink
Hello! I have exactly the same problem with my joomla website. Did you found any solution ? but for the Warning: glob() has been disabled for security reasons issues, you must erase the 'glob' string in your php.ini file.

David

More than a month ago #Permalink
After i changed row on
$columnArray = array();
i don't get the warning any more.

I still have the issue with Docman and Helix framework, this is something the developers must fix, but it's doesn't seem like they answer threads very fast. I need to find a solution pretty quick, otherwise i have to abandon the framework and use another template. And that's pretty bad, considering i'm interested in buyíng templates and extensions from Joomshaper (for a few different projects), but if you can't support your products i won't spend $ on them.. I hope a developer show up soon.

I will update this thread as soon as i find an answer.

Kawshar Ahmed - Senior Staff

More than a month ago #Permalink
We are looking at this issue and will let you know as soon as possible.

David

More than a month ago #Permalink
Anything new yet? I need to find a solution very soon.

Kawshar Ahmed - Senior Staff

More than a month ago #Permalink
Just turn off error reporting from your global configuration.

David

More than a month ago #Permalink
So turning off error reporting will fix issue 2. with DOCMan?

Ehsan Riyadh

More than a month ago #Permalink
Does it work with joomla standard template.

sem

More than a month ago #Permalink
Does it work with joomla standard template.


Hi. Yes. All works with Protostar. I have a test site setup that I can give you access to if that would help diagnose what the problem is? You can't just select a different template though - you also need to disable the helix framework plugin. Once done, the lighbox interface for editor extend buttons (file/image/document) all work fine.
sem

Ehsan Riyadh

More than a month ago #Permalink
Ok, let us check the issue.

Kawshar Ahmed - Senior Staff

More than a month ago #Permalink
Drop here two screenshot comparing with joomla default template and our Helix - II template.

sem

More than a month ago #Permalink
Hi - Here you go - PDF comparison of uploading a document and inserting a file - both are Joomla Tools extensions. Both protostar. One with Helix disabled. One without.

sem

edit: sorry the PDfs wouldn't upload. What David show's is exactly it. It includes FileMan too which is the Joomla tools file manager. If you guys could check it out as soon as possible, that would be brilliant and much appreciated. The offer of access to a test site still stands.

David

More than a month ago #Permalink
Hello,

sem's description is spot on. Even if you change template, the issue is still there. You need to disable System - Helix Framework, then it works.

See the screenshots i provided.


I had to blur file content in the middle column.

Attachments (2)

  • helix_enabled.png
    helix_enabled.png 10.1 KB
  • helix_disabled.png
    helix_disabled.png 56.5 KB

sem

More than a month ago #Permalink
Guys - just testing site on iPad and clicking the upload document button gave me this error. Don't know if that helps but the desktop web browsers didn't bother displaying anything specific.

sem

Attachments (1)

  • photo (2).JPG
    photo (2).JPG 52.2 KB

Kawshar Ahmed - Senior Staff

More than a month ago #Permalink
Quick solution: Create an empty column.php file and copy to your templates shortcodes directory.

David

More than a month ago #Permalink
Hi,

I didn't have a shortcode folder in shaper_helix_ii, but i created one and uploaded a empty column.php and it worked.

I'm gonna play around and test some more before i'm completely satisfied but it looks promising.

Thank you for the quick fix!

David

More than a month ago #Permalink
Guys - just testing site on iPad and clicking the upload document button gave me this error. Don't know if that helps but the desktop web browsers didn't bother displaying anything specific.

sem


This is exactly the error i recieved but the error disappeared after i changed row on
$columnArray = array();
if you look in my first post and issue 1.

But i have no idea if this is actually fixing the problem, or only hiding the error code. I'm not that good in php.. :D
I'm gonna try to revert my changes and see if the empty shortcodes/column.php in the template folder fix issue 1. too.

David

More than a month ago #Permalink
The error code in issue 1. also disappeared when i placed the empty shortcodes/column.php in the template directory.

Is it working for you too Sem?

sem

More than a month ago #Permalink
The error code in issue 1. also disappeared when i placed the empty shortcodes/column.php in the template directory.

Is it working for you too Sem?
Yep - the styling of the forms is all out of whack (wrong) but it functions now - you can now upload Docman and Fileman documents from the frontend! Thanks KOWSHAR!

BUT, obviously it breaks any shortcodes that specify nice columns and stuff on the site. Kowshar - is there any way to put an exclude in the override?

thanks, sem

sem

More than a month ago #Permalink
The error code in issue 1. also disappeared when i placed the empty shortcodes/column.php in the template directory


Yeah - looking back at the thread now I see - but I never got that error on any of the desktop browsers I was testing on which is weird. It only popped up last night when I was testing functionality on an iPad - glad it's all related though. Fingers crossed for a definite fix because it's a shame to loose all that lovely HelixII styling potential but equally a problem to loose uploading files from the frontend. Catch 22.

Kawshar Ahmed - Senior Staff

More than a month ago #Permalink
Solution. Copy the column.php to your templates shortcodes directory. Now open the newly copied file then look for the line add_shortcode( 'row', 'row_sc' ); and replace with add_shortcode( 'sprow', 'row_sc' ); and save the file.

Now, in order to use column shortcode you must need to use [sprow] instead of [row] in your article.

Thanks


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 105
Toufiq

Toufiq

Total Accepted Answers: 40
Shibbir

Shibbir

Total Accepted Answers: 40
Rifat Wahid Alif

Rifat Wahid Alif

Total Accepted Answers: 13
N

ND

Total Accepted Answers: 3

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam