I have some extra helper files to generate Bootstrap checkboxes and radio groups.
If I put them inside the cegcore dir (Helpers or extensions) they are deleted with every upgrade.
Is there a way to prevent this, or use a dir outside the cegcore and still use the helper or extensions namespace?
Rob
If I put them inside the cegcore dir (Helpers or extensions) they are deleted with every upgrade.
Is there a way to prevent this, or use a dir outside the cegcore and still use the helper or extensions namespace?
Rob
Hi Rob,
Did you try to place them any where else? under a new directory in the cegcore folder or in the Chronoforms folder?
Regards,
Max
Did you try to place them any where else? under a new directory in the cegcore folder or in the Chronoforms folder?
Regards,
Max
Hi Max
Thanks for your reply.
If I put them in new directory in the cegcore folder they are not deleted.
Now I only have to find a way to load the javascript from that dir.
Regards,
Rob
Thanks for your reply.
If I put them in new directory in the cegcore folder they are not deleted.
Now I only have to find a way to load the javascript from that dir.
Regards,
Rob
Hi Rob,
You can reference the files url using code like this:
Regards,
Max
You can reference the files url using code like this:
<?php
JFactory::getURI()->root().'libraries/cegcore/file'
Regards,
Max
This topic is locked and no more replies can be posted.