سلام ، آیا این بازدید اول شماست ؟ یا
نمایش نتایج: از شماره 1 تا 10 , از مجموع 10

موضوع: جابجایی مکان تاریخ برای هر پست

Hybrid View

پست قبلی پست قبلی   پست بعدی پست بعدی
  1. #1

    تاریخ عضویت
    Dec 2009
    نوشته ها
    6
    تشکر
    0
    تشکر شده 0 بار در 0 ارسال

    جابجایی مکان تاریخ برای هر پست

    با سلام
    من می خواستم جای تاریخی که برای هر پست می آید را عوض کنم! یعنی به طور معمول اول تیتر هست و پایین آن تاریخ . حالا من میخواهم اول تاریخ باشد و دو نقطه و بعد از آن تیتر قرار بگیرد.
    می دونم که باید قالب را دستکاری کنم ، اما کجای قالب و به چه صورت باید بنویسم؟
    و در ضمن من article/default.php را هم دستکاری کردم ، اما درست نشد.
    قالب سایت : yoo-phoenix البته فارسی سازی شده است .
    دوستان خواهش میکنم راهنمایی کنید و این برای من خیلی مهم است. اگر دوستانی باشند که این را درست کنند و یک مرد تغییری در آرشیو بدهند ، بابت این کار هزینه درافت خواهند کرد
    منتظر پاسخ دوستان هستم

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  2. # ADS
    تبلیغات در جوملا فارسی
    تاریخ عضویت
    Always
    نوشته ها
    Many
     

  3. #2
    Admin
    تاریخ عضویت
    Dec 2005
    محل سکونت
    U.A.E
    نوشته ها
    13,222
    تشکر
    318
    تشکر شده 1,338 بار در 652 ارسال

    پاسخ : جابجایی مکان تاریخ برای هر پست

    سلام

    شما اینکارو برای صفحه اول میخوایید انجام بدید یا برای صفحه ای که بعد از کلیک روی مطلب مورد نظر شد ؟
    به عنوان مثلا صفحه : [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    یا [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]

    یا علی

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  4. #3

    تاریخ عضویت
    Dec 2009
    نوشته ها
    6
    تشکر
    0
    تشکر شده 0 بار در 0 ارسال

    پاسخ : جابجایی مکان تاریخ برای هر پست

    سلام مجدد
    آیا فرقی می کنه؟
    اگر برای همه ی صفحات باشه خیلی بهتره ولی اگر نشد به همام صفحه ی اول هم راضی مشیم
    با تشکر ار شما بابت رسیدگی به این موضوع

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  5. #4
    Admin
    تاریخ عضویت
    Dec 2005
    محل سکونت
    U.A.E
    نوشته ها
    13,222
    تشکر
    318
    تشکر شده 1,338 بار در 652 ارسال

    پاسخ : جابجایی مکان تاریخ برای هر پست

    سلام

    ببینید برای نمایش تاریخ درج مطلب از
    کد:
    echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2'));
    باید استفاده کنید
    برای مثال کد زیر را در مسیر زیر قرار بدید( فرض میکنم نام قالب شما mambolearn است )
    templates/mambolearn/html/com_content/frontpage/default_item.php

    کد:
    <?php
    	defined('_JEXEC') or die('Restricted access');
    	$canEdit	= ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));
    ?>
    <?php if ($this->item->state == 0) : ?><div class="system-unpublished"><?php endif; ?>
    <?php if ($canEdit || $this->item->params->get('show_title') || $this->item->params->get('show_pdf_icon') || $this->item->params->get('show_print_icon') || $this->item->params->get('show_email_icon')) : ?>
    <table class="contentpaneopen<?php echo $this->item->params->get( 'pageclass_sfx' ); ?>">
    <tr><?php if ($this->item->params->get('show_create_date')) :
    				echo '<span class="createdate">';
    				echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2'));
    				if ($this->item->params->get('show_url') && $this->item->urls) : echo " | "; endif;
    				echo '</span>';
    			endif; ?>
    	<?php if ($this->item->params->get('show_title')) : ?>
    	<td class="contentheading<?php echo $this->item->params->get( 'pageclass_sfx' ); ?>" width="100%">
    		<?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
    		<h2><a href="<?php echo $this->item->readmore_link; ?>" class="contentpagetitle<?php echo $this->item->params->get( 'pageclass_sfx' ); ?>">
    			<?php echo $this->item->title; ?></a></h2>
    		<?php else : ?>
    			<h2><?php echo $this->escape($this->item->title); ?></h2>
    		<?php endif; ?>
    	</td>
    	<?php endif; ?>
    
    	<?php if ($this->item->params->get('show_pdf_icon')) : ?>
    	<td align="right" width="100%" class="buttonheading">
    	<?php echo JHTML::_('icon.pdf', $this->item, $this->item->params, $this->access); ?>
    	</td>
    	<?php endif; ?>
    
    	<?php if ( $this->item->params->get( 'show_print_icon' )) : ?>
    	<td align="right" width="100%" class="buttonheading">
    	<?php echo JHTML::_('icon.print_popup', $this->item, $this->item->params, $this->access); ?>
    	</td>
    	<?php endif; ?>
    
    	<?php if ($this->item->params->get('show_email_icon')) : ?>
    	<td align="right" width="100%" class="buttonheading">
    	<?php echo JHTML::_('icon.email', $this->item, $this->item->params, $this->access); ?>
    	</td>
    	<?php endif; ?>
    	<?php if ($canEdit) : ?>
    	<td>
    		<?php echo JHTML::_('icon.edit', $this->item, $this->item->params, $this->access); ?>
    	</td>
    	<?php endif; ?>
    </tr>
    </table>
    <?php endif; ?>
    <?php if (!$this->item->params->get('show_intro')) :
    	echo $this->item->event->afterDisplayTitle;
    endif; ?>
    <?php echo $this->item->event->beforeDisplayContent; ?>
    <table class="contentpaneopen<?php echo $this->item->params->get( 'pageclass_sfx' ); ?>">
    <?php if (($this->item->params->get('show_author')) && ($this->item->author != "") || ($this->item->params->get('show_create_date')) || ($this->item->params->get('show_url') && $this->item->urls) || ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) || ($this->item->params->get('show_category') && $this->item->catid)) : ?>
    <tr>
    	<td width="70%" valign="top" colspan="2" class="heading_content">
    		<?php
    			if ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) :
    				echo '<span class="small">';
    				if ($this->item->params->get('link_section')): echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->item->sectionid)).'">'; endif;
    				echo $this->item->section;
    				if ($this->item->params->get('link_section')): echo '</a>'; endif;
    				if ($this->item->params->get('show_category')) : echo " | "; endif;
    				echo '</span>';
    			endif;
    			
    			if ($this->item->params->get('show_category') && $this->item->catid) :
    				echo '<span class="small">';
    				if ($this->item->params->get('link_category')) : echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">'; endif;
    				echo $this->item->category;
    				if ($this->item->params->get('link_category')) : echo '</a>'; endif;
    				if (($this->item->params->get('show_author')) && ($this->item->author != "")) : echo ' | '; endif;
    				echo '</span>';
    			endif;
    			
    			if (($this->item->params->get('show_author')) && ($this->item->author != "")) :
    				echo '<span class="small">';
    				echo JText::_(($this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author) );
    				if ($this->item->params->get('show_create_date')) : echo ' | '; endif;
    				echo '</span>';
    			endif;
    			
    			
    			
    			if ($this->item->params->get('show_url') && $this->item->urls) :
    				echo '<span class="small">';
    				echo '<a href="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید] . $this->item->urls . '" target="_blank">' . $this->item->urls . '</a>';
    				echo '</span>';
    			endif;
    		?>
    	</td>
    </tr>
    <?php endif; ?>
    
    <tr>
    <td valign="top" colspan="2" class="main_article">
    <?php if (isset ($this->item->toc)) : ?>
    	<?php echo $this->item->toc; ?>
    <?php endif; ?>
    <?php echo $this->item->text; ?>
    </td>
    </tr>
    
    <?php if ( intval($this->item->modified) != 0 && $this->item->params->get('show_modify_date')) : ?>
    <tr>
    	<td colspan="2" class="modifydate">
    		<?php echo JText::sprintf('LAST_UPDATED2', JHTML::_('date', $this->item->modified, JText::_('DATE_FORMAT_LC2'))); ?>
    	</td>
    </tr>
    <?php endif; ?>
    
    <?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?>
    <tr>
    	<td colspan="2">
    		<a href="<?php echo $this->item->readmore_link; ?>" class="readon<?php echo $this->item->params->get('pageclass_sfx'); ?>">
    			<?php if ($this->item->readmore_register) :
    				echo JText::_('Register to read more...');
    			elseif ($readmore = $this->item->params->get('readmore')) :
    				echo $readmore;
    			else :
    				echo JText::sprintf('Read more...');
    			endif; ?></a>
    	</td>
    </tr>
    <?php endif; ?>
    
    </table>
    <?php if ($this->item->state == 0) : ?>
    </div>
    <?php endif; ?>
    <?php /*?><span class="article_separator"> </span>
    <?php */?><?php echo $this->item->event->afterDisplayContent; ?>
    در کد بالا تاریخ بالای تیتر مطالب قرار میگیره


    یا علی

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  6. #5

    تاریخ عضویت
    Dec 2009
    نوشته ها
    6
    تشکر
    0
    تشکر شده 0 بار در 0 ارسال

    پاسخ : جابجایی مکان تاریخ برای هر پست

    با سلام
    مرسی از پاسخ شما. من این کد را جایگزین کردم ، اما نتیجه دلخواه را کسب نکردم
    اگر امکان دارد روی کد زیر کار کنید :
    کد:
    <?php
    /**
    * @package  yoo_phoenix Template
    * @version  1.5.2 2009-07-02 16:34:50
    * @author  YOOtheme [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    * @copyright Copyright (C) 2007 - 2009 YOOtheme GmbH
    */
    
    // no direct access
    defined('_JEXEC') or die('Restricted access');
    
    $canEdit	= ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));
    ?>
    
    <div class="item <?php if ($this->item->state == 0) echo 'unpublished' ?>">
    	<div class="item-bg">
    	
    		<?php if ($canEdit || $this->item->params->get('show_title') || $this->item->params->get('show_pdf_icon') || $this->item->params->get('show_print_icon') || $this->item->params->get('show_email_icon')) : ?>
    		<div class="headline">
    		
    			<?php if ($this->item->params->get('show_title')) : ?>
    			<h1 class="title">
    				<?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
    					<a href="<?php echo $this->item->readmore_link; ?>"><?php echo $this->item->title; ?></a>
    				<?php else : ?>
    					<?php echo $this->escape($this->item->title); ?>
    				<?php endif; ?>
    			</h1>
    			<?php endif; ?>
    		
    			<?php if ($canEdit) : ?>
    			<span class="icon edit">
    				<?php echo JHTML::_('icon.edit', $this->item, $this->item->params, $this->access); ?>
    			</span>
    			<?php endif; ?>
    		
    			<?php if ($this->item->params->get('show_email_icon')) : ?>
    			<span class="icon email">
    				<?php echo JHTML::_('icon.email', $this->item, $this->item->params, $this->access); ?>
    			</span>
    			<?php endif; ?>
    		
    			<?php if ( $this->item->params->get( 'show_print_icon' )) : ?>
    			<span class="icon print">
    				<?php echo JHTML::_('icon.print_popup', $this->item, $this->item->params, $this->access); ?>
    			</span>
    			<?php endif; ?>
    		
    			<?php if ($this->item->params->get('show_pdf_icon')) : ?>
    			<span class="icon pdf">
    				<?php echo JHTML::_('icon.pdf', $this->item, $this->item->params, $this->access); ?>
    			</span>
    			<?php endif; ?>
    			
    		</div>
    		<?php endif; ?>
    	
    		<?php if (!$this->item->params->get('show_intro')) :
    			echo $this->item->event->afterDisplayTitle;
    		endif; ?>
    		
    		<?php echo $this->item->event->beforeDisplayContent; ?>
    	
    		<?php if ($this->params->get('show_create_date') ||	($this->params->get('show_author') && $this->article->author != "")) : ?>
    		<p class="articleinfo">
    		
    			<?php if (($this->item->params->get('show_author')) && ($this->item->author != "")) : ?>
    			<span class="author">
    				<?php JText::printf( 'Written by', ($this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author) ); ?>
    			</span>
    			<?php endif; ?>
    		
    			<?php if (($this->item->params->get('show_author')) && ($this->item->author != "") && $this->item->params->get('show_create_date')) echo '|'; ?>
    		
    			<?php if ($this->item->params->get('show_create_date')) : ?>
    			<span class="created">
    				<?php echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC3')); ?>
    			</span>
    			<?php endif; ?>		
    		
    			<?php if (($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) : ?>
    				<br /><?php echo JText::_('Posted in '); ?>
    			
    				<?php if ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) : ?>
    				<span>
    					<?php if ($this->item->params->get('link_section')) : ?>
    						<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->item->sectionid)).'">'; ?>
    					<?php endif; ?>
    					<?php echo $this->item->section; ?>
    					<?php if ($this->item->params->get('link_section')) : ?>
    						<?php echo '</a>'; ?>
    					<?php endif; ?>
    						<?php if ($this->item->params->get('show_category')) : ?>
    						<?php echo ' - '; ?>
    					<?php endif; ?>
    				</span>
    				<?php endif; ?>
    				
    				<?php if ($this->item->params->get('show_category') && $this->item->catid) : ?>
    				<span>
    					<?php if ($this->item->params->get('link_category')) : ?>
    						<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">'; ?>
    					<?php endif; ?>
    					<?php echo $this->item->category; ?>
    					<?php if ($this->item->params->get('link_category')) : ?>
    						<?php echo '</a>'; ?>
    					<?php endif; ?>
    				</span>
    				<?php endif; ?>
    	
    			<?php endif; ?>
    
    		</p>
    		<?php endif; ?>
    	
    		<?php if (isset ($this->item->toc)) : ?>
    			<?php echo $this->item->toc; ?>
    		<?php endif; ?>
    		
    		<?php echo $this->item->text; ?>
    	
    		<?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?>
    		<p class="readmore">
    			<a href="<?php echo $this->item->readmore_link; ?>" class="readmore">
    				<?php if ($this->item->readmore_register) :
    					echo JText::_('Register to read more...');
    				elseif ($readmore = $this->item->params->get('readmore')) :
    					echo $readmore;
    				else :
    					echo JText::sprintf('Read more...');
    				endif; ?></a>
    		</p>
    		<?php endif; ?>
    	
    		<?php echo $this->item->event->afterDisplayContent; ?>
    
    	</div>
    </div>
    سلام
    اگر مانند این عکس بشود که خیلی خیلی ممنون

    لینک عکس :
    کد:
     [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    ** سه پست شما یکی شد

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  7. #6
    Admin
    تاریخ عضویت
    Dec 2005
    محل سکونت
    U.A.E
    نوشته ها
    13,222
    تشکر
    318
    تشکر شده 1,338 بار در 652 ارسال

    پاسخ : جابجایی مکان تاریخ برای هر پست

    سلام

    با جایگزین کردن کدی که برای شما قرار دادم چه نتیجه ای حاصل شد ؟

    آیا تاریخ به بالای تایتل منتقل نشد ؟!

    قالب yoo-phoenix را خریداری کردید ؟

    یا علی

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  8. #7

    تاریخ عضویت
    Dec 2009
    نوشته ها
    6
    تشکر
    0
    تشکر شده 0 بار در 0 ارسال

    پاسخ : جابجایی مکان تاریخ برای هر پست

    با سلام
    بعد از جایگزین کردن کد های شما به این شکل در آمد . [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
    آیا امکانش هست دقیقا مثل عکس بالا بشود؟
    قالب را نخریدم ولی فارسی سازی آن با خودم بوده است. اگر قالب فارسی را خواستید بفرمایید تا برای شما ایمیل کنم

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  9. #8
    Admin
    تاریخ عضویت
    Dec 2005
    محل سکونت
    U.A.E
    نوشته ها
    13,222
    تشکر
    318
    تشکر شده 1,338 بار در 652 ارسال

    پاسخ : جابجایی مکان تاریخ برای هر پست

    سلام

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

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

    امیدوارم این موضوع را درک کنید

    ممنون از شما

    یا علی

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  10. #9

    تاریخ عضویت
    May 2010
    نوشته ها
    28
    تشکر
    1
    تشکر شده 0 بار در 0 ارسال

    سئوال : جابجایی مکان تاریخ برای هر پست

    سلام
    در انجمن گشتم ولی جوابی واضح پیدا نکردم

    تاریخ و زمانی
    مثلا : 20 ارديبهشت 1389 ساعت 06:34
    که در زیر عنوان هر پست در صفحه اول آمده رو چگونه بیاورم زیر مطلب به جای بالای مطلب بودن .
    در این فایل content.html که قسمت کامپوننت ها هستم رفتم و هر چی تغییر دادم درست نشد . میشه لطف کنید و راهنمایی کنید که چجوری تاریخ رو بیارم پایین مطالب هرپست نه بالا .
    بسیار ممنون

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


  11. #10
    Admin
    تاریخ عضویت
    Dec 2005
    محل سکونت
    U.A.E
    نوشته ها
    13,222
    تشکر
    318
    تشکر شده 1,338 بار در 652 ارسال

    پاسخ : جابجایی مکان تاریخ برای هر پست

    [quote author=فیروزمندان link=topic=22668.msg118863#msg118863 date=1259876453]
    سلام

    ببینید برای نمایش تاریخ درج مطلب از
    کد:
    echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2'));
    باید استفاده کنید
    برای مثال کد زیر را در مسیر زیر قرار بدید( فرض میکنم نام قالب شما mambolearn است )
    templates/mambolearn/html/com_content/frontpage/default_item.php

    کد:
    <?php
    	defined('_JEXEC') or die('Restricted access');
    	$canEdit	= ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));
    ?>
    <?php if ($this->item->state == 0) : ?><div class="system-unpublished"><?php endif; ?>
    <?php if ($canEdit || $this->item->params->get('show_title') || $this->item->params->get('show_pdf_icon') || $this->item->params->get('show_print_icon') || $this->item->params->get('show_email_icon')) : ?>
    <table class="contentpaneopen<?php echo $this->item->params->get( 'pageclass_sfx' ); ?>">
    <tr><?php if ($this->item->params->get('show_create_date')) :
    				echo '<span class="createdate">';
    				echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2'));
    				if ($this->item->params->get('show_url') && $this->item->urls) : echo " | "; endif;
    				echo '</span>';
    			endif; ?>
    	<?php if ($this->item->params->get('show_title')) : ?>
    	<td class="contentheading<?php echo $this->item->params->get( 'pageclass_sfx' ); ?>" width="100%">
    		<?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
    		<h2><a href="<?php echo $this->item->readmore_link; ?>" class="contentpagetitle<?php echo $this->item->params->get( 'pageclass_sfx' ); ?>">
    			<?php echo $this->item->title; ?></a></h2>
    		<?php else : ?>
    			<h2><?php echo $this->escape($this->item->title); ?></h2>
    		<?php endif; ?>
    	</td>
    	<?php endif; ?>
    
    	<?php if ($this->item->params->get('show_pdf_icon')) : ?>
    	<td align="right" width="100%" class="buttonheading">
    	<?php echo JHTML::_('icon.pdf', $this->item, $this->item->params, $this->access); ?>
    	</td>
    	<?php endif; ?>
    
    	<?php if ( $this->item->params->get( 'show_print_icon' )) : ?>
    	<td align="right" width="100%" class="buttonheading">
    	<?php echo JHTML::_('icon.print_popup', $this->item, $this->item->params, $this->access); ?>
    	</td>
    	<?php endif; ?>
    
    	<?php if ($this->item->params->get('show_email_icon')) : ?>
    	<td align="right" width="100%" class="buttonheading">
    	<?php echo JHTML::_('icon.email', $this->item, $this->item->params, $this->access); ?>
    	</td>
    	<?php endif; ?>
    	<?php if ($canEdit) : ?>
    	<td>
    		<?php echo JHTML::_('icon.edit', $this->item, $this->item->params, $this->access); ?>
    	</td>
    	<?php endif; ?>
    </tr>
    </table>
    <?php endif; ?>
    <?php if (!$this->item->params->get('show_intro')) :
    	echo $this->item->event->afterDisplayTitle;
    endif; ?>
    <?php echo $this->item->event->beforeDisplayContent; ?>
    <table class="contentpaneopen<?php echo $this->item->params->get( 'pageclass_sfx' ); ?>">
    <?php if (($this->item->params->get('show_author')) && ($this->item->author != "") || ($this->item->params->get('show_create_date')) || ($this->item->params->get('show_url') && $this->item->urls) || ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) || ($this->item->params->get('show_category') && $this->item->catid)) : ?>
    <tr>
    	<td width="70%" valign="top" colspan="2" class="heading_content">
    		<?php
    			if ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) :
    				echo '<span class="small">';
    				if ($this->item->params->get('link_section')): echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->item->sectionid)).'">'; endif;
    				echo $this->item->section;
    				if ($this->item->params->get('link_section')): echo '</a>'; endif;
    				if ($this->item->params->get('show_category')) : echo " | "; endif;
    				echo '</span>';
    			endif;
    			
    			if ($this->item->params->get('show_category') && $this->item->catid) :
    				echo '<span class="small">';
    				if ($this->item->params->get('link_category')) : echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">'; endif;
    				echo $this->item->category;
    				if ($this->item->params->get('link_category')) : echo '</a>'; endif;
    				if (($this->item->params->get('show_author')) && ($this->item->author != "")) : echo ' | '; endif;
    				echo '</span>';
    			endif;
    			
    			if (($this->item->params->get('show_author')) && ($this->item->author != "")) :
    				echo '<span class="small">';
    				echo JText::_(($this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author) );
    				if ($this->item->params->get('show_create_date')) : echo ' | '; endif;
    				echo '</span>';
    			endif;
    			
    			
    			
    			if ($this->item->params->get('show_url') && $this->item->urls) :
    				echo '<span class="small">';
    				echo '<a href="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید] . $this->item->urls . '" target="_blank">' . $this->item->urls . '</a>';
    				echo '</span>';
    			endif;
    		?>
    	</td>
    </tr>
    <?php endif; ?>
    
    <tr>
    <td valign="top" colspan="2" class="main_article">
    <?php if (isset ($this->item->toc)) : ?>
    	<?php echo $this->item->toc; ?>
    <?php endif; ?>
    <?php echo $this->item->text; ?>
    </td>
    </tr>
    
    <?php if ( intval($this->item->modified) != 0 && $this->item->params->get('show_modify_date')) : ?>
    <tr>
    	<td colspan="2" class="modifydate">
    		<?php echo JText::sprintf('LAST_UPDATED2', JHTML::_('date', $this->item->modified, JText::_('DATE_FORMAT_LC2'))); ?>
    	</td>
    </tr>
    <?php endif; ?>
    
    <?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?>
    <tr>
    	<td colspan="2">
    		<a href="<?php echo $this->item->readmore_link; ?>" class="readon<?php echo $this->item->params->get('pageclass_sfx'); ?>">
    			<?php if ($this->item->readmore_register) :
    				echo JText::_('Register to read more...');
    			elseif ($readmore = $this->item->params->get('readmore')) :
    				echo $readmore;
    			else :
    				echo JText::sprintf('Read more...');
    			endif; ?></a>
    	</td>
    </tr>
    <?php endif; ?>
    
    </table>
    <?php if ($this->item->state == 0) : ?>
    </div>
    <?php endif; ?>
    <?php /*?><span class="article_separator"> </span>
    <?php */?><?php echo $this->item->event->afterDisplayContent; ?>
    در کد بالا تاریخ بالای تیتر مطالب قرار میگیره


    یا علی
    [/quote]

    با مطالعه مطلب بالا مشکل شما حل میشه

    یا علی

    جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.


موضوعات مشابه

  1. عدم توانایی دربرقراری ارتباط با دیتا بیس
    توسط tadbir در انجمن نصب ، ارتقا و تبدیل SMF
    پاسخ ها: 4
    آخرين نوشته: 02-03-2010, 07:12 AM
  2. راهنمایی در نصب smf
    توسط masi61 در انجمن نصب ، ارتقا و تبدیل SMF
    پاسخ ها: 2
    آخرين نوشته: 01-30-2010, 06:07 AM
  3. درخواست راهنمایی
    توسط persepolisfan در انجمن مدیریت مامبو فارسی
    پاسخ ها: 4
    آخرين نوشته: 12-09-2009, 11:02 PM

علاقه مندی ها (Bookmarks)

علاقه مندی ها (Bookmarks)

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •