أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .

عمل توافق لخاصية مسارات التنقل في الادرس بار


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif عمل توافق لخاصية مسارات التنقل في الادرس بار
  11-01-2014 07:23 مساءً  
Soliman
معلومات الكاتب
المشاركة الأصلية كتبت بواسطة: Dragon_for_ever لكنها تستغرق وقتا طويلا لتظهر بشكل تلقائي



اما الطريقة التي طلبت فانها تظهر نتائج فورية


لم الاحظ اي وقت طويل لظهورها

عموماً اليك طريقة التعديل التي طلبتها لتنسيق مسارات التنقل باستخدام ترميز المحتوى microdata
حرر قالب : address_bar_part1

واستبدل محتواه كاملاً بـ :



CODE


<div class="address_bar" align="right">
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="index.php" itemprop="url">
<span itemprop="title">
{$_CONF['info_row']['title']}
</span>
</a> &rsaquo;


حرر قالب : address_bar_part2

واستبدل محتواه كاملاً بـ :



CODE

	</div>
	</div>
	




ثم حرر قالب : subject_top

وابحث في بدايته عن:



CODE
{template}address_bar_part1{/template}
	    <a href="index.php?page=forum&amp;show=1&amp;id={$sec_main_id}">
	    {$sec_main_title}
	    </a>
	{$_CONF['info_row']['adress_bar_separate']}   
	<a href="f{$section_info['id']}{$password}">
	{$section_info['title']}
	</a>
	{$_CONF['info_row']['adress_bar_separate']}
	
	<span dir="{$_CONF['info_row']['content_dir']}">
	{$Info['prefix_subject']}
	</span>
	<a href="t{$subject_id}">
	{$subject_title}</a>
	{template}address_bar_part2{/template}
	
	
	




واستبدله بـ :

CODE
{template}address_bar_part1{/template}
	<div itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
	    <a href="index.php?page=forum&amp;show=1&amp;id={$sec_main_id}" itemprop="url">
	    <span itemprop="title">{$sec_main_title}</span>
	    </a> &rsaquo;
	</div>
	<div itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
	<a href="f{$section_info['id']}{$password}" itemprop="url">
	<span itemprop="title">{$section_info['title']}</span>
	</a> &rsaquo;
	</div>
	<div itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
	<span dir="{$_CONF['info_row']['content_dir']}">
	{$Info['prefix_subject']}
	</span>
	<a href="t{$subject_id}" itemprop="url">
	<span itemprop="child" itemprop="title">{$subject_title}</span></a>
	</div>
	{template}address_bar_part2{/template}




ثم حرر قالب : forum

وابحث في بدايته عن:

CODE
{template}address_bar_part1{/template}
	{if {$section_parent} == '0'}
	    <a href="f{$sec_address_id}">
	     {$sec_address_title}
	    </a>
	{$_CONF['info_row']['adress_bar_separate']}
	{else}
	    <a href="index.php?page=forum&amp;show=1&amp;id={$sec_main_id}">
	    {$sec_main_title}
	    </a>
	{/if}
	{if !{$section_parent} == '0'}
	{$_CONF['info_row']['adress_bar_separate']}
	    <a href="index.php?page=forum&amp;show=1&amp;id={$section_info['parent']}">
	     {$sec_address_title}
	    </a>
	{$_CONF['info_row']['adress_bar_separate']}
	{/if}
	
	    <a href="index.php?page=forum&amp;show=1&amp;id={$SECTION_ID}">
	     {$section_info['title']}
	    </a>
	{template}address_bar_part2{/template}
	




واستبدله بـ:



CODE
{template}address_bar_part1{/template}
	{if {$section_parent} == '0'}
	<div itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
	    <a href="f{$sec_address_id}" itemprop="url">
	     <span itemprop="title">{$sec_address_title}</span>
	    </a>&rsaquo;
	</div>
	{else}
	<div itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
	    <a href="index.php?page=forum&amp;show=1&amp;id={$sec_main_id}" itemprop="url">
	    <span itemprop="title">{$sec_main_title}</span>
	    </a>
	  </div>
	{/if}
	{if !{$section_parent} == '0'}
	&rsaquo;
	<div itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
	    <a href="index.php?page=forum&amp;show=1&amp;id={$section_info['parent']}" itemprop="url">
	     <span itemprop="title">{$sec_address_title}</span>
	    </a>
	&rsaquo;
	</div>
	{/if}
	<div itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
	    <a href="index.php?page=forum&amp;show=1&amp;id={$SECTION_ID}" itemprop="url">
	     <span itemprop="title">{$section_info['title']}</span>
	    </a>
	</div>
	{template}address_bar_part2{/template}







انتهى .........



ويرجى اضافة رابط منتداك في بياناتك الشخصية بدلاً من رابط موقعك



بالتوفيق


تم تحرير المشاركة بواسطة :Soliman بتاريخ:11-01-2014 11:04 مساءً



الساعة الآن 03:53 PM