สอบถามเครื่องมือแก้ไขโพสต์ถูกซ่อนเป็น ... ไม่แสดงออกมาต้องทำอย่างไร [phpBB]

พูดคุย phpBB3, SMF ปัญหา การติดตั้ง ปัญหา การลง Mod การแก้ไข หน้าตาบอร์ด การใช้งาน Joomla 1.5, 1.6, 1.7, 2.5 ,3.x รวมถึง Joomla 4 การใช้งาน wordpress และ CMS อื่นๆ
การตั้งคำถาม ควรระบุรุ่นที่ใช้ ในการตั้งคำตามด้วย นะ เช่น SMF 1.1.4 หรือ SMF2.0, OpenERP, Odoo และ รายละเอียดของ server OS, php เวอร์ชั่นไหน ฐานข้อมูลอะไร

Moderator: mindphp

กฎการใช้บอร์ด
คำถามหมวดนี้ ควรระบุ รายละเอียดของ Server OS, เวอร์ชั่น ของ PHP, CMS ที่ท่านใช้
รวมถึง Hosting หรือ Control Panel Hosting
ภาพประจำตัวสมาชิก
eange08
PHP VIP Members
PHP VIP Members
โพสต์: 16209
ลงทะเบียนเมื่อ: 22/12/2020 10:09 am

สอบถามเครื่องมือแก้ไขโพสต์ถูกซ่อนเป็น ... ไม่แสดงออกมาต้องทำอย่างไร [phpBB]

โพสต์ที่ยังไม่ได้อ่าน โดย eange08 »

สอบถามเครื่องมือโพสต์ถูกซ่อนเป็น ... ไม่แสดงออกมา และกดตรง ... ก็ไม่แสดงปุ่มแก้ไข, ลบ และตัวอื่นๆ ที่เกี่ยวกับโพสต์นั้น จะไม่ให้ซ่อนให้อยู่ใน ... จะต้องทำอย่างไรค่ะ
(phpBB 3.3.5)
Selection_896 (1).png
Selection_896 (1).png (18.25 KiB) Viewed 424 times
  • ตอนที่กดที่ ... มี error ออกมาแบบนี้นะคะ

    โค้ด: เลือกทั้งหมด

    Uncaught TypeError: Cannot read properties of undefined (reading 'parent')
        at HTMLAnchorElement.phpbb.toggleDropdown (core.js?assets_version=685:1391:20)
        at HTMLAnchorElement.dispatch (jquery.min.js:2:43090)
        at HTMLAnchorElement.v.handle (jquery.min.js:2:41074)
    ปัญหาการใช้ phpBB3, SMF, Joomla, Wordpress, CMS, CRM-1.png
    ปัญหาการใช้ phpBB3, SMF, Joomla, Wordpress, CMS, CRM-1.png (26.19 KiB) Viewed 424 times
  • อยากให้แสดงออกมาแบบนี้นะคะ
    Selection_898.png
    Selection_898.png (19.12 KiB) Viewed 424 times
ภาพประจำตัวสมาชิก
mindphp
ผู้ดูแลระบบ MindPHP
ผู้ดูแลระบบ MindPHP
โพสต์: 41251
ลงทะเบียนเมื่อ: 22/09/2008 6:18 pm
ติดต่อ:

Re: สอบถามเครื่องมือแก้ไขโพสต์ถูกซ่อนเป็น ... ไม่แสดงออกมาต้องทำอย่างไร [phpBB]

โพสต์ที่ยังไม่ได้อ่าน โดย mindphp »

ลองเช็ค selector มาที่เราอ้างถึง มี element ตามที่แจ้งใน error หรือเปล่า
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
ภาพประจำตัวสมาชิก
eange08
PHP VIP Members
PHP VIP Members
โพสต์: 16209
ลงทะเบียนเมื่อ: 22/12/2020 10:09 am

Re: สอบถามเครื่องมือแก้ไขโพสต์ถูกซ่อนเป็น ... ไม่แสดงออกมาต้องทำอย่างไร [phpBB]

โพสต์ที่ยังไม่ได้อ่าน โดย eange08 »

mindphp เขียน: 22/05/2022 9:59 pm ลองเช็ค selector มาที่เราอ้างถึง มี element ตามที่แจ้งใน error หรือเปล่า
เช็ค element แล้วไม่มีตามที่แจ้งใน error ค่ะ เบื้องต้นได้ปิดคอมเมนที่ forum_fn.js ใน template ส่วนของการซ่อนเครื่องมือแก้ไขโพสต์
ก็แสดงปุ่มต่างๆ ออกมาแล้วค่ะ

โค้ด: เลือกทั้งหมด

/**
	* Responsive link lists
	*/
	var selector = '.linklist:not(.navlinks, [data-skip-responsive]),' +
		'.postbody .post-buttons:not([data-skip-responsive])';

	$container.find(selector).each(function() {
		var $this = $(this),
			filterSkip = '.breadcrumbs, [data-skip-responsive]',
			filterLast = '.edit-icon, .quote-icon, [data-last-responsive]',
			$linksAll = $this.children(),
			$linksNotSkip = $linksAll.not(filterSkip), // All items that can potentially be hidden
			$linksFirst = $linksNotSkip.not(filterLast), // The items that will be hidden first
			$linksLast = $linksNotSkip.filter(filterLast), // The items that will be hidden last
			persistent = $this.attr('id') === 'nav-main', // Does this list already have a menu (such as quick-links)?
		ปิดส่วนนี้ -->	//html = '<li class="responsive-menu hidden"><a href="javascript:void(0);" class="js-responsive-menu-link responsive-menu-link"><i class="icon fa-bars fa-fw" aria-hidden="true"></i></a><div class="dropdown"><div class="pointer"><div class="pointer-inner" /></div><ul class="dropdown-contents" /></div></li>',
               เพิ่มเพื่อไม่ให้เกิน error -->  html = '',
Selection_941.png
Selection_941.png (22.18 KiB) Viewed 381 times
ตอบกลับโพส
  • Similar Topics
    ตอบกลับ
    แสดง
    โพสต์ล่าสุด

ผู้ใช้งานขณะนี้

สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 99