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

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

صفحه‌ها: 1 2


برداشتن باکس در قالب - razie - ۶-۳-۱۳۹۱ ۱۲:۵۶ صبح

دوستان این سایت را ببنید

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

زیر اسلایدر یک باکسی است خیلی کوچیک که می خواهم آن برداشته شود چکار کنم/


با تشکر


RE: برداشتن باکس در قالب - Reza Ganji - ۶-۳-۱۳۹۱ ۰۵:۱۸ صبح

در انتهای فایل style.css موجود در پوشه سی اس اس قالب تگ زیر را اضافه کنید.

کد:
.blog-text {
    display: none;
}



RE: برداشتن باکس در قالب - razie - ۶-۳-۱۳۹۱ ۰۲:۵۹ عصر

جناب گنجی من فقط می خواهم این گزینه در صفحه اصلی نباشد


با این کار باکسم در تمامیه صفحات غیر فعال خواهد شد

لطفا راهنمایی کنید

با تشکر


RE: برداشتن باکس در قالب - alim123 - ۶-۳-۱۳۹۱ ۰۴:۱۳ عصر

سلام .
شما اگه میخواین اون موقعیت در بعضی صفحات باشه و در بعضی نباشه باید موقعیت رو شرطی کنید تا در هر صفحه ای خواستید فعال یا غیر فعال بشه . اگه نتونستید اطلاع بدین تا براتون درستش کنم .


RE: برداشتن باکس در قالب - razie - ۶-۳-۱۳۹۱ ۰۴:۵۰ عصر

دوست عزیز سطح دسترسی برایتان ب صورت پ خ ارسال شد


RE: برداشتن باکس در قالب - alim123 - ۶-۳-۱۳۹۱ ۰۶:۰۸ عصر

دسترسی به سی پنل تون رو برام پ خ کنید تا براتون درستش کنم


RE: برداشتن باکس در قالب - razie - ۶-۳-۱۳۹۱ ۰۶:۲۶ عصر

دوست عزیز فکر نمی کنم این اشکال مرتبط با وصل شدن شما با سرور باشد

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

با تشکر


RE: برداشتن باکس در قالب - alim123 - ۶-۳-۱۳۹۱ ۰۷:۴۳ عصر

دوست گرامی برای دسترسی به فایل index.php گفتم شما اگه دوست ندارید مشکلی نیست . اموزش خاصی هم نداره باید اون موقعیت شرطی بشه همین. همون یوزر هم که دادین اشتباهه و وارد نمیشه


RE: برداشتن باکس در قالب - razie - ۶-۳-۱۳۹۱ ۰۷:۴۴ عصر

دوست عزیز

بفرمایید این هم فایل index.php


RE: برداشتن باکس در قالب - alim123 - ۶-۳-۱۳۹۱ ۰۸:۳۷ عصر

سلام تست کن ببین خوبه و مشکلی نداره
کد:
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
$siteName = $this->params->get('siteName');
class germez_web {
function isFrontPage(){
        return (JRequest::getCmd('option')=='com_content' && !JRequest::getInt('id'));
    }
}
$germez = new germez_web($this);
?>
<!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" />
<link rel="stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/style.css" />
<link rel="stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/style-menu.css" />
<link rel="stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/css/language-menu.css" />
<link rel="stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/fot-menu.css" />

</head>
<body>
<?php if(!$germez->isFrontPage()) { ?>
<center>
<!--all-site-->
<center><div class="blue-line"></div>
        <table border="0" cellpadding="0" cellspacing="0" class="top-header">
    <tr>
        <td class="english"><img src="templates/<?php echo $this->template ?>/images/en.png"></td>

            
        <td id="language"><jdoc:include type="modules" name="language-menu" style="rounded"/></td>
        <td id="online"><jdoc:include type="modules" name="online" style="rounded"/></td>
        <td id="date"><jdoc:include type="modules" name="date" style="rounded"/></td>
        
    </tr>
</table>
<div class="all-site">
<table border="0" cellpadding="0" cellspacing="0"  class="all-site" ><center>
    <tr>
        <td class="" valign="top"><center>

        <!--logo-and-language--><table border="0" cellpadding="0" cellspacing="0"  class="header" width="100%">
    <tr>
        <td valign="top">&nbsp;</td>
        
    </tr>
</table><!--menu--><table border="0" cellpadding="0" cellspacing="0" class="box-of-menu" >
    <tr>
        <td><!--menu-and-lastetnews-->
        <table border="0" cellpadding="0" cellspacing="0"  width="100%">
            <tr>
                <td id="menu" valign="top"><!--menu--><table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td class="search"><jdoc:include type="modules" name="search" style="rounded"/></td>
                        
                        <td class="menu"><jdoc:include type="modules" name="menu" style="rounded"/></td>
                    </tr>
                </table>
                </td>
            </tr>
            <tr>
                <td id="bottom-of-menu" valign="top">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>

</td>
        <td valign="top"><jdoc:include type="modules" name="date-and-time" style="rounded"/></td>
        
        <td valign="top" class="lastet-news"><jdoc:include type="modules" name="lastet-news" style="rounded"/></td>
        <td valign="top" class="icon"><table border="0" cellpadding="1" cellspacing="1"  >
    <tr>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/88b9j9lc.png"></td>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/8w5djnsk.png"></td>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/ldgidclr.png"></td>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/lqmedyej.png"></td>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/yfxj7ffi.png"></td>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/yr3f718a.png"></td>


    </tr>
</table>
        </td>
    </tr>
</table>
                
                </td>
                
            </tr>
        </table>
        </td>
    </tr>
</table><!--slider-->
<table border="0" cellpadding="0" cellspacing="0" class="slider">
    <tr>
        <td><jdoc:include type="modules" name="slider" style="rounded"/></td>
    </tr>
</table>
<div class="all-blog">
<table border="0" cellpadding="0" cellspacing="0" class="blog">
    <tr>

        <td valign="top">
        <div class="blog-text">
        <jdoc:include type="component" />
        </div>
        </td>
    </tr>
</table>
</div>
<!--box-->
<table border="0" cellpadding="0" cellspacing="0" class="box">
    <tr>
        <td  valign="top"><!--box-of-3--><table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr><?php if($this->countModules('user1')) : ?>
        <td id="user" valign="top"><jdoc:include type="modules" name="user1" style="rounded"/></td>
        <?php endif; ?>
        <?php if($this->countModules('user2')) : ?>
        <td id="user2" valign="top">        
        <jdoc:include type="modules" name="user2" style="rounded"/>
    
        </td>
        
        <?php endif; ?>
        <?php if($this->countModules('user3')) : ?>
        <td id="user3" valign="top"><jdoc:include type="modules" name="user3" style="rounded"/></td>
        <?php endif; ?>
        </tr></table></td>
    </tr>
</table><!--box-of-madule-->
<?php if($this->countModules('user4')) : ?>
<table border="0" cellpadding="0" cellspacing="0" class="box-of-madule">
    <tr>
        <td><jdoc:include type="modules" name="user4" style="rounded"/></td>
    </tr>

</table><?php endif; ?>

<!--box-of-brand-->
<?php if($this->countModules('user5')) : ?>
<table border="0" cellpadding="0" cellspacing="0" class="box-of-brand">
    <tr>
        <td><jdoc:include type="modules" name="user5" style="rounded"/></td>
    </tr>
</table><?php endif; ?>



<div class="footer" valign="top">
    <div class="copy1" valign="top">
    <br/>
    <div><img src="templates/<?php echo $this->template ?>/images/fot-line.jpg"></div>

        <div class="copy" valign="top">
            <p><font color="#000000">طراحي سايت و پشتيباني: <a href="http://www.gillasabi.com/"  target="_blank">گیلاس آبی</a>
            &nbsp;</font></p><p>
            .کپی رایت © ۱۳۹۱ طرح و ايده کلیه حقوق برای مالک آن محفوظ است
            </p><p>
            Copyright 2005-2012 Tarho Ideh Construction Co.
            </p>
        </div>
                    <table border="0" cellpadding="0" cellspacing="0"  width="980px">
                        <tr>
                            <td valign="top"><center><table border="0" cellpadding="0" cellspacing="0"  width="470px" class="fot-menu">
                                <tr>
                                <td><jdoc:include type="modules" name="fot-menu" style="rounded"/></td>
                                </tr>
                            </table></td></tr></table>

    </div></div></td></tr></table></div><div class="fot-line"></div><?php } else { ?><center>
<!--all-site-->
<center><div class="blue-line"></div>
        <table border="0" cellpadding="0" cellspacing="0" class="top-header">
    <tr>
        <td class="english"><img src="templates/<?php echo $this->template ?>/images/en.png"></td>

            
        <td id="language"><jdoc:include type="modules" name="language-menu" style="rounded"/></td>
        <td id="online"><jdoc:include type="modules" name="online" style="rounded"/></td>
        <td id="date"><jdoc:include type="modules" name="date" style="rounded"/></td>
        
    </tr>
</table>
<div class="all-site">
<table border="0" cellpadding="0" cellspacing="0"  class="all-site" ><center>
    <tr>
        <td class="" valign="top"><center>

        <!--logo-and-language--><table border="0" cellpadding="0" cellspacing="0"  class="header" width="100%">
    <tr>
        <td valign="top">&nbsp;</td>
        
    </tr>
</table><!--menu--><table border="0" cellpadding="0" cellspacing="0" class="box-of-menu" >
    <tr>
        <td><!--menu-and-lastetnews-->
        <table border="0" cellpadding="0" cellspacing="0"  width="100%">
            <tr>
                <td id="menu" valign="top"><!--menu--><table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td class="search"><jdoc:include type="modules" name="search" style="rounded"/></td>
                        
                        <td class="menu"><jdoc:include type="modules" name="menu" style="rounded"/></td>
                    </tr>
                </table>
                </td>
            </tr>
            <tr>
                <td id="bottom-of-menu" valign="top">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>

</td>
        <td valign="top"><jdoc:include type="modules" name="date-and-time" style="rounded"/></td>
        
        <td valign="top" class="lastet-news"><jdoc:include type="modules" name="lastet-news" style="rounded"/></td>
        <td valign="top" class="icon"><table border="0" cellpadding="1" cellspacing="1"  >
    <tr>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/88b9j9lc.png"></td>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/8w5djnsk.png"></td>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/ldgidclr.png"></td>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/lqmedyej.png"></td>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/yfxj7ffi.png"></td>
        <td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/yr3f718a.png"></td>


    </tr>
</table>
        </td>
    </tr>
</table>
                
                </td>
                
            </tr>
        </table>
        </td>
    </tr>
</table><!--slider-->
<table border="0" cellpadding="0" cellspacing="0" class="slider">
    <tr>
        <td><jdoc:include type="modules" name="slider" style="rounded"/></td>
    </tr>
</table>
<div class="all-blog">
<table border="0" cellpadding="0" cellspacing="0" class="blog">
    <tr>

        <td valign="top">
      
        </td>
    </tr>
</table>
</div>
<!--box-->
<table border="0" cellpadding="0" cellspacing="0" class="box">
    <tr>
        <td  valign="top"><!--box-of-3--><table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr><?php if($this->countModules('user1')) : ?>
        <td id="user" valign="top"><jdoc:include type="modules" name="user1" style="rounded"/></td>
        <?php endif; ?>
        <?php if($this->countModules('user2')) : ?>
        <td id="user2" valign="top">        
        <jdoc:include type="modules" name="user2" style="rounded"/>
    
        </td>
        
        <?php endif; ?>
        <?php if($this->countModules('user3')) : ?>
        <td id="user3" valign="top"><jdoc:include type="modules" name="user3" style="rounded"/></td>
        <?php endif; ?>
        </tr></table></td>
    </tr>
</table><!--box-of-madule-->
<?php if($this->countModules('user4')) : ?>
<table border="0" cellpadding="0" cellspacing="0" class="box-of-madule">
    <tr>
        <td><jdoc:include type="modules" name="user4" style="rounded"/></td>
    </tr>

</table><?php endif; ?>

<!--box-of-brand-->
<?php if($this->countModules('user5')) : ?>
<table border="0" cellpadding="0" cellspacing="0" class="box-of-brand">
    <tr>
        <td><jdoc:include type="modules" name="user5" style="rounded"/></td>
    </tr>
</table><?php endif; ?>



<div class="footer" valign="top">
    <div class="copy1" valign="top">
    <br/>
    <div><img src="templates/<?php echo $this->template ?>/images/fot-line.jpg"></div>

        <div class="copy" valign="top">
            <p><font color="#000000">طراحي سايت و پشتيباني: <a href="http://www.gillasabi.com/"  target="_blank">گیلاس آبی</a>
            &nbsp;</font></p><p>
            .کپی رایت © ۱۳۹۱ طرح و ايده کلیه حقوق برای مالک آن محفوظ است
            </p><p>
            Copyright 2005-2012 Tarho Ideh Construction Co.
            </p>
        </div>
                    <table border="0" cellpadding="0" cellspacing="0"  width="980px">
                        <tr>
                            <td valign="top"><center><table border="0" cellpadding="0" cellspacing="0"  width="470px" class="fot-menu">
                                <tr>
                                <td><jdoc:include type="modules" name="fot-menu" style="rounded"/></td>
                                </tr>
                            </table></td></tr></table>

    </div></div></td></tr></table></div><div class="fot-line"></div><?php } ?></body></html>

خبرشو زود بده که دارم می رم .