×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Helpers Class
Samuel
New Member
Posts: 3
pred 8 rokmi 8 mesiacmi #1236
od Samuel
Odpoveď od Samuel na tému Helpers Class
Hi,
did you write a Bug report? I did today, so hopefully this is patched soon.
did you write a Bug report? I did today, so hopefully this is patched soon.
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Gabor Mag
New Member
Posts: 1
pred 8 rokmi 8 mesiacmi - pred 8 rokmi 8 mesiacmi #1237
od Gabor Mag
Odpoveď od Gabor Mag na tému Helpers Class
What solved this bug for me:
Step 1:
Go to components\com_yourcomponent\helpers folder open yourcomponent.php and insert this missing row:
require_once JPATH_SITE . '/components/com_yourcomponent/models/' . strtolower($name) . '.php'; above
$model = JModelLegacy::getInstance($name, 'YourcomponentModel'); (maybe line 32)
Step 2
Copy the helper file class name. Than open the router.php file in your component root and go to line 57 you will find YOURCOMPONENTNAMEFrontendHelper::getModel($view); and change to YOURCOPIEDCLASSNAME::getModel($view); or copy from line 92 before the ::getModel($vars); part....
Step 1:
Go to components\com_yourcomponent\helpers folder open yourcomponent.php and insert this missing row:
require_once JPATH_SITE . '/components/com_yourcomponent/models/' . strtolower($name) . '.php'; above
$model = JModelLegacy::getInstance($name, 'YourcomponentModel'); (maybe line 32)
Step 2
Copy the helper file class name. Than open the router.php file in your component root and go to line 57 you will find YOURCOMPONENTNAMEFrontendHelper::getModel($view); and change to YOURCOPIEDCLASSNAME::getModel($view); or copy from line 92 before the ::getModel($vars); part....
Posledný krát upravené:pred 8 rokmi 8 mesiacmi Gabor Mag Dôvod: new infos
Nasledujúci užívateľ(ia) povedali ďakujem: Jennifer Swarts, Yonder Media
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Yonder Media
New Member
Posts: 7
pred 8 rokmi 8 mesiacmi #1241
od Yonder Media
Odpoveď od Yonder Media na tému Helpers Class
I redownloaded my component - BUG STILL NOT FIXED!!!!!!!!
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Yonder Media
New Member
Posts: 7
pred 8 rokmi 8 mesiacmi #1242
od Yonder Media
Odpoveď od Yonder Media na tému Helpers Class
I redownloaded my component - bug still not fixed. This really isn't acceptable guys! I need a solution!
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Yonder Media
New Member
Posts: 7
pred 8 rokmi 8 mesiacmi #1243
od Yonder Media
Odpoveď od Yonder Media na tému Helpers Class
Thanks Emelia, your solution worked. I'm appalled that the creators have not sorted this out after so many people have complained (myself included, repeatedly).
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Čas vytvorenia stránky: 0.053 sekúnd