Bootstap 4.4 intergration with codeigniter 3.11 |
Hi to you all.
I am currently busy with a my own little cms / mvs project for my business to handle online & off line sales and stock. Now the home page loads nicely and works as per instruction manual. 1) But I have also created a About-Us page as about.php file and nothing happens when I click on that file icon on the main menu. It still shows the home.php content with this example( http://localhost/tulbachcomputers.co.za/#) # at the end. Please see the attached jpg file. 2) Also I want to able to click on each and every menu item such as home, about-us, monitors etc. The menus must work together. 3) Is it also possible to connect my database with a search like google and ens in codeigniter ? 4) And get external data fees from my suppliers website ? I would appreciate all the help. Regards
Did you go to the CodeIgniter Users Guide and do the News tutorial?
Read that tutorial and do the code you should then be alright. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Yes I did follow those instructions.
But when i click on my about page it only shows # at the end of the url, and still shows the content of the home page. And also then I click on my home page it doesn't go to the home page. (03-03-2020, 11:27 PM)shewolf255 Wrote: Yes I did follow those instructions. What I normally do is place About page and other client facing pages like contact and servces on the Default controller. And to simplify routing in the navigation, have a look attached screenshots for reference. I hope this helps.
CI is MVC framework. You should follow MVC concept.
Using controllers would solve your problem. Anyway i can't remember what was default controller's name was so i use DefaultController. PHP Code: <?php Then you should create home.php and about.php under views folder. I strongly recommend you to use CI4 instead of CI3.
|
Welcome Guest, Not a member yet? Register Sign In |