ติดต่อลงโฆษณา [email protected]

ผู้เขียน หัวข้อ: ต้องแก้ตรงใหนครับ (มือซิง)  (อ่าน 3132 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

bb

  • บุคคลทั่วไป


อยากได้แบบกดคำว่าหน้าแรกแล้วไปโผล่หน้าเวปของผมน่ะครับ
สงสารคนความรู้น้อยช่วยตอบหน่อยครับ ขอบคุณครับ

ออฟไลน์ TodRacing

  • ความรู้ผมมันน้อยทำได้เท่านี้ก็บุญแล้วอ่ะคับ
  • Full Member
  • ***
  • กระทู้: 215
  • เพศ: ชาย
  • - www.pickupclub.net -
    • ดูรายละเอียด
    • www.pickupclub.net
Re: ต้องแก้ตรงใหนครับ (มือซิง)
« ตอบ #1 เมื่อ: 21/04/06, 19:12:19 »
เข้าไป แก้ ใน index.template.php นะครับ

หาตรง

โค้ด: [เลือก]

// Work out where we currently are.
$current_action = 'home';


แก้ เป็น

โค้ด: [เลือก]

// Work out where we currently are.
$current_action = 'webboard';


แล้วหา ตรง    // Show the start of the tab section.  อ่ะคับ

แล้ว ลบ อันนี้ ออก

โค้ด: [เลือก]

// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



แล้ว เพิ่มอันนี้ เข้าไป



โค้ด: [เลือก]

// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="ตรงนี้แก้เป็น part ที่ต้องการนะครับ">หน้าแรก</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Show the [webboard] button.
echo ($current_action=='webboard' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'webboard' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'webboard' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';