Members: 16,996
Threads: 38,866
Posts: 159,475
Online: 40

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Mambo 4.5.1 > Mambo 4.5.1 'How Do I' Questions

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 18.12.2004, 18:47   #1 (permalink)
Senior Mamber
 
racefanatic's Avatar
 
Join Date: Aug 2004
Location: Dallas,Tx
Posts: 160
racefanatic is on a distinguished road
Exclamation Need help with header in planetfall template

I need some help I accidentally messed up some code in the header and now I cant get anything to work there, I was replaceing it with mine and not sure what I did wrong I'm no programmer so I'm not sure what to look for.

Here is the first 30 or so line of the HTML I belive somewhere in here is the issue.
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = split( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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>
<?php
if ( $my->id ) {
initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/rhuk_planetfall/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/templates/rhuk_planetfall/images/favicon.ico" />
</head>
<body class="page_bg">
<a name="up" id="up"></a>
<?php
@$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) and !$_REQUEST['task'] == 'edit' ) ? 2 : 1;
?>
<div align="center" >
<table width="798" border="0" cellpadding="0" cellspacing="0" class="big_frame">
<tr>
racefanatic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 18.12.2004, 19:10   #2 (permalink)
Expert Mamber
 
walb's Avatar
 
Join Date: Oct 2004
Location: Hack City, Earth.
Posts: 453
walb will become famous soon enough
Default Re: Need help with header in planetfall template

These lines are not the issue. The only change you made to the original is the place where to retrieve the favicon.ico.
You better do a content compare on the original and the modified one. Concentrate on the differences!
__________________
A bugfree program is a deleted one! (Confucius.)
walb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 19.12.2004, 08:16   #3 (permalink)
Senior Mamber
 
racefanatic's Avatar
 
Join Date: Aug 2004
Location: Dallas,Tx
Posts: 160
racefanatic is on a distinguished road
Talking Re: Need help with header in planetfall template

walb, thanks for the advice but one problem, I dont have this is the original this is it. I know I should have made a backup but I dont have one from before I messed this up. I'm not sure as to what u refer to either, remember I'm new to css stuff, I'm learning as I go. so and other Ideas.
racefanatic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 19.12.2004, 10:06   #4 (permalink)
Expert Mamber
 
walb's Avatar
 
Join Date: Oct 2004
Location: Hack City, Earth.
Posts: 453
walb will become famous soon enough
Default Re: Need help with header in planetfall template

You can allways redownload 4.5.1a and copy planetfall out of the zip/tar.
Then you have returned your original...
__________________
A bugfree program is a deleted one! (Confucius.)
walb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 19.12.2004, 21:30   #5 (permalink)
Senior Mamber
 
racefanatic's Avatar
 
Join Date: Aug 2004
Location: Dallas,Tx
Posts: 160
racefanatic is on a distinguished road
Angry Re: Need help with header in planetfall template

Well walb I took your advise and it messed me up even more see my site now I have a link on the top bar showing "sitemap" ? not sure where that came from. I dl'el the template from mamboportal, someone must have changed some things in it I'll play with what I got (crossing fingers) and see If I cant make this work. or I'll just start all over again
racefanatic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20.12.2004, 09:42   #6 (permalink)
Expert Mamber
 
walb's Avatar
 
Join Date: Oct 2004
Location: Hack City, Earth.
Posts: 453
walb will become famous soon enough
Default Re: Need help with header in planetfall template

This has nothing to do with the template
Probably you have to examine wat is specified in your Top Menu. Main Menu is OK.
Site Map and Help make up funny url's pointing to com_contact (why?) and a weird itemid ending with a #. So it is the top menu to examine
At least your template is working again.
__________________
A bugfree program is a deleted one! (Confucius.)
walb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20.12.2004, 16:49   #7 (permalink)
Senior Mamber
 
racefanatic's Avatar
 
Join Date: Aug 2004
Location: Dallas,Tx
Posts: 160
racefanatic is on a distinguished road
Question Re: Need help with header in planetfall template

I looked at the top menu and I shows "Home" "Links" "Contact Us" & "News" which I had before I reinstalled just the template, But as you can see the links and and contact us have been replaced. I did get back some things I screwed up but now this I use cPanel to run my site and loaded mambo thru fantastico. I had not set up a help or sitemap link before thats why I think someone had made some changes to the template that I dl'ed.
Thanks alot for the help
racefanatic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20.12.2004, 17:10   #8 (permalink)
Expert Mamber
 
ChipMonk's Avatar
 
Join Date: Dec 2004
Location: Dark side of Moon
Posts: 346
ChipMonk is on a distinguished road
Default Re: Need help with header in planetfall template

Quote:
Originally Posted by racefanatic
I need some help I accidentally messed up some code in the header and now I cant get anything to work there, I was replaceing it with mine and not sure what I did wrong I'm no programmer so I'm not sure what to look for.

Here is the first 30 or so line of the HTML I belive somewhere in here is the issue.
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = split( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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>
<?php
if ( $my->id ) {
initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/rhuk_planetfall/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/templates/rhuk_planetfall/images/favicon.ico" />
</head>
<body class="page_bg">
<a name="up" id="up"></a>
<?php
@$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) and !$_REQUEST['task'] == 'edit' ) ? 2 : 1;
?>
<div align="center" >
<table width="798" border="0" cellpadding="0" cellspacing="0" class="big_frame">
<tr>
Someone said centuries back, If its ain't broken, dont fix it
__________________
ChipMonk

proudly offering FREE joomla/mambo hosting
ChipMonk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20.12.2004, 17:18   #9 (permalink)
Senior Mamber
 
racefanatic's Avatar
 
Join Date: Aug 2004
Location: Dallas,Tx
Posts: 160
racefanatic is on a distinguished road
Default Re: Need help with header in planetfall template

Hey chip just kiddin
racefanatic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20.12.2004, 17:19   #10 (permalink)
Expert Mamber
 
ChipMonk's Avatar
 
Join Date: Dec 2004
Location: Dark side of Moon
Posts: 346
ChipMonk is on a distinguished road
Default Re: Need help with header in planetfall template

Quote:
Originally Posted by racefanatic
Hey chip just kiddin
ROFL


THIS was nice one
__________________
ChipMonk

proudly offering FREE joomla/mambo hosting
ChipMonk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Template -> different Header Image on specific pages Quizzer Mambo 4.5 'How Do I' Questions 8 22.06.2005 20:12
Additional header images for rhuk_planet template vrajesh Template Announcements 6 17.12.2004 18:38
how do i change the template header image - akodarkgem reemas Mambo 4.5 'How Do I' Questions 12 14.10.2004 02:14
Change the Header Picture in the MT Business template john888 Mambo 4.5.1 'How Do I' Questions 1 30.08.2004 09:53
How to change the header image in a template? ralfmarkus Mambo 4.5 'How Do I' Questions 2 09.04.2004 22:09


All times are GMT +2. The time now is 06:29.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.