پارس جوم ::  انجمن های تخصصی جوملا
راهنمایی - نسخه‌ی قابل چاپ

+- پارس جوم :: انجمن های تخصصی جوملا (https://forums.parsjoom.ir)
+-- انجمن: پشتیبانی (/forum-70.html)
+--- انجمن: مباحث و مشکلات عمومی (/forum-33.html)
+--- موضوع: راهنمایی (/thread-11017.html)



راهنمایی - reza_101010 - ۱۵-۱-۱۳۹۲ ۰۵:۵۱ صبح

سلام بچه ها خسته نباشید

سال نوتون مبارک
من یه قالب نوشتنم اما آخرش به مشکل برخوردم نمی دونم باید چیکار کنم لینک دموی زیر رو ببین
دیدن لینک ها برای شما امکان پذیر نیست. لطفا ثبت نام کنید یا وارد حساب خود شوید تا بتوانید لینک ها را ببینید.


آخر صفحه یه دایو گذاشتم و فلوت رو هم پاک کردم اما هرکار می کنم فاصلش با بدنه بالایی تنظیم نمی شه
می ره روش!!!
لطفا اگه کسی می دونه من رو راهنمایی کنه الان ده روز گیر این مشکلم



راهنمایی - Reza Ganji - ۱۵-۱-۱۳۹۲ ۰۶:۱۹ صبح

شما باید دایو راست و وسط (محل محتوا) و چپ رو در یک دایو ایجاد کنید و دایو فوتر را نیز در یک دایو جداگانه


راهنمایی - reza_101010 - ۱۵-۱-۱۳۹۲ ۰۳:۲۸ عصر

جناب گنجی ممنون از شما ولی این این کار را انجام دادم من کد فابل ایندکس رو می فرستم
ملاحظه بفرمایید:

کد:
<?php

header('Content-type: text/x-component');

defined( '_JEXEC' ) or die( 'Restricted access' );

JPlugin::loadLanguage( 'tpl_SG1' );

define( 'path', dirname(__FILE__) );

?>

<!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>

<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/defult.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?> font.css" type="text/css" />

</head>



<body>




<div class="main">
    <div id="main_top">
    <div id="search">
    <?php if($this->countModules('search')) : ?>
    <jdoc:include type="modules" name="search" />
<?php endif; ?>
</div>
    <div id="Ertebatat">
    <?php if($this->countModules('Ertebatat')) : ?>
    <jdoc:include type="modules" name="Ertebatat" />
<?php endif; ?>
    
</div>
</div>







<div id="top_menu">
    <?php if($this->countModules('top_menu')) : ?>
    <jdoc:include type="modules" name="top_menu" />
<?php endif; ?>
</div>



<div id="slideshow1">
    <?php if($this->countModules('slideshow1')) : ?>
    <jdoc:include type="modules" name="slideshow1" />
<?php endif; ?>
</div>

<div id="slideshow2">
    <?php if($this->countModules('slideshow2')) : ?>
    <jdoc:include type="modules" name="slideshow2" />
<?php endif; ?>
</div>

<div id="users-top">


<div id="user1">
    <?php if($this->countModules('user1')) : ?>
    <jdoc:include type="modules" name="user1"  style="table"/>
<?php endif; ?>
</div>

<div id="user2">
    <?php if($this->countModules('user2')) : ?>
    <jdoc:include type="modules" name="user2" style="table" />
<?php endif; ?>
</div>

<div id="user3">
    <?php if($this->countModules('user3')) : ?>
    <jdoc:include type="modules" name="user3" style="table" />
<?php endif; ?>
</div>

</div>



<div class="main2">
<div id="leftcol">
<div id="left">
    <?php if($this->countModules('left')) : ?>
    <jdoc:include type="modules" name="left" style="table" />
<?php endif; ?>
</div>
</div>





<div id="component">
<jdoc:include type="component" />
</div >




<div id="rightcol" >
<div id="right">
    <?php if($this->countModules('right')) : ?>
    <jdoc:include type="modules" name="right" style="table" />
<?php endif; ?>
</div>
</div>
</div>
</div>




<div  class="user-botom">
<div id="user4">
    <?php if($this->countModules('user4')) : ?>
    <jdoc:include type="modules" name="user4"  style="table"/>
<?php endif; ?>
</div>

<div id="user5">
    <?php if($this->countModules('user5')) : ?>
    <jdoc:include type="modules" name="user5" style="table" />
<?php endif; ?>
</div>

<div id="user6">
    <?php if($this->countModules('user6')) : ?>
    <jdoc:include type="modules" name="user6" style="table" />
<?php endif; ?>
</div>
</div>



</body>

</html>



راهنمایی - mahan - ۱۵-۱-۱۳۹۲ ۰۴:۱۵ عصر

درود بر شما
پیشنهاد می کنم در نوشتن کدها کمی تامل بیشتری کنید و آنها را منظم تر بنویسید تا از بروز اشکالات احتمالی جلوگیری شود.
اگر مرحله به مرحله جلو بروید و هر مرحله را تست کنید قطعا سریعتر به نتیجه می رسید.