المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : اضافة h1 للاقسام والمواضيع باسهل الطرق



admin
11-01-2013, بتوقيت غرينيتش 05:52 PM
الطريقه المعروفه والمتبعه التعديل على قالب templateين بالاضافه الى اضافة اكواد css ...

لكن بطريقه اللي راح اشرح طريقةها بيكون التعديل على قالب template واحد فقط وبدون وضع css http://www.dzbatna.com/images/smilies/cupidarrow.gif

طبعا تؤدي نفس الغرض والافضل استخدام h1

مثال

http://www.ssdaa.com/vb/showthread.php?t=7164

لوحة تحكم المنتدى forum >>>> القوالب والاستايل styleات >>> نختار الاستايل style المطلوب ومنه نختار قالب template navbar

ابحث عن =

رمز PHP:

<code style="white-space:nowrap"> <code> <if condition="$show&#91;'forumdesc'&#93;">
<table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo&#91;title&#93;</strong> <span class="smallfont">$foruminfo&#91;description&#93;</span></td>
</tr>
</table>
<br />
</if>
</code> </code>

استبدله بالتالي =

رمز PHP:

<code style="white-space:nowrap"> <code> <if condition="$show&#91;'forumdesc'&#93; AND THIS_SCRIPT == 'forumdisplay'">
<table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername">$foruminfo&#91;title&#93;</h1>
<span class="smallfont">$foruminfo&#91;description&#93;</span></td>
</tr>



</table>
<br />
</if>

<if condition="$show&#91;'forumdesc'&#93; AND THIS_SCRIPT == 'showthread'">
<table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername">$threadinfo&#91;prefix_plain&#93;$threadinfo&#91;title&#93;</h1>
<span class="smallfont"><b>$foruminfo&#91;title&#93;</b></span>
</td>
</tr>
</table>
<br />
</if>
</code> </code>

من يريد رابط الموضوع ورابط القسم عليها يستبدلها بالتالي =

رمز PHP:

<code style="white-space:nowrap"> <code> <if condition="$show&#91;'forumdesc'&#93; AND THIS_SCRIPT == 'forumdisplay'">
<table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername"><a href="forumdisplay.php?$session&#91;sessionurl&#93;f=$foruminfo&#91; forumid&#93;">$foruminfo&#91;title&#93;</a></h1>
<span class="smallfont">$foruminfo&#91;description&#93;</span></td>
</tr>
</table>
<br />
</if>

<if condition="$show&#91;'forumdesc'&#93; AND THIS_SCRIPT == 'showthread'">
<table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername"><a href="showthread.php?$session&#91;sessionurl&#93;t=$threadid">$threadinfo&#91;prefix_plain&#93;$threadinfo&#91;title&#93;</a></h1>
<span class="smallfont"><b>$foruminfo&#91;title&#93;</b></span>
</td>
</tr>
</table>
<br />
</if>
</code> </code>


موفقين بإذن الله


الصور المصغرة المرفقة http://www.traidnt.net/vb/attachments/296284d1221778192t-q1.jpg (http://www.traidnt.net/vb/attachments/296284d1221778192-q1.jpg) http://www.traidnt.net/vb/attachments/296285d1221778192t-q2.jpg (http://www.traidnt.net/vb/attachments/296285d1221778192-q2.jpg) http://www.traidnt.net/vb/attachments/296286d1221778192t-q3.jpg (http://www.traidnt.net/vb/attachments/296286d1221778192-q3.jpg)


https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى