Saturday, March 1, 2014

Tute 23 : Link menu to category page


Open the index.php file in notepad++ software. We will some edit in menu's php code. So go to the menus php code. We write replace this code in <li></li> code.


-------------------------------------------------------------------------------------

<li><a href = "category.php?category=<?php echo$category; ?>" ><?php echo $category; ?> </a></li>

-------------------------------------------------------------------------------------


Now we go to Google Chrome and refresh our home page. When we take mouse in menu and we see mouse pointer change into linkable pointer. So our menu is linkable.

We click any menu then go to the category page. Show that category article in left side. Then click the home menu and again click other menu.

Again go to the category page and see other article. So our category page is ok and it work dynamically.





Now link menu in category page  and details page. Then click all menu and check all link. Then go to any details article with click heading and click any menu. 

No comments :

Post a Comment