Hide admin page from public page

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

14-Jan-12 20:52
Hello, I need help. I want to make a link to my admin page is not visible on public page. So if i want to access admin page, i have to write url like this http://www.myapps.com/admin .Please tell me the way to make it in detail. I'm a newbie in programming

--
i want to learn

--
i want to learn
16-Jan-12 03:51
@ffilasta: I don't understand your question. Do you want to add a link to your admin page somewhere, or do you want to remove a link?

--
Matt Doyle, Elated
3rd Edition of my jQuery Mobile book out now! Learn to build mobile web apps. Free sample chapter: http://store.elated.com/
16-Jan-12 04:43
i want to remove a link to my admin page.

--
i want to learn
16-Jan-12 15:40
Hello ffilasta,

Are you referring to the link to the admin.php for the pages in the cms tutorial?

If so, the link back to the admin.php page is coded on the footer.php, which is located in the cms/templates/include folder.

To remove this link from the homepage.php (the public page for the list of articles), the viewArticle.php (the public page where one views the individual articles), and the archive.php (the public page where one views a list of archived articles), duplicate & rename the footer.php and modify it for those pages by omitting the link back to site admin. Then include this new, renamed footer on the above pages.

e.g.


<?php include "include/noadmin_footer.php" ?>


Hope this helps.

Best,
Shelley

--
What will we do when the power goes out?

 
New posts
Old posts

Follow Elated