× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Helpers Class

8 năm 6 tháng trước #1236 bởi Samuel
Replied by Samuel on topic Helpers Class
Hi,

did you write a Bug report? I did today, so hopefully this is patched soon.

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

8 năm 6 tháng trước - 8 năm 6 tháng trước #1237 bởi Gabor Mag
Replied by Gabor Mag on topic 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....
Last edit: 8 năm 6 tháng trước by Gabor Mag. Lý do: new infos
Những thành viên sau(s) đã Cảm ơn: Jennifer Swarts, Yonder Media

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

8 năm 6 tháng trước #1241 bởi Yonder Media
Replied by Yonder Media on topic Helpers Class
I redownloaded my component - BUG STILL NOT FIXED!!!!!!!!

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

8 năm 6 tháng trước #1242 bởi Yonder Media
Replied by Yonder Media on topic Helpers Class
I redownloaded my component - bug still not fixed. This really isn't acceptable guys! I need a solution!

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

8 năm 6 tháng trước #1243 bởi Yonder Media
Replied by Yonder Media on topic 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).

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

Thời gian tải trang: 0.116 giây
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.