اساتید ارجمند. با کمکتون تونستم اولین تم رو برای مامبو بنویسم اما.... :-\
روی لوکال خوبه ولی وقتی آپ میکنم نه عکسها دیده میشند نه css درسته؟؟؟؟
چند مدل مختلف هم امتحان کردم اما نشد :'(
میدونید اشکال از کجاست؟

اساتید ارجمند. با کمکتون تونستم اولین تم رو برای مامبو بنویسم اما.... :-\
روی لوکال خوبه ولی وقتی آپ میکنم نه عکسها دیده میشند نه css درسته؟؟؟؟
چند مدل مختلف هم امتحان کردم اما نشد :'(
میدونید اشکال از کجاست؟
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
دوست عزیز
میشه قالب رو بگذارید اینجا تا ما ببینیم و چک کنیم
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
سلام
احتمال زیاد اشکال در آدرس دهی دارید .. به همین علت CSS و تصاویر شما لود نمیشه .. .چک کنید ببینید آدرس ها رو به چه صورت در فایل index.php ست کردید
[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
یا علی
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
ممنونم از اهتمامتون اینم کدها
index.php
<?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 = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
<html xmlns="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
<head>
<style type="text/css">
.style1 {
background-color: #5BB1DD;
}
.style2 {
background-image: url('<?php echo $mosConfig_live_site;?>/templates/Neystan Ryaneh Co/images/014_03.jpg'
background-repeat: repeat-x;
}
.style3 {
background-image: url('<?php echo $mosConfig_live_site;?>/templates/Neystan Ryaneh Co/images/PathWay-Mid-Small.jpg'
background-repeat: repeat-x;
}
.style4 {
background-color: #5BB1DD;
background-image: url('<?php echo $mosConfig_live_site;?>/templates/Neystan Ryaneh Co/images/SpiltLine-Small.jpg'
background-repeat: repeat-x;
}
.style5 {
text-align: center;
}
.style6 {
text-align: left;
}
</style>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
?>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<link href="<?php echo $mosConfig_live_site;?>/templates/Neystan Ryaneh Co/css/template_css.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<table cellpadding="0" cellspacing="0" style="width: 100%; height: 48px" dir="rtl" align="center" class="style1">
<!-- MSTableType="layout" -->
<tr>
<td valign="top" style="width: 200px">
<img alt="" src="<?php echo $mosConfig_live_site;?>/templates/Neystan Ryaneh Co/images/Logo.jpg" width="200" height="48"></td>
<td valign="top" style="width: 100%" class="style6">
<!-- MSCellType="empty" -->
&nbsp;</td>
<td valign="top" style="height: 48px; width: 219px" class="style6">
<form action="index.php" method="post">
<div class="search" align="center">
<input class="inputbox" type="text" name="searchword" size="25" value="جستجو" onblur="if(this.value==''this.value='جستجو';" onfocus="if(this.value=='جستجو'
this.value='';" />
</div>
<input type="hidden" value="search" name="option" />
</form>
&nbsp;</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width: 100%; height: 147px" dir="rtl" align="center">
<!-- MSTableType="layout" -->
<tr>
<td valign="top" style="width: 100%" class="style2">
<!-- MSCellType="empty" -->
&nbsp;</td>
<td valign="top" style="height: 147px; width: 305px">
<img alt="" src="<?php echo $mosConfig_live_site;?>/templates/Neystan Ryaneh Co/images/014_02.jpg" width="309" height="147"></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width: 100%; height: 33px" dir="rtl" align="center">
<!-- MSTableType="layout" -->
<tr>
<td valign="top" style="width: 73px">
<img alt="" src="<?php echo $mosConfig_live_site;?>/templates/Neystan Ryaneh Co/images/PathWay-Right.jpg" width="73" height="33"></td>
<td style="width: 100%" class="style3"><div id="topmenu"><?php mosLoadModules ( 'top' ); ?></div>&nbsp;</td>
<td valign="top" style="height: 33px; width: 95px">
<img alt="" src="<?php echo $mosConfig_live_site;?>/templates/Neystan Ryaneh Co/images/PathWay-Left.jpg" width="95" height="33"></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width: 100%; height: 100%" dir="rtl" align="center">
<!-- MSTableType="layout" -->
<tr>
<td valign="top" style="width: 124px" rowspan="2"><?php mosLoadModules ( 'right' ); ?>
&nbsp;</td>
<td valign="top" style="width: 41px" rowspan="2">
<!-- MSCellType="empty" -->
&nbsp;</td>
<td valign="top" style="height: 19px;"><?php mosPathWay(); ?>
&nbsp;</td>
<td valign="top" style="width: 41px" rowspan="2">
<!-- MSCellType="empty" -->
&nbsp;</td>
<td valign="top" style="width: 15%" class="t_mainbasket" rowspan="2"><?php mosLoadModules ( 'left' ); ?>
&nbsp;</td>
</tr>
<tr>
<td valign="top" style="width: 67%; height: 100%;">
<?php mosMainBody(); ?>
<?php if (file_exists($mosConfig_absolute_path."/components/com_comments/comments.php") { require_once($mosConfig_absolute_path."/components/com_comments/comments.php"
; } ?>
&nbsp;</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width: 100%; height: 50px" dir="rtl" align="center" class="style4">
<!-- MSTableType="layout" -->
<tr>
<td valign="top" style="width: 200px"><?php mosLoadModules ( 'user1' ); ?>
&nbsp;</td>
<td style="width: 40%" class="style5" valign="bottom"><?php mosLoadComponent( "banners" ); ?>
&nbsp;</td>
<td valign="top" style="height: 25px; width: 200px">
<div class=t_div_prodimage_main>
<div class=t_div_prodimage_maintext>
<div id="newsflash"><?php mosLoadModules ( 'newsflash' ); ?></div>
</div>
</div>
&nbsp;</td>
</tr>
<tr>
<td valign="top" colspan="3" style="height: 25px; width: 100%" class="style5"><?php include_once('includes/footer.php' ?>
&nbsp;</td>
</tr>
</table>
</body>
</html>
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
اینم فایلXML
<?xml version="1.0" encoding="utf-8"?>
<mosinstall type="template" version="4.6.1p">
<name>Neystan Rayaneh Co</name>
<creationDate>06/03/2007</creationDate>
<author>Bistoon.net</author>
<copyright>Neystan</copyright>
<authorEmail>info@bistoon.net</authorEmail>
<authorUrl>[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
<version>1.1</version>
<description>official Template For Neystan Rayaneh</description>
<files>
<filename>index.php</filename>
<filename>template_thumbnail.png</filename>
<filename>images/014_02.jpg</filename>
<filename>images/014_03.jpg</filename>
<filename>images/Logo.jpg</filename>
<filename>images/PathWay-Left.jpg</filename>
<filename>images/PathWay-Right.gif</filename>
<filename>images/PathWay-Mid_Small.gif</filename>
<filename>images/SpiltLine-Small.jpg</filename>
<filename>css/template_css.css</filename>
</files>
</mosinstall>
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
توی فایل index.php به جای این کد:
از این کد استفاده کن:کد:<?php echo $mosConfig_live_site;?>/templates/Neystan Ryaneh Co
برای css هم از این کد استفاده کن:کد:<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>
که البته مسیر و اسم فایل css هم میتونه متغیر باشه.کد:<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" />
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
از همه دوستان ممنونم
بالاخره درست شد.
فکر کنم دیگه کم کم دارم به جمع شما میپیوندم :![]()
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
سلام
یه پیشنهاد دیگه :
هیچوقت در نام گذاری فایل و فولدر از Space استفاده نکنید چون ممکنه مشکل ساز بشه . همچنین از حروف بزرگ ...
اگر خواستید نامی رو از هم جدا کنید از Underline استفاده کنید مثلا : neystan_rayaneh_co
یا علی
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
ممنونم از همکاری تون دوستان
تمپلیت من درست شد و بدون مشکل هم نصب شد . بازهم از همه ممنونم :-*
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
علاقه مندی ها (Bookmarks)