×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Helpers Class
Samuel
New Member
Posts: 3
8 år 8 måneder dager siden #1236
av Samuel
Besvart av Samuel i emne 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.
Vennligst Logg inn eller Registrer konto for å bli med i samtalen.
Gabor Mag
New Member
Posts: 1
8 år 8 måneder dager siden - 8 år 8 måneder dager siden #1237
av Gabor Mag
Besvart av Gabor Mag i emne 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....
Last edit: 8 år 8 måneder dager siden by Gabor Mag. Grunn: new infos
Følgende bruker(e) sa Takk: Jennifer Swarts, Yonder Media
Vennligst Logg inn eller Registrer konto for å bli med i samtalen.
Yonder Media
New Member
Posts: 7
8 år 8 måneder dager siden #1241
av Yonder Media
Besvart av Yonder Media i emne Helpers Class
I redownloaded my component - BUG STILL NOT FIXED!!!!!!!!
Vennligst Logg inn eller Registrer konto for å bli med i samtalen.
Yonder Media
New Member
Posts: 7
8 år 8 måneder dager siden #1242
av Yonder Media
Besvart av Yonder Media i emne Helpers Class
I redownloaded my component - bug still not fixed. This really isn't acceptable guys! I need a solution!
Vennligst Logg inn eller Registrer konto for å bli med i samtalen.
Yonder Media
New Member
Posts: 7
8 år 8 måneder dager siden #1243
av Yonder Media
Besvart av Yonder Media i emne 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).
Vennligst Logg inn eller Registrer konto for å bli med i samtalen.
Tid til å lage siden: 0.057 sekunder