-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: e_header.php #1
Comments
@LaocheXe, |
Well I would need to add the two lines into my theme.php - when simply you could just add them into e_header.php in the plugin, which will enable the livestamp on the site without having to modify the theme. Because there is no inline editor for e107 to add into the theme in the admin area, and novice users who don't know how to edit php, this would be easier. |
@LaocheXe You don’t need to add those JavaScript libs manually in a custom theme. They should be loaded automatically by e_footer.php just like e_header.php I’m yet to shift fully into the coding mindset so I might still be overlooking something here, please accept my apologies if I’m not understanding you correctly. |
Wouldn't be easier to add e_header.php and have it load the e107::js('core', "livestamp/moment.min.js"); and e107::js('core', "livestamp/livestamp.min.js"); so administrators don't have to add them in custom themes?
The text was updated successfully, but these errors were encountered: