fbpx
Welcome, Guest
Username: Password: Remember me

TOPIC: Waisting time trying to add JS scripts before body & Head 2?

Waisting time trying to add JS scripts before body & Head 2? 3 weeks 3 days ago #22932

  • Chacapamac
  • Chacapamac's Avatar
  • Offline
  • Premium Member
  • Posts: 119
  • Thank you received: 1
  • Karma: 0
Second post - Same subject - Same problem
After more testing , it is not working .......

Again few hours trying to find a solution and, at least, I find the problem

The problem is that,
<script type="text/javascript" src="/templates/astroid_template_zero/js/rellax.min.js"></script>
Doesn't work on a local test site on Mamp with your system. — (and I specify that on my first post...)
That url give a wrong address (404) on my local server —> http://localhost/templates/astroid_template_zero/js/rellax.min.js

The real address is :http://localhost/Joomlagraf/Astroid-JoomDev/templates/astroid_template_zero/js/rellax.min.js
Its like that because I develop multiple site at the same time.

Can you find me a way, other than entering an address that will be wrong on the live site, to develop Astroid on a local server.

IMPORTANT Suggestion:

• Please make your system accept relative path to the joomla installation — I never have that kind of problems with Rocketheme and the other providers I try

— A bit frustrated :pinch:
Last Edit: 1 week 4 days ago by Chacapamac.
The administrator has disabled public write access.

Waisting time trying to add JS scripts before body & Head 2? 3 weeks 3 days ago #22933

  • Chacapamac
  • Chacapamac's Avatar
  • Offline
  • Premium Member
  • Posts: 119
  • Thank you received: 1
  • Karma: 0
The right path to enter in the input box is:
<script type="text/javascript" src="/Joomlagraf/Astroid-JoomDev/templates/astroid_template_zero/js/rellax.min.js"></script>

http://localhost is added automatically
The administrator has disabled public write access.

Waisting time trying to add JS scripts before body & Head 2? 2 weeks 4 days ago #23031

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3877
  • Thank you received: 571
  • Karma: 99
Sorry for the delayed reply. Got missed in the pile of other posts.

There is a minor issue here with relative paths and it only happens when your installing is NOT in the root folder.

Will see what can be implemented here.

Thanks again for all the suggestions,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
The following user(s) said Thank You: Chacapamac

Waisting time trying to add JS scripts before body & Head 2? 2 weeks 20 hours ago #23054

  • Chacapamac
  • Chacapamac's Avatar
  • Offline
  • Premium Member
  • Posts: 119
  • Thank you received: 1
  • Karma: 0
Thanks Chetan
As a developper, we are working on multiple web sites at the same time on local servers
Having something to facilitate that fact will be great.

I see a simple “Development” settings Off/ON, maybe with the possibility to input the local prefix?

It seem to work automatically with systems like Rockettheme — I just input the relative links.....
The administrator has disabled public write access.

Waisting time trying to add JS scripts before body & Head 2? 1 week 6 days ago #23061

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3877
  • Thank you received: 571
  • Karma: 99
Understood, will apply a patch for this one.

Thank You,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
The following user(s) said Thank You: Chacapamac
Moderators: chandandeep
Time to create page: 0.326 seconds