زمان کنونی: ۱۱-۲-۱۴۰۳, ۰۳:۱۲ صبح درود مهمان گرامی! (ورودثبت نام)


ارسال پاسخ 
 
امتیاز موضوع:
  • 0 رأی - میانگین امتیازات: 0
  • 1
  • 2
  • 3
  • 4
  • 5
مهم: سوال در مورد طراحی قالب
۴-۲-۱۳۹۳, ۰۲:۳۳ صبح
ارسال: #1
Question مهم: سوال در مورد طراحی قالب
سلام دوستان من این موقعیت هایی که در عکس زیر نشان دادم ترتیبش در templateDetails.xml و index.php چطوره ؟

[تصویر:  Untitled-13D1Mp.jpg]

این موقعیت هایی که من قرار دادم ولی جواب نداد:
<positions>
        <
position>heder</position>
        <
position>menu</position>
        <
position>time</position>
        <
position>left</position>
        <
position>scrol</position>
        <
position>slider</position>
        <
position>user1</position>
        <
position>user2</position>        
        <
position>right</position>
        <
position>footer</position>                
    </
positions

<body>
    <
div id="main">
    
    <?
php if($this->countModules('heder')): ?>   
        <div id="heder">
        <?php endif; ?>
         </div><!--End heder-->
         
           <?php if($this->countModules('menu')): ?>        
        <div id="menu">
            <?php endif; ?>
        <?php if($this->countModules('time')): ?>
            <div id="time">
            <jdoc:include type="modules" name="time" style="xhtml" />
            </div><!--End time-->
            </div><!--End menu-->
            <?php endif; ?>
        
        <div id="center">
        
        <?php if($this->countModules('left')): ?>  
            <div id="left">
              <jdoc:include type="modules" name="left" style="xhtml" />              
            </div><!--End left--> 
            <?php endif; ?>  
            
        <?php if($this->countModules('scrol')): ?>          
        <div id="slider">
          <jdoc:include type="modules" name="scrol" style="xhtml" />              
        </div><!--End scrol--> 
        <?php endif; ?>                  
                
           <?php if($this->countModules('slider')): ?>          
        <div id="slider">
          <jdoc:include type="modules" name="slider" style="xhtml" />              
        </div><!--End slider--> 
        <?php endif; ?>
        
           <?php if($this->countModules('contents')): ?>
            <div id="contents">
              <jdoc:include type="component" />              
            </div><!--End contents-->
            <?php endif; ?>
            
           <?php if($this->countModules('user1 + user2')): ?>  
        <div id="top-users">
        <?php endif; ?>  
              
               <?php if($this->countModules('user1')): ?>          
            <div id="user1">
              <jdoc:include type="modules" name="user1" style="xhtml" />              
            </div><!--End user1--> 
            <?php endif; ?>    
                                   
               <?php if($this->countModules('user2')): ?>              
            <div id="user2">
              <jdoc:include type="modules" name="user2" style="xhtml" />              
            </div><!--End user2-->               
        </div><!--End top-users-->  
        <?php endif; ?>  
               
           <?php if($this->countModules('right')): ?>              
            <div id="right">
              <jdoc:include type="modules" name="right" style="xhtml" />              
            </div><!--End right-->                                 
            <?php endif; ?>
                                   
        </div><!--End center-->  
        
        <div id="footer">
        
        </div>
    
    </div><!--End main-->
</body> 
یافتن تمامی ارسال‌های این کاربر
نقل قول این ارسال در یک پاسخ بازگشت به بالا
ارسال پاسخ 


پرش به انجمن:


کاربرانِ درحال بازدید از این موضوع: 1 مهمان