Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Critical helpers in frontand and back 01 Feb 2016 11:49 #13796

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
I have started to protect certain site admin areas using a HTACCESS password (installed via Akeeba admin tools) which has led to a critical problem with J-Cook components.

As the helpers are stored in the ADMIN folder which is protected by a HTACCESS password, this means that front end views get prompted for that HTACCESS password if they need a helper.. i.e almost all the time

Can we have helpers for front and backend mirrored in both areas or moved to the site section rather than admin section
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

Please Log in or Create an account to join the conversation.

Critical helpers in frontand and back 01 Feb 2016 12:25 #13797

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Interresting point.
How the other component does ?

Putting the helpers in the front is an heresy. This would break the joomla conventions, no ?
And this might be the same problem for many other files. MVC supperclasses...
Even inheritance would not work. This is a big deal.
Copy and paste the code is very bad idea. I cannot do that.

What happen with your models in front, they are based on superclass localized in the administrator folder as well.
There might be another solution I guess.

In case if inheritance work, just create a front helper that inherit from the back-end file. (same than MVC)

I am very interrested to know more about that.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.390 seconds

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started