fbpx

Trick or Treat - 30% OFF - Coupon Code: SCARY20 Grab the Deal!

Welcome, Guest
Username: Password: Remember me

TOPIC: Override sticky.php

Override sticky.php 1 month 2 weeks ago #24225

  • davarn1
  • davarn1's Avatar
  • Offline
  • New Member
  • Posts: 6
  • Karma: 0
Hello,

When I copy sticky.php to "ROOT/templates/MYTEMPLATE/html/frontend/header/", I have an error on the frontend : raf.bievre-web.fr/index.php

Do you know what is the problem ?

Thank You,

David
The administrator has disabled public write access.

Override sticky.php 1 month 2 weeks ago #24243

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3841
  • Thank you received: 587
  • Karma: 99
Hello,

Have you update the new Astroid Template? If you please install the latest Template & Framework.
www.joomdev.com/my-downloads/astroid-template-framework

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

Override sticky.php 1 month 2 weeks ago #24244

  • davarn1
  • davarn1's Avatar
  • Offline
  • New Member
  • Posts: 6
  • Karma: 0
Yes I do. I had install the framework 2.4.1 and the template zero 2.4.0
Last Edit: 1 month 2 weeks ago by davarn1.
The administrator has disabled public write access.

Override sticky.php 1 month 2 weeks ago #24247

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3841
  • Thank you received: 587
  • Karma: 99
Yes,

Framework version is v2.4.1 and Template version is v2.4.0.
You have to updated the sticky.php file. I have attached the new sticky.php file.

github.com/joomdev/Astroid-Framework/blo...nd/header/sticky.php

Note: Easy way to update the sticky.php file. Copy the new code from attached file and replace with your override file. After replaced you have to put your changed in override file.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.
The following user(s) said Thank You: davarn1

Override sticky.php 1 month 2 weeks ago #24249

  • davarn1
  • davarn1's Avatar
  • Offline
  • New Member
  • Posts: 6
  • Karma: 0
It's work, thank you very much !!
The administrator has disabled public write access.

Override sticky.php 1 month 2 weeks ago #24257

  • Nidzo
  • Nidzo's Avatar
  • Offline
  • New Member
  • Posts: 10
  • Thank you received: 3
  • Karma: 1
@chandandeep if you can help me to modify hamburger icon I will appreciate.
In Astroid 2.3 I made override in stacked.php and header.php but in 2.4 those overrides causes error 0.
I want envelope font awesome icon
<i class="far fa-envelope"></i>
instead tree lines.
The administrator has disabled public write access.

Override sticky.php 1 month 2 weeks ago #24288

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3841
  • Thank you received: 587
  • Karma: 99
Hello,

Very simple, Copy the new code from attached links and replace with your override.
After replaced you can easily add your envelope icon.

github.com/joomdev/Astroid-Framework/blo.../frontend/header.php
github.com/joomdev/Astroid-Framework/blo...d/header/stacked.php

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.398 seconds