1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to Edit this Joomla Template?

Discussion in 'Joomla' started by bushib, Jun 27, 2008.

  1. #1
    Hi there,

    By mistake and I posted this thread in another category.

    My URL is http://www.funbadshah.com/

    I m using Chromatophore RocketTheme Template. Can anyone please reply my following questions.

    1. How to remove the followings from the home page. (at the top).

    * About Joomla!
    * Features
    * News
    * The Community

    2. How to remove the Rocket Theme logo from the bottom and add bottom navigation links and copyright information at the bottom.

    I will be very thankful for your help.

    Best Regards
    bushib
     
    bushib, Jun 27, 2008 IP
  2. Nick252

    Nick252 Well-Known Member

    Messages:
    983
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    110
    #2
    * About Joomla!
    * Features
    * News
    * The Community

    is the othermenu or topmenu , to remove is at modules-->site modules unpublish othermenu or topmenu


    to remove the logo edit Chromatophore template index.php
     
    Nick252, Jun 27, 2008 IP
  3. bushib

    bushib Banned

    Messages:
    1,096
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi there,

    Thanks for the reply.

    I found the following code in the index file. I want to know that how to edit this code to remove the Rocket Theme Logo and add the bottom navigation and Copyright Information.

    "<div align="center"><a href="http://www.rockettheme.com/" title="RocketTheme Joomla Template Club" class="nounder"><img src="<?php echo $template_path; ?>/images/blank.gif" alt="RocketTheme Joomla Templates" id="rocket" class="png" /></a></div>"

    Thanks
    bushib
     
    bushib, Jun 27, 2008 IP
  4. imwebdev

    imwebdev Peon

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi There Bushib,
    Are you able to post the Index.php file here so we can look at it?
    I have a lot of experience with Joomla templates, but have only worked with a few Rocket Templates.

    If you could post that, I could tell you what code to remove to take away the image, and place in a bottom navigation.

    Thanks
    Imwebdev
     
    imwebdev, Jun 27, 2008 IP
  5. waziuz

    waziuz Active Member

    Messages:
    783
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #5
    While editing joomla templates always remember to make a backup and edit with joomxplorer

    And check out the files inside the template and there might be something as footer too from where you can edit and remove the copyright. Make sure that you have rights to remove the copyright before actually removing the copyright.
     
    waziuz, Jun 27, 2008 IP
  6. bushib

    bushib Banned

    Messages:
    1,096
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hi there,

    I have attached the .PHP file.

    Please reply my above questions.

    Many thanks
    bushib
     

    Attached Files:

    bushib, Jun 28, 2008 IP
  7. imwebdev

    imwebdev Peon

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hi there Bushib,
    I tried to access the index.php file but it gives me a Digitalpoint database error! Not sure what they is.
    It could be that you cannot upload a php file in that way. Try copying the content of the index file into a .txt file and upload that!

    Cheers
     
    imwebdev, Jun 28, 2008 IP
  8. bushib

    bushib Banned

    Messages:
    1,096
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hi,

    Here is the PHP code.

    <?php
    // no direct access
    defined( '_JEXEC' ) or die( 'Restricted index access' );
    define( 'YOURBASEPATH', dirname(__FILE__) );
    require( YOURBASEPATH.DS."rt_styleswitcher.php");
    JHTML::_( 'behavior.mootools' );
    
    	$live_site        			= $mainframe->getCfg('live_site');
    	$template_path 				= $this->baseurl . '/templates/' .  $this->template;
    	
    	$default_style 				= $this->params->get("defaultStyle", "Blueberry Lime:overlay-stripes-vert,#263248,#d1d4de,#95ad2a,#ffffff,#6e7791,#e1e3f0");
    	$enable_colorchooser        = ($this->params->get("enableColorChooser", 0)  == 0)?"false":"true";
    	$enable_ie6warn             = ($this->params->get("enableIe6warn", 1)  == 0)?"false":"true";
    	$font_family                = $this->params->get("fontFamily", "helvetica");
    	$template_width 			= $this->params->get("templateWidth", "962");
    	$leftcolumn_width			= $this->params->get("leftcolumnWidth", "220");
    	$rightcolumn_width			= $this->params->get("rightcolumnWidth", "220");
    	$splitmenu_col				= $this->params->get("splitmenuCol", "rightcol");
    	$menu_name 					= $this->params->get("menuName", "mainmenu");
    	$menu_type 					= $this->params->get("menuType", "moomenu");
    	$default_font 				= $this->params->get("defaultFont", "default");
    	$show_breadcrumbs 			= ($this->params->get("showBreadcrumbs", 1)  == 0)?"false":"true";
    	$show_moduleslider			= ($this->params->get("showModuleslider", 1)  == 0)?"false":"true";
    
    
    	
    	// moomenu options
    	$moo_bgiframe     			= ($this->params->get("moo_bgiframe'","0") == 0)?"false":"true";
    	$moo_delay       			= $this->params->get("moo_delay", "500");
    	$moo_duration    			= $this->params->get("moo_duration", "700");
    	$moo_fps          			= $this->params->get("moo_fps", "300");
    	$moo_transition   			= $this->params->get("moo_transition", "Back.easeOut");	
    
    	// rokzoom options
    	$enable_rokzoom   			= ($this->params->get("enableRokzoom", 1)  == 0)?"false":"true";
    	$zoom_resize_duration     	= $this->params->get("zoom_resize_duration", "700");
    	$zoom_opacity_duration     	= $this->params->get("zoom_opacity_duration", "500");
    	$zoom_transition   			  = $this->params->get("zoom_transition", "Cubic.easeOut");
    
    	// module title for moduleslider
    
    	$max_mods_per_row			= $this->params->get("maxModsPerRow", 3);
    	$ms_title1					= $this->params->get("msTitle1", "Group 1 Tab");	
    	$ms_title2					= $this->params->get("msTitle2", "Group 2 Tab");	
    	$ms_title3					= $this->params->get("msTitle3", "Group 3 Tab");	
    	$ms_title4					= $this->params->get("msTitle4", "Group 4 Tab");	
    	$ms_title5					= $this->params->get("msTitle5", "Group 5 Tab");		
    	$ms_module1					= $this->params->get("msModule1", "advert1");		
    	$ms_module2					= $this->params->get("msModule2", "advert2");			
    	$ms_module3					= $this->params->get("msModule3", "advert3");			
    	$ms_module4					= $this->params->get("msModule4", "advert4");			
    	$ms_module5					= $this->params->get("msModule5", "advert5");
    	
    	
    	require(YOURBASEPATH . DS . "rt_styleloader.php");
    								
    ?>
    <!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">
    	<head>
    		<jdoc:include type="head" />
    		<?php
    		require(YOURBASEPATH . DS . "rt_tabmodules.php");
    		require(YOURBASEPATH . DS . "rt_utils.php");
    	    require(YOURBASEPATH . DS . "rt_head_includes.php");
    	    ?>
    	</head>
    	<body id="ff-<?php echo $fontfamily; ?>" class="<?php echo $fontstyle; ?> <?php echo $style_overlay; ?> latch">
    		<div id="page-bg">
    			
    			<!--begin main wrapper-->
    			<div id="mainbody" class="wrapper">
    				<!--begin header-->
    				<div id="header">
    					<a href="<?php echo $this->baseurl; ?>" class="nounder"><img src="<?php echo $template_path; ?>/images/blank.gif" border="0" alt="" id="logo" class="png" /></a>
    					<?php if ($this->countModules('banner')) : ?>
    					<div id="banner">
    						<jdoc:include type="modules" name="banner" style="xhtml" />
    					</div>
    					<?php endif; ?>
    				</div>
    				<!--end header-->
    				<div id="main-shadow">
    					<div id="main-shadow2">
    						<div class="side-shadow1">
    							<div class="side-shadow2">
    								<div id="iefix">
    									<div id="horiz-menu" class="<?php echo $mtype; ?>">
    										<?php if($mtype != "module") : ?>
    											<?php echo $topnav; ?>
    										<?php else: ?>
    											<jdoc:include type="modules" name="toolbar" style="none" />
    										<?php endif; ?>	
    									</div>
    								</div>
    								<div id="main-content">
    									<div id="main-content2">
    										<table class="mainbody" border="0" cellspacing="0" cellpadding="0">
    											<tr valign="top">
    												<!--begin leftcolumn-->
    												<?php if ($this->countModules('left') or ($subnav and $splitmenu_col=="leftcol")) : ?>
    													<td class="leftcol">
    														<div class="padding">
    															<?php if($subnav and $splitmenu_col=="leftcol") : ?>
    																<div id="sub-menu">
    																	<?php echo $subnav; ?>
    																</div>
    															<?php endif; ?>
    															<jdoc:include type="modules" name="left" style="rounded" />
    														</div>
    													</td>
    												<?php endif; ?>
    												<!--end leftcolumn-->
    												<!--begin maincolumn-->
    												<td class="maincol">
    													<div id="maincol1">
    														<div id="maincol2">
    															<div class="padding">
    																<?php if ($show_moduleslider=="true" and ($this->countModules('advert1') or $this->countModules('advert2') 
    															or $this->countModules('advert3') or $this->countModules('advert4') or $this->countModules('advert5'))) : ?>
    																	<div id="moduleslider-size">
    																		<?php displayTabs($this); ?>
    																	</div>
    																<?php endif; ?>
    																<?php if ($this->countModules('user1') or $this->countModules('user2') or $this->countModules('user3')) : ?>
    																	<div id="mainmodules1" class="spacer<?php echo $mainmod1_width; ?>">
    																		<?php if ($this->countModules('user1')) : ?>
    																			<div class="block">
    																				<jdoc:include type="modules" name="user1" style="rounded" />
    																			</div>
    																		<?php endif; ?>
    																		<?php if ($this->countModules('user2')) : ?>
    																			<div class="block">
    																				<jdoc:include type="modules" name="user2" style="rounded" />
    																			</div>
    																		<?php endif; ?>
    																		<?php if ($this->countModules('user3')) : ?>
    																			<div class="block">
    																				<jdoc:include type="modules" name="user3" style="rounded" />
    																			</div>
    																		<?php endif; ?>
    																	</div>
    																<?php endif; ?>
    																<div id="content-padding">
    																	<?php if ($show_breadcrumbs == "true") : ?>
    																		<div id="pathway">
    																			<jdoc:include type="module" name="breadcrumbs" style="none" />
    																		</div>
    																	<?php endif; ?>
    																	<jdoc:include type="message" />
    																	<jdoc:include type="component" />
    																</div>
    																<?php if ($this->countModules('user4') or $this->countModules('user5') or $this->countModules('user6')) : ?>
    																	<div id="mainmodules2" class="spacer<?php echo $mainmod2_width; ?>">
    																		<?php if ($this->countModules('user4')) : ?>
    																			<div class="block">
    																				<jdoc:include type="modules" name="user4" style="rounded" />
    																			</div>
    																		<?php endif; ?>
    																		<?php if ($this->countModules('user5')) : ?>
    																			<div class="block">
    																				<jdoc:include type="modules" name="user5" style="rounded" />
    																			</div>
    																		<?php endif; ?>
    																		<?php if ($this->countModules('user6')) : ?>
    																			<div class="block">
    																				<jdoc:include type="modules" name="user6" style="rounded" />
    																			</div>
    																		<?php endif; ?>
    																	</div>
    																<?php endif; ?>
    															</div>
    														</div>
    													</div>
    												</td>
    												<!--end maincolumn-->
    												<!-- begin rightcolumn -->
    												<?php if ($this->countModules('right') or ($subnav and $splitmenu_col=="rightcol")) : ?>
    													<td class="rightcol">
    														<div class="padding">
    															<?php if($subnav and $splitmenu_col=="rightcol") : ?>
    																<div id="sub-menu">
    																	<?php echo $subnav; ?>
    																</div>
    															<?php endif; ?>
    															<jdoc:include type="modules" name="right" style="rounded" />
    														</div>
    													</td>
    												<?php endif; ?>
    												<!-- end rightcolumn -->
    											</tr>
    										</table>
    									</div>
    								</div>
    							</div>
    						</div>
    					</div>
    				</div>
    				<!--begin bottom section-->
    				<?php if ($this->countModules('user7') or $this->countModules('user8') or $this->countModules('user9') or $this->countModules('user10')) : ?>
    				<div id="bottom">
    					<div id="bottom-shadow1">
    						<div id="bottom-shadow2">
    							<div class="padding">
    								<div id="bottommodules" class="spacer<?php echo $bottommod_width; ?>">
    									<?php if ($this->countModules('user7')) : ?>
    										<div class="block">
    											<jdoc:include type="modules" name="user7" style="rounded" />
    										</div>
    									<?php endif; ?>
    									<?php if ($this->countModules('user8')) : ?>
    										<div class="block">
    											<jdoc:include type="modules" name="user8" style="rounded" />
    										</div>
    									<?php endif; ?>
    									<?php if ($this->countModules('user9')) : ?>
    										<div class="block">
    											<jdoc:include type="modules" name="user9" style="rounded" />
    										</div>
    									<?php endif; ?>
    									<?php if ($this->countModules('user10')) : ?>
    										<div class="block">
    											<jdoc:include type="modules" name="user10" style="rounded" />
    										</div>
    									<?php endif; ?>
    								</div>
    							</div>
    						</div>
    					</div>
    				</div>
    				<?php endif; ?>
    				<div align="center"><a href="http://www.rockettheme.com/" title="RocketTheme Joomla Template Club" class="nounder"><img src="<?php echo $template_path; ?>/images/blank.gif" alt="RocketTheme Joomla Templates" id="rocket" class="png" /></a></div>
    				<!--end bottom section-->
    			</div>
    			<!--end main wrapper-->
    		</div>
    	</body>
    </html>
    PHP:
    Any help will be highly appreciated.

    Regards
    bushib
     
    bushib, Jun 28, 2008 IP