Jump to content
xisto Community
Sign in to follow this  
xereo

Header Web Joomla

Recommended Posts

How i do to change index.php of joomla sript if index.php is unwriteable?I want to put my own header. How i do? :P i heard for change the header web you have to change index.php(site.-->Template--->template site-->edit html=edit index.php and suddenly appears unwriteable)

Share this post


Link to post
Share on other sites

If the index.php file is unwriteable you need to CHMOD it to 0777 (or just 777 depending on the program) while you edit it, then put it back to what it was before so that it can't be edited again.I don't use Joomla so I can't provide specific instructions. Just go into your FTP program and find the CHMOD option, and CHMOD the index.php file to 0777 or 777. Then do whatever it was you were trying to do. Once you're finished put the file back to the numbers it was at before.Hope this helps you.

Share this post


Link to post
Share on other sites

for my ftp, if you right click on a file, the option of CHMOD is at the bottom, this is wher eu amek the changes stated above. It is not a module for joomla.I don't understand 100% what you want to do. . .do you want to make it so its editable in the joomla control panelORdo you bassicly just want to edit how the page looks and the structure.?and well done on choosing Joomla!, its quality :P

Share this post


Link to post
Share on other sites

locating where the banner is,opened your cpanel -- file manager.click the file which banner in.on the right small panel click edit it.--just edited it like that,so you needn't chmod something.guangdian

Share this post


Link to post
Share on other sites

I changed chmod to 777 in cpanel,afterwards i go to joomla´s site template and i go to edit html, now i see writeable :) the code is the following:

<?phpdefined( '_VALID_MOS' ) or die( 'Restricted access' );// needed to seperate the ISO number from the language file constant _ISO$iso = explode( '=', _ISO );// xml prologecho '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://forums.xisto.com/no_longer_exists/ xmlns="http://forums.xisto.com/no_longer_exists/ mosShowHead(); ?><?phpif ( $my->id ) {	initEditor();}?><meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /><link href="<?php echo $mosConfig_live_site;?>/templates/ddj002/css/template_css.css" rel="stylesheet" type="text/css"/></head><body><table border="0" cellpadding="0" cellspacing="0" width="808" align="center"><tr><td class="outline"><table width="802" border="0" align="center" cellpadding="0" cellspacing="0">  <tr>     <td> 	<div id="buttons_outer">   <div id="buttons_inner">   	<div id="buttons">   	<?php mosLoadModules ( 'user3', -1); ?>  	</div>  </div>	</div>	<div id="search_outer">   <div id="search_inner">   <?php mosLoadModules ( 'user4', -1 ); ?>  </div>	</div>	</td>  </tr>  <tr>	<td>  <div id="header_outer">  	<div id="header">    <div id="pathway_text">    <?php mosPathWay(); ?>    </div>  	</div>  	<div id="top_outer">    <div id="top_inner">    <?php    if ( mosCountModules( 'top' ) ) {    	mosLoadModules ( 'top', -2 );    } else {    	?>    	<span class="error">Top Module Empty</span>    	<?php    }    ?>     </div>  	</div>  </div>	</td>  </tr>  <tr>     <td id="main_area">  <table width="802" border="0" cellspacing="0" cellpadding="0">  <tr>      <td id="left_side">    <div id="left_outer">       <div id="left_inner">     	<?php mosLoadModules ( 'left', -2 ); ?>      </div>    </div>  	</td>    <td id="main_body">   	<?php  	if ( mosCountModules ('banner') ) {  	?>    <div id="banner_inner">    	<img src="<?php echo $mosConfig_live_site;?>/templates/ddj002/images/advertisement.png" alt="advertisement.png, 0 kB" title="advertisement" border="0" height="8" width="468"/><br />    	<?php mosLoadModules( 'banner', -1 ); ?>    </div>  	<?php  	}  	if ( mosCountModules( 'user1' ) && mosCountModules( 'user2' )) {  	include('user1_user2.php');  	}  	?>  	<div id="body_outer">    <?php mosMainBody(); ?>    <div class="clr"></div>  	</div>    </td>    <?php if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) { ?>    <td id="right_side">  	<div id="right_outer">      <div id="right_inner">     <?php mosLoadModules ( 'right', -2 ); ?>     </div>  	</div>    </td>    <?php } ?>  </tr>  </table>   </td>  </tr></table>    </td>   </tr>  </table><div align="center" class="dd">joomla templates by <a href="http://forums.xisto.com/no_longer_exists/ include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?><?php mosLoadModules( 'debug', -1 );?></body></html>

Which is the line to have change for edit header banner and put my own header banner customizate?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.