[วิธีทำ] (copy) Xenporta Block Recentthread

admin

Staff Member
Administrator
RecentThreads block.

This uses two files... RecentThreads.xml (the block file), and RecentThreads.php (the block executable). People have been confused on how to make additional instances of this block... In the new version it couldn't be more simple.
  1. Make a second copy of RecentThreads.php as RecentThreads2.php.
  2. Open RecentThreads2.php to rename
    PHP:
    class EWRporta_Block_RecentThreads
    to
    PHP:
    class EWRporta_Block_RecentThreads2
    save and upload it.
  3. Make a second copy of RecentThreads.xml, rename all instances of "RecentThreads" within the XML file to "RecentThreads2" (this is case sensitive, so only replace these EXACT instances)
  4. Install your new RecentThreads2.xml block!
Done!
 

สมาชิกที่ออนไลน์

แฟนเพจ


Top Bottom