Welcome Guest, Not a member yet? Register   Sign In
meta data and CCS/JS
#1

Hi,

can anyone tell me how to add meta description and meta keywords dynamically? I used the layout method so a single header and single footer.

also can I add CSS file and JS file dymanically? 

thank you so much

await your reply

Jeewaka
Reply
#2

(This post was last modified: 11-16-2020, 11:41 PM by mjamilasfihani.)

You can try my library https://github.com/mjamilasfihani/BHPGenerator

I made it based on CI 4.0.4
Sorry for bad documentation

It'll give you 3 option, set the assets (css, js, meta or your css/js script) that will be used for global configuration or add local assets (in controller) but not replace the global configuration or add local assets that replace the global configuration

Just try to experiment with it, hope it usefull for you Smile
Reply
#3

(11-16-2020, 11:26 PM)mjamilasfihani Wrote: You can try my library https://github.com/mjamilasfihani/BHPGenerator

I made it based on CI 4.0.4
Sorry for bad documentation

It'll give you 3 option, set the assets (css, js, meta or your css/js script) that will be used for global configuration or add local assets (in controller) but not replace the global configuration or add local assets that replace the global configuration

Just try to experiment with it, hope it usefull for you Smile

Thank you so much
will try
Reply




Theme © iAndrew 2016 - Forum software by © MyBB