Dear Friends Please help, i am developing new site using Joomla i have installed everything is working fine. my doubt is how to link another pages like about us, contact us etc, please advise me the coding in index.php page please look my coding i am using index.php <?php /** * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" > <head> <jdoc:include type="head" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/bvk/style/bvkstyle.css" type="text/css" /> </head> <body> <center> <div class="bodycontainer"> <!-- body --> <!--heaader--> <div class="headerstrip"> <div style="float:left;width:541px;"><img src="templates/bvk/images/header1.jpg" alt="webdesign" /><img src="templates/bvk/images/header2.jpg" alt="webdesign" /></div> <div style="float:left;background-image:url(templates/bvk/images/header3.jpg);height:192px; width:259px;"> <!-- sign in --> <div style="padding:140px 30px 10px 10px; text-align:right;" class="orglink"> <img src="templates/bvk/images/add-to-basket.png" alt="webdesign" valign="middle" /><a href="#" class="orglink">Signin</a> </div> <!-- sign end --> </div> </div><!-- end header --> <!-- menu --><div class="menustrip" style="clear:both"> <div style="padding:10px 5px 5px 15px; text-align:left" class="whitelink"> <!--<a href="#">Web News</a> <a href="#">Web News</a> <a href="#">Web News</a>--> <jdoc:include type="modules" name="left" style="xhtml" /> </div> </div> <!-- end menu --> <br clear="all" /> <!-- content --> <div class="content"> <!-- left content --> <div style="float:left; width:535px;"> <div style="padding:10px; text-align:left"> <div class="bluetitle">Web News</div> <div class="graytitle" style="padding:10px 0px 5px 0px;">HTML Version 5.0</div> <div>This is a new version 5.0, it is really very suupb scenrio and then let we This is a new version 5.0, it is really very suupb scenrio and then let weThis is a new version 5.0, it is really very suupb scenrio and then let weThis is a new version 5.0, it is really very suupb scenrio and then let weThis is a new version 5.0, it is really very suupb scenrio and then let weThis is a new version 5.0, it is really very suupb scenrio and then let we</div> <!-- new feed --> <div style="padding:10px"> <jdoc:include type="modules" name="user3" style="xhtml" /> <jdoc:include type="modules" name="user4" style="xhtml" /> </div> <!-- end news feed --> please tel me how to write coding for another pages here - </div> </div> <!-- end left content --> <!-- right content --> <div style="float:left; width:255px;"> <img src="templates/bvk/images/com.jpg" alt="webdesign" /> <jdoc:include type="modules" name="user1" style="xhtml" /> </div> <!-- end right content --> </div> <!-- end content --> <!-- footer --> <div class="footer"> <div style="padding:10px; text-align:center"> <a href="#">About Us</a> | <a href="#">Web News</a> | <a href="#">Email Marketing</a> | <a href="#">Web Jobs</a> | <a href="#">Web Trends</a> </div> <div style="padding-top:5px; text-align:center" class="copyright">@Copyrights BVK Portal.com. All Rights Resvered</div> </div> <!-- end footer --> </div> <!-- end body --> </center> </body> </html>
Hi. You don't need to edit the index.php to add your links to the html. Just do it through Joomla. There is already a left navigation module present in your template code, so you can use that position to load another navigation module with the links you need. To have new links in your left navigation module, you could either use an existing navigation menu if the links exist already, [ like in a default Joomla install ] or create a new navigation menu. If the links already exist, then go into the module manager and change the position of the existing navigation module which has your links, to your left module position. An Example: In your Joomla admin CP, using the module manager, move / reassign the top nav menu from "user 3" position to "left" module position and your top nav links will move to the new left nav position. You could also create a new navigation module in the menu manager, add the links you want to use and then assign the new menu to the left module position.
You don't need to edit the index.php how to create and edit a contact page : go to your CPjoomla yoursite/administrator/ go to menus and main menu add new item select contacts type and select standart contact edit the title and alias ex:"contact" and save it go to your site and view the difference you have a new cantact page Configure contact page : go to components at your CP(yoursite/administrator/) go to contact and edit it