• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
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
Hi! I am Jamil
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.