<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>รวมวิธีการใช้ Wordpress, Joomla, Drupal, Magento และ SEO &#187; zip</title> <atom:link href="http://killthewhat.com/tag/zip/feed/" rel="self" type="application/rss+xml" /><link>http://killthewhat.com</link> <description>Knowledge Base by howhost.com</description> <lastBuildDate>Fri, 24 Dec 2010 15:00:17 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.3</generator> <item><title>Component : attachments &#124; แนบไฟล์ไว้กับบทความได้บน joomla</title><link>http://killthewhat.com/joomla-tutorial/component-attachments-%e0%b9%81%e0%b8%99%e0%b8%9a%e0%b9%84%e0%b8%9f%e0%b8%a5%e0%b9%8c%e0%b9%84%e0%b8%a7%e0%b9%89%e0%b8%81%e0%b8%b1%e0%b8%9a%e0%b8%9a%e0%b8%97%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1/</link> <comments>http://killthewhat.com/joomla-tutorial/component-attachments-%e0%b9%81%e0%b8%99%e0%b8%9a%e0%b9%84%e0%b8%9f%e0%b8%a5%e0%b9%8c%e0%b9%84%e0%b8%a7%e0%b9%89%e0%b8%81%e0%b8%b1%e0%b8%9a%e0%b8%9a%e0%b8%97%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1/#comments</comments> <pubDate>Thu, 04 Jun 2009 19:19:10 +0000</pubDate> <dc:creator>snappy</dc:creator> <category><![CDATA[Joomla]]></category> <category><![CDATA[attachments]]></category> <category><![CDATA[component]]></category> <category><![CDATA[file]]></category> <category><![CDATA[pdf]]></category> <category><![CDATA[rar]]></category> <category><![CDATA[zip]]></category><guid
isPermaLink="false">http://killthewhat.com/?p=2103</guid> <description><![CDATA[เรามาเพิ่มความสามารถให้กับ joomla มำให้มันสามารถแนบไฟล์ไว้กับบทความได้ด้วย สมมติเรื่องที่เราเขียนอาจจะต้องมีการให้ดาวโหลดไฟล์อะไรบางอย่าง แทนที่เราจะเอาไฟล์ไปวางไว้ที่อื่นแล้วนำลิงค์มาแปะไว้เฉยๆ นำไฟล์ของเรามาแนบไปพร้อมกับบทความเราเลยดีกว่าครับ ง่ายกว่าเยอะ โดยให้เราดาวโหลด attachments มาเก็บไว้บนเครื่องเราก่อนครับ จากนั้นแตกไฟล์ออกมา จะพบ 4 ไฟล์ได้แก่ attachments_plugin.zip add_attachment_btn_plugin.zip attachments_search.zip attachments_component.zip ให้ทำการติดตั้งไฟล์ทั้ง 4 ไฟล์นี้ จากนั้นไปที่ Extensinos >> Plugin Manager ทำการ enable ทั้ง 3 plugin ดังนี้ Content &#8211; Attachments Editor Button &#8211; AddAttachment Search &#8211; Attachments จากนั้นตั้งค่าที่ Component >> Article Attachments เพื่อทำการตั้งค่าตามต้องการ จากนั้นให้กดที่ parameter จากนั้นปรับแต่งค่าตามต้องการ ผมจะอธิบายในส่วนหลักๆครับ ใครสามารถเห็นไฟล์ที่แนบ เฉพาะคนที่ login [...]]]></description> <content:encoded><![CDATA[<p>เรามาเพิ่มความสามารถให้กับ joomla มำให้มันสามารถแนบไฟล์ไว้กับบทความได้ด้วย สมมติเรื่องที่เราเขียนอาจจะต้องมีการให้ดาวโหลดไฟล์อะไรบางอย่าง แทนที่เราจะเอาไฟล์ไปวางไว้ที่อื่นแล้วนำลิงค์มาแปะไว้เฉยๆ นำไฟล์ของเรามาแนบไปพร้อมกับบทความเราเลยดีกว่าครับ ง่ายกว่าเยอะ<br
/> <span
id="more-2103"></span><br
/> โดยให้เราดาวโหลด <a
href="http://extensions.joomla.org/extensions/3115/details">attachments</a> มาเก็บไว้บนเครื่องเราก่อนครับ จากนั้นแตกไฟล์ออกมา จะพบ 4 ไฟล์ได้แก่</p><ul><li>attachments_plugin.zip</li><li>add_attachment_btn_plugin.zip</li><li>attachments_search.zip</li><li>attachments_component.zip</li></ul><p>ให้ทำการติดตั้งไฟล์ทั้ง 4 ไฟล์นี้ จากนั้นไปที่ Extensinos >> Plugin Manager ทำการ enable ทั้ง 3 plugin ดังนี้</p><ul><li>Content &#8211; Attachments</li><li>Editor Button &#8211; AddAttachment</li><li>Search &#8211; Attachments</li></ul><p><a
href="http://killthewhat.com/wp-content/uploads/2009/06/attachments.png" rel="lightbox[2103]"><img
src="http://killthewhat.com/wp-content/uploads/2009/06/attachments.png" alt="attachments" title="attachments" width="630" height="207" class="aligncenter size-full wp-image-2106" /></a><br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/06/attachments1.png" alt="attachments1" title="attachments1" width="586" height="144" class="aligncenter size-full wp-image-2107" /></p><p>จากนั้นตั้งค่าที่ Component >> Article Attachments เพื่อทำการตั้งค่าตามต้องการ จากนั้นให้กดที่ parameter<br
/> <a
href="http://killthewhat.com/wp-content/uploads/2009/06/attachments3.png" rel="lightbox[2103]"><img
src="http://killthewhat.com/wp-content/uploads/2009/06/attachments3.png" alt="attachments3" title="attachments3" width="630" height="160" class="aligncenter size-full wp-image-2111" /></a></p><p>จากนั้นปรับแต่งค่าตามต้องการ ผมจะอธิบายในส่วนหลักๆครับ<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/06/attachments4.png" alt="attachments4" title="attachments4" width="630" height="406" class="aligncenter size-full wp-image-2113" /></p><ol><li>ใครสามารถเห็นไฟล์ที่แนบ เฉพาะคนที่ login หรือทุกคน(anyone)</li><li>ใครสามารถทำการแนบไฟล์ได้</li><li>ปรับ attachments เป็น published โดยพื้นฐานหรือไม่</li><li>แสดงหัวข้อ</li><li>แสดงรายละเอียด</li><li>แสดงขนาดไฟล์</li><li>แสดงจำนวนครั้งที่ดาวโหลด</li><li>แสดงวันที่ทำการเปลี่ยนแปลงไฟล์ล่าสุด</li><li>จากนั้นกด save</li></ol><p>จากนั้นให้ทำการเพิ่มนามสกุลของไฟล์ที่เราต้องการลงไปได้ โดยไปที่เมนู Site >> Globalconfiguration จากนั้นไปที่ system<br
/> <a
href="http://killthewhat.com/wp-content/uploads/2009/06/attachments5.png" rel="lightbox[2103]"><img
src="http://killthewhat.com/wp-content/uploads/2009/06/attachments5.png" alt="attachments5" title="attachments5" width="630" height="184" class="aligncenter size-full wp-image-2115" /></a></p><p>ให้เราดูที่ Media Settings และทำการเพิ่มนาสกุลไฟล์ที่เราต้องการลงเช่น rar , zip เป็นต้น จากนั้นกด save<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/06/attachments6.png" alt="attachments6" title="attachments6" width="625" height="352" class="aligncenter size-full wp-image-2116" /></p><p>คราวนี้จะมาดูวิธีใช้งานกันดูน่ะครับพี่น้อง ให้ทำการเขียนบทความที่จะแนบไฟล์ จากนั้นทำการกด apply ก่อนครับเพื่อเป็นการ save บทความโดยไม่ต้องเปลี่ยนหน้าไปไหน จากนั้นกดปุ่ม attachments ด้านล่างเพื่อแนบไฟล์<br
/> <a
href="http://killthewhat.com/wp-content/uploads/2009/06/attachments2.png" rel="lightbox[2103]"><img
src="http://killthewhat.com/wp-content/uploads/2009/06/attachments2.png" alt="attachments2" title="attachments2" width="630" height="322" class="aligncenter size-full wp-image-2109" /></a></p><p>เลือกไฟล์จากเครื่องเรา จากนั้นใส่ชื่อไฟล์และรายละเอียด แล้วกด upload<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/06/attachments7.png" alt="attachments7" title="attachments7" width="630" height="206" class="aligncenter size-full wp-image-2118" /></p><p>จากนั้นทำการ save บทความที่ทำมาแล้วดูผลงานกัน&#8230;<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/06/howhost_0014.png" alt="howhost_0014" title="howhost_0014" width="600" height="396" class="aligncenter size-full wp-image-2120" /></p><p>Link : http://extensions.joomla.org/extensions/3115/details</p> ]]></content:encoded> <wfw:commentRss>http://killthewhat.com/joomla-tutorial/component-attachments-%e0%b9%81%e0%b8%99%e0%b8%9a%e0%b9%84%e0%b8%9f%e0%b8%a5%e0%b9%8c%e0%b9%84%e0%b8%a7%e0%b9%89%e0%b8%81%e0%b8%b1%e0%b8%9a%e0%b8%9a%e0%b8%97%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 14/31 queries in 0.013 seconds using disk

Served from: killthewhat.com @ 2012-02-08 17:48:33 -->
