thedigicraft / Atom.CMS

Atom.CMS
56 stars 52 forks source link

links of nav bar are not working (Part - 54) #233

Closed v917 closed 7 years ago

v917 commented 7 years ago

After making pages.php, users.php & so on, the text Dashboard is coming only on loading the page for the first time and after that clicking on any link(even dashboard as well) will end up showing blank screen. I thought watching next video will resolve my issue but i was wrong. I am not even getting the Page Manager page. Please help. pages.php: https://pastebin.com/5YygjWsD index.php: https://pastebin.com/9Wu1W8HS Page loading for the first time.docx

creptor commented 7 years ago

Your navigation links are wrong.... They should redirect the user to: ?Page=[page_name] instead of ?age=

creptor commented 7 years ago

Sry, I clicked comment before I finished it.

Your navigation links are wrong, they should redirect the user to: ?page=[page_name] instead of ?page=[page_name].php.

v917 commented 7 years ago

Yes, I have typed ?page=pages not ?page=pages.php. See here below: <a class="list-group-item" href="?page=pages"> <i class="fa fa-plus"></i>&nbsp;New Page </a>

v917 commented 7 years ago

Here is navigation.php: https://pastebin.com/hMSWSwQy if needed to check.

creptor commented 7 years ago

The pastebin code shows that you're using ?page=example.php.

You have to change that to ?page=example

v917 commented 7 years ago

@creptor Ok Ok.. Done.. Issue resolved.. Thank You So Much for your help. I have done the change in navigation.php and now it is working.

creptor commented 7 years ago

Right... I didn't say it was the navigation.php file, I'm sorry if it took long to figure it out. 😔

v917 commented 7 years ago

It's ok.. at least you replied to my issue..