<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>XOOPS Web Application System</title>
        <link>https://xoops.org/</link>
        <description>Powered by You!</description>
        <lastBuildDate>Sat, 25 Jul 2026 18:54:06 +0000</lastBuildDate>
        <docs>https://backend.userland.com/rss/</docs>
        <generator>XOOPS</generator>
        <category>Tutorials</category>
        <managingEditor>webmaster at xoops dot org</managingEditor>
        <webMaster>webmaster at xoops dot org</webMaster>
        <language>en</language>
                    <image>
                <title>XOOPS Web Application System</title>
                <url>https://xoops.org/images/logo.gif</url>
                <link>https://xoops.org/</link>
                <width>144</width>
                <height>48</height>
            </image>
                            <item>
                <title>Oledrion (MyShop) Tutorial coming to XOOPS</title>
                <link>https://xoops.org/modules/news/article.php?storyid=6750</link>
                <description>&lt;img src=&apos;https://www.gitbook.com/cover/book/mambax7/xoops-oledrion-myshop-module-tutorial.jpg&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/XoopsModules25x/oledrion&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;Oledrion (MyShop)&lt;/a&gt;&lt;/strong&gt; is the best and most comprehensive e-Commerce module developed natively for XOOPS!&lt;br&gt;&lt;br&gt;It was developed originally by &lt;strong&gt;HervÃ© Thouzard (aka Hervet)&lt;/strong&gt; from XOOPS France, and lately it was enhanced by &lt;strong&gt;Hossein Azizabadi (aka Voltan)&lt;/strong&gt; from XOOPS Iran.&lt;br&gt;&lt;br&gt;I am working right now on a tutorial for Oledrion - it is still work in progress, but you can read it already on &lt;strong&gt;&lt;a href=&quot;https://www.gitbook.com/book/mambax7/xoops-oledrion-myshop-module-tutorial/details&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;GitBook&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;But it would be fantastic if some of you could&lt;strong&gt; &lt;a href=&quot;https://github.com/XoopsDocs/oledrion-tutorial&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;fork it on GitHub&lt;/a&gt;&lt;/strong&gt; and contribute to it, and make it better! &lt;img class=&quot;imgsmile&quot; src=&quot;https://xoops.org/uploads/smil42e7a3d4c7b9f.gif&quot; alt=&quot;&quot; /&gt;</description>
                <pubDate>Sat, 16 Jan 2016 16:38:15 +0000</pubDate>
                <guid>https://xoops.org/modules/news/article.php?storyid=6750</guid>
            </item>
                    <item>
                <title>The MVC pattern in Common Utilities</title>
                <link>https://xoops.org/modules/news/article.php?storyid=6679</link>
                <description>&lt;img src=&apos;https://xoops.org/uploads/news/image/mvc.png&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;500) this.width=500&quot; /&gt; Probably very few of you know it, but &lt;strong&gt;&lt;a href=&quot;https://xoops.org/modules/news/article.php?storyid=6675&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;Common Utilities&lt;/a&gt;&lt;/strong&gt; have included since version 2.2, a basic implementation of the pattern &lt;strong&gt;MVC&lt;/strong&gt; (Model - View - Controller). In this article I will give you a basic explanation of its operation in Common Utilities and integrated modules. If you still do not know what MVC is, please read &lt;a href=&quot;http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;this article on Wikipedia&lt;/a&gt; to learn more about it. &lt;strong&gt;How MVC works in Common Utilities&lt;/strong&gt; When a module uses the MVC features of Common Utilities, all requests are received through the URL and it&apos;s the job of RMCommon to receive, process and direct them to the appropriate module. To achieve that, RMCommon includes an appropriate option to specify where to receive requests for each module. This is done through the configuration, indicating the URL you use each module. For example, if the module is that we look for is located in the &quot;inventory&quot; directory, and RMCommon configuration has established as their path to the folder &quot;inventory&quot; when RMCommon receives a request to the URL &lt;a href=&quot;http://sitio.com/inventorios&quot; target=&quot;_blank&quot; rel=&quot;external noopener nofollow&quot;&gt;http://sitio.com/inventorios&lt;/a&gt; automatically redirect the request to &lt;a href=&quot;http://sitio.com/modules/inventory&quot; target=&quot;_blank&quot; rel=&quot;external noopener nofollow&quot;&gt;http://sitio.com/modules/inventory&lt;/a&gt; . This means that the module will respond to all requests made ââwith misitio.com/inventarios . &lt;strong&gt;URL Parameters&lt;/strong&gt; Once RMCommon knows where to locate each module, you can tell that we get the module by specifying the parameters of the URL. Parameters provided must be written in the form module / controller / action / other-parameters . This simple format allows all requests to the module, which are handled by RMCommon follows: Common Utilities finds the appropriate driver folder controllers within the module&apos;s directory. Take for example the URL &lt;a href=&quot;http://sitio.com/&quot; target=&quot;_blank&quot; rel=&quot;external noopener nofollow&quot;&gt;http://sitio.com/&lt;/a&gt; library / books / list / category / bestsellers / The process is as follows: The corresponding module is located library. Depending on the routes that have been configured, this directory could match the directory of the module or be a different one. In this sample library is the directory of the module. Common Utilities driver looking books in the directory controllers of the module library , and loads the PHP class. Now find the corresponding method to the action list and processes the request by passing the parameters category = bestsellers . These parameters must always be in pairs. After processing the data, Common Utilities get the template (view) and returns the corresponding result. &lt;strong&gt;Some conventions in this&lt;/strong&gt; How to locate the controllers? To begin, the drivers should be located as files within the directory controllers of each module. In addition, there are certain rules for naming files that contain drivers. In our example (yes, the library) the driver file should be called books-controller.php . In addition, this file should contain a class, the controller itself, named as follows: Library_Books_Controller and must inherit from the main class RMController . Finally, the class must contain a method called list , which will be invoked by RMCommon to present a result. Until here everything is clear? So these are the rules: - The driver files must be located in the directory controllers of the module. - The file name must follow the rule &lt;nombrecontrolador&gt; -controller.php . - The controlling class within the file must be named &lt;module&gt; _ &lt;Controller&gt; _controller , and should contain as many methods as actions are to be processed. The methods / actions should be named according to the action requested by the URL. If the action is called form , the created class must contain a method form () . If the action is called categories-form , then the class must contain a method called categories_form () . A controller class looks like this: &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Mymodule_Nombrecontrolador_Controller &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;extends &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;RMController &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{ use &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;RMModuleAjax &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;RMProperties &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;RMModels &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; public function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;__construct &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;parent &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;__construct &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(); $ &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;this &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;default &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;index&apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// default action &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;$ &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;this &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;controller &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;categories&apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; } public function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;index &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() { &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// Logic index action &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;$ &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;This &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tpl &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;header &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;requires &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;$ &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;this &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;parent &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;view &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; $ &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;this &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tpl &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;footer &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(); } }&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; &lt;strong&gt;What about the models?&lt;/strong&gt; Models are only accessible through the controller. This means that they can only be used by the methods of the controller class. The models also have some specific rules: - Must be located in the module&apos;s /models folder . - A model file must be named as &lt;ModelName&gt; -model.php . - The file must contain a class named &lt;module&gt; _ &lt;ModelName&gt; _model . A typical statement from an exact model would be: &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Mymodule_Nombremodelo_Model &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;extends &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;RMActiveRecord &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{ use &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;RMModels &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; public function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;__construct &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;parent &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;__construct &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;( &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;model&apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;module&apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); / ** * &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Titles table fields &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;* / $ &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;this &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;titles &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array ( &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;column&apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;__ &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;( &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;Column Title&apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;module&apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;), &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;column2&apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;__ &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;( &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;Title column2&apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;module&apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;), ... ); } }&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; &lt;strong&gt;And the views?&lt;/strong&gt; Eventually we get the Views. These are actually templates that are derived from the name of the action. For the above example, where the module is used library and the driver is requested books for executing the method (action) list , Common Utilities get the template list.php , because it is the one that corresponds to the action list . Easy, right? It follows that the view files (templates) should be appointed as the action (controller method) running. If our action is the name of form , so our staff must be appointed form.php . If the action is the name -form categories , also our file should be named categories-form.php . One more thing. The Views, as in any module, should be stored in the directory templates module, but not directly, but in appropriate subfolder, depending on the following cases. - Templates Folder can contain standard templates (as commonly used in the modules). - Modules can have templates for the control panel or section templates for public, therefore within the directory /templates there should be two subfolders: backend and frontend . - Within each of these subfolders there should be a new subfolder for each driver that handles Views. If the driver is called categories, then there must be a subfolder called categories where the Views will be kept for each action. This new approach of module development in XOOPS enables faster and more structured development. Furthermore, with its auxiliary objects, Common Utilities facilitates the implementation of AJAX in modules allowing more intuitive and easy to use experience for users.</description>
                <pubDate>Tue, 18 Nov 2014 21:20:00 +0000</pubDate>
                <guid>https://xoops.org/modules/news/article.php?storyid=6679</guid>
            </item>
                    <item>
                <title>Excellent Tutorial in Spanish: Adapting HTML and CSS Templates to XOOPS</title>
                <link>https://xoops.org/modules/news/article.php?storyid=6670</link>
                <description>&lt;strong&gt;Tony Rod&lt;/strong&gt; has published an excellent video tutorial about &quot;&lt;strong&gt;&lt;a href=&quot;http://www.xoopsmexico.net/blog/23/09/2014/tutorial-1-adaptando-plantillas-html-y-css-a-xoops/&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;Adapting HTML and CSS Templates to XOOPS&lt;/a&gt;&quot;&lt;/strong&gt;:&lt;br&gt;&lt;br&gt; &lt;div class=&quot;embed-responsive embed-responsive-4by3&quot;&gt;&lt;br&gt; &lt;iframe class=&quot;embed-responsive-item&quot; width=&quot;425&quot; height=&quot;350&quot; src=&quot;https://www.youtube.com/embed/k-0sDe67t30&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;br&gt; &lt;/div&gt;&lt;br&gt;&lt;br&gt;This is what he writes in his blog:&lt;br&gt;&lt;br&gt;&lt;em&gt;XOOPS has always been known for being a powerful and flexible CMS, however despite this, the creation of my own themes without relying on already available themes for XOOPS was always of interest to me, especially since the available themes were very similar with the same structure.&lt;br&gt;&lt;br&gt;That&apos;s why a few years ago I challenged myself to learn how a template works in XOOPS and what is needed to develop a different theme that suits my needs and above all, has a unique design .&lt;br&gt;&lt;br&gt;I finally found the answer and that is why now I share what I&apos;ve learned over the years using XOOPS, and hopefully it will help all those who want a unique and different design without having to worry about whether they are doing it the right or wrong way when adapting the template to XOOPS.&lt;br&gt;&lt;br&gt;Basically this tutorial is divided into four sections which are:&lt;br&gt;&lt;br&gt;- Introduction and basics of templates in XOOPS&lt;br&gt;- Process of adapting a template in HTML to XOOPS&lt;br&gt;- Multiple templates on our site using Defacer&lt;br&gt;- Adding blocks manually by ID&lt;br&gt;&lt;br&gt;The tutorial is designed in such a way that you can follow step by step the whole process from the adaptation of the template to the finished product. To make it easier for you, I am providing the course material so you can do the necessary tests. This material can be found on the &lt;a href=&quot;http://www.xoopsmexico.net/downloads/&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;download section&lt;/a&gt; of downloads or by &lt;a href=&quot;http://www.mediafire.com/download/5zupjjc21ocupxk/Material+Didactico.rar&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;clicking here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;I hope this tutorial is helpful to start designing your own templates and will inspire those who want to improve the content of their websites.&lt;br&gt;&lt;br&gt;I will answer all your questions and / or comments in the &lt;a href=&quot;http://www.xoopsmexico.net/blog/23/09/2014/tutorial-1-adaptando-plantillas-html-y-css-a-xoops/&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;comments section of this publication&lt;/a&gt;.&lt;/em&gt;</description>
                <pubDate>Tue, 07 Oct 2014 06:00:00 +0000</pubDate>
                <guid>https://xoops.org/modules/news/article.php?storyid=6670</guid>
            </item>
                    <item>
                <title>Tutorial: add a nice frame around your pictures</title>
                <link>https://xoops.org/modules/news/article.php?storyid=6503</link>
                <description>The summer is here and it&apos;s time to publish news with your holidays pictures in your web sites...&lt;br&gt;Here find a new tutorial for improve your design, more modern, more pro.&lt;br&gt;i Hope you will like it...&lt;br&gt;&lt;br&gt;In fact, we would add a white frame aroud your pictures with an shade effect.&lt;br&gt;&lt;br&gt;&lt;img src=&apos;http://nsa33.casimages.com/img/2013/07/05/130705034012577883.jpg&apos; class=&apos;left&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;look at the result here before ! ======&amp;gt; After !&lt;img src=&apos;http://nsa33.casimages.com/img/2013/07/05/130705034012710172.jpg&apos; class=&apos;right&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;OK, let&apos;ssss go for this tutorial : &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;1) Add a new style in the css files&lt;/strong&gt;&lt;br&gt;&lt;br&gt;Open and edit your style.css file in your theme,&lt;br&gt;located in /themes/my_theme/css ou /themes/my_theme&lt;br&gt;and add, at the end this code : &lt;br&gt;&lt;br&gt;&lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php img&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;frame &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{ &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;/* Couleur ombre de la photo */ &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;box&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;shadow&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;5px 5px 20px &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;#404040; /* Effet cadre vielli, pour photo noir et blanc style ancien */ /* border-color: #f5eac7; */ &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;color&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;#ffffff; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;solid&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;20px&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;display&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;block&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;margin&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;l&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;margin&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;left&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;auto&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;margin&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;right&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;auto&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;margin&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;top&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;10px&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;margin&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;bottom&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;10px&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; }&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;then save it and upload in your web site.&lt;br&gt;You have just done the harder work in this tutorial. Yesss !!!&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;2) Erase cache of your browser&lt;/strong&gt;&lt;br&gt;&lt;br&gt;Just to do for the 1st time.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;3) Use this new class with a picture&lt;/strong&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;3a) Basic Editor (Textarea)&lt;/strong&gt;&lt;br&gt;See 3b)&lt;br&gt;&lt;br&gt;&lt;strong&gt;3b) XOOPS Editor (DHTMLTextarea)&lt;/strong&gt;&lt;br&gt;In bbcode, it doen&apos;t work. We can&apos;t add a class in a bbcode.&lt;br&gt;If you work a custom block; choose Content Type : &amp;quot;HTML&amp;quot;.&lt;br&gt;Then insert you picture like that : &lt;br&gt;&amp;lt;i mg src=&amp;quot;http://www.mysite.fr/my_picture.png&amp;quot; class=&amp;quot;img-frame&amp;quot; /&amp;gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;3c) TinyMCE (v3)&lt;/strong&gt;&lt;br&gt;- Click on the button &amp;quot;insert picture&amp;quot;,&lt;br&gt;- Type something in the fields &amp;quot;URL&amp;quot;, &amp;quot;Description&amp;quot; and &amp;quot;Title&amp;quot;,&lt;br&gt;- Click on the tab named &amp;quot;Apparence&amp;quot; and choose for the field &amp;quot;class&amp;quot;, in tke list, &amp;quot;img-frame&amp;quot; then ok&lt;br&gt; &lt;br&gt;&lt;br&gt;So, Easy, no ?&lt;br&gt;Don&apos;t hesitate to test yourself !!!&lt;br&gt;&lt;br&gt;&lt;strong&gt;To continue to work deeper : &lt;/strong&gt;&lt;br&gt;&lt;br&gt;- Modify the color of the frame (here white), by a &amp;quot;old yellow&amp;quot; for black and white old style for pictures,&lt;br&gt;- Modify the color of shade,&lt;br&gt;- Modify the direction of the shade,&lt;br&gt;- Modify the width of the shade,&lt;br&gt;- Finally, we could add dynamic effects (zoom in for exmple on hover) but be carreful, not too effect, please...&lt;br&gt;&lt;br&gt;If you like our tutorial, tell it us.&lt;br&gt;&lt;br&gt;&lt;strong&gt;PS&lt;/strong&gt; : Kris said (in frxoops.org) that we could use a an existant class in xoops.css :&lt;br&gt;class=&amp;quot;pad10 boxshadow&amp;quot; but the effect is not the same, but so easy to use, no need to change the css style.</description>
                <pubDate>Tue, 09 Jul 2013 22:20:00 +0000</pubDate>
                <guid>https://xoops.org/modules/news/article.php?storyid=6503</guid>
            </item>
                    <item>
                <title>Highlighting non-empty alphabet listing in XoopsTube </title>
                <link>https://xoops.org/modules/news/article.php?storyid=6497</link>
                <description>In XoopsTube we have a visual alphabetical listing of videos, so if you would like to see all videos starting with &quot;B&quot; you would click on the image with &quot;B&quot;. Unfortunately, this is not the most user-friendly feature, because we don&apos;t know if there is anything under &quot;B&quot;. So we needed to indicate the existence of videos by a changed background icon, as you can see below: &lt;img src=&apos;http://farm4.staticflickr.com/3736/9063886744_37d0c3d3a5_o.jpg&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;javascript:resizeImage(this, 300)&quot;/&gt; The plan was to: 1) build an array of unique alphabet letters that have videos in the database 2) as we render the alphabet icons, check for each letter/digit if it is also in the above array, and if yes, change the icon image to the green one XoopsTube renders the images in the function xoopstube_letters() located in /include/functions.php As first we needed to extract the unique letters from the database and create the array: &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php $distinctDbLetters_arr &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array(); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;SELECT DISTINCT (UPPER(LEFT(title, 1))) AS letter FROM &apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoopsDB&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;prefix&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;xoopstube_videos&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) ; if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$result &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoopsDB&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;query&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)) { while (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoopsDB&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;fetchArray&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$distinctDbLetters_arr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;letter&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]; } } unset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; As second, we wanted to check for each alphabet letter and digit to see if it is represented in the database: &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;in_array&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ltr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$distinctDbLetters_arr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$letterchoice &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;&amp;lt;a class=&quot;xoopstube_letters xoopstube_letters_green&quot; href=&quot;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; } else { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$letterchoice &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;&amp;lt;a class=&quot;xoopstube_letters&quot; href=&quot;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; }&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; And we had to create a new class in CSS that would pull the new image: &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;xoopstube_letters_green &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{ &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;background&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;image&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;images&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;icon&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;backgnd_green&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;png&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); }&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; Things to do in the future: - cache the array created in (1), so we don&apos;t have to read it every time from the database, and updated it only if a new video is added The main message from this tutorial is to make our modules more user-friendly by visually indicating status of information. As always, if somebody has a better way to achieve it, please share it with us!</description>
                <pubDate>Mon, 17 Jun 2013 00:40:00 +0000</pubDate>
                <guid>https://xoops.org/modules/news/article.php?storyid=6497</guid>
            </item>
                    <item>
                <title>YouTube plugin Installation in the TinyMCE editor</title>
                <link>https://xoops.org/modules/news/article.php?storyid=6483</link>
                <description>Hello Xoopser !!!&lt;br&gt;&lt;br&gt;Today, i want to show to you how it&apos;s easy to add a new plugin in the TinyMCE editor.&lt;br&gt;Why not try with the youtube plugin ? &lt;img src=&apos;https://lh4.googleusercontent.com/9Difi9bypu9-FoUsfFWpX6odYLLjXQk_q0aPxZBSFynecMOSLoKRKWRWIfZdXRGOdXMZCahrLBG6vWrwIeT-A26iDjTucgFVCP0Fuzr79BHW5kLJ3sw&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;30) this.width=30&quot; /&gt;&lt;br&gt;&lt;br&gt;Ok, sooooooo, let&apos;s go ! &lt;br&gt;&lt;br&gt;&lt;strong&gt;1)&lt;/strong&gt; First, download the youtube plugin &lt;a href=&quot;http://magix-cjquery.com/post/2012/05/11/plugin-youtube-v1.4-pour-tinyMCE&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;here&lt;/a&gt; (Zip File &lt;a href=&quot;http://magix-cjquery.com/public/medialib/plugins_tinymce/youtube-1.4.zip&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;here&lt;/a&gt;)&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;2)&lt;/strong&gt; Extract zip and copy the directory /youtube in /class/xoopseditor/tinymce/tiny_mce/plugins/&lt;br&gt;in your XOOPS installation&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;3)&lt;/strong&gt; Modify the /class/xoopseditor/tinymce/settings.php file&lt;br&gt;&lt;br&gt;You could re-read the news &lt;a href=&quot;https://xoops.org/modules/news/article.php?storyid=6420&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;Using templates pages in modules&lt;/a&gt;.&lt;br&gt;The part 2 : &amp;quot;Add the template botton&amp;quot;.&lt;br&gt;&lt;br&gt;Add &amp;quot;youtube&amp;quot; in :&lt;br&gt;Line 70&lt;br&gt;&lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;paste,fullscreen,visualchars,nonbreaking,inlinepopups,youtube&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;Line 85&lt;br&gt;&lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;theme_advanced_buttons4&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;xoopsimagemanager,xoopsemotions,xoopsquote,xoopscode,xoopsmlcontent,youtube&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;4)&lt;/strong&gt; That&apos;s All ! Now, Enjoy it&lt;br&gt;&lt;br&gt;Maybe in the next XOOPS version it would be included by default...</description>
                <pubDate>Tue, 14 May 2013 08:23:07 +0000</pubDate>
                <guid>https://xoops.org/modules/news/article.php?storyid=6483</guid>
            </item>
                    <item>
                <title>Tutorial: How to update tables to follow XOOPS&apos; new naming scheme?</title>
                <link>https://xoops.org/modules/news/article.php?storyid=6440</link>
                <description>As you might already know, there is an effort to standardize our module development - from using the same module Admin GUI structure, to using the same icons across all modules, from using the same pagination structure for each table, to naming the tables and fields in a consistent way (see &lt;a href=&quot;https://xoops.org/modules/newbb/viewtopic.php?topic_id=75756&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;this thread&lt;/a&gt;). This tutorial will show you how to modify your module so it can rename the tables on the user site, when the user updates the module. This will follow the scheme &lt;a href=&quot;https://xoops.org/modules/newbb/viewtopic.php?topic_id=75311&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;suggested by alain01&lt;/a&gt; The new table naming scheme is: &lt;em&gt;&lt;strong&gt;mod_AAA_BBBB&lt;/strong&gt;&lt;/em&gt; where AAA is the name of the module, and BBB is the name of the table. For example, when we have in the News module a table called &quot;topics&quot;, in the new updated version of News, it will become: mod_news_topics Here are few steps to follow, as used recently in the Pedigree module called &quot;animal&quot;: 1) The new version should have the tables defined properly in the SQL file, so new installation have the right tables installed right away 2) In the existing installation the users normally copy files over, and then run &quot;update&quot; in the Admin. Therefore we&apos;ll need to add a file with the updates. We&apos;ll call it &quot;update_function.php&quot; and will place it in /include folder 3) In order for XOOPS to call this file, we&apos;ll add in xoops_version.php file following: &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php $modversion&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;onUpdate&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;include/update_function.php&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; 4) In that file, we start by adding a function to check if the table that we want to rename, does actually exist. This is done by using a function created by Hervet: &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tableExists&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$tablename&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { global &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoopsDB&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoopsDB&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;queryF&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;SHOW TABLES LIKE &apos;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$tablename&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); return(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoopsDB&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;getRowsNum&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); }&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; 5) then we add a following function that will be executed when we click on the Update button: &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;xoops_module_update_animal&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() { global &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoopsDB&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tableExists&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoopsDB&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;prefix&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;eigenaar&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;sprintf&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;( &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;ALTER TABLE &apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoopsDB&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;prefix&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;eigenaar&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) . &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos; RENAME &apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoopsDB&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;prefix&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;mod_pedigree_owner&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) ); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$result &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoopsDB&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;queryF&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;&amp;lt;br /&amp;gt;&apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;_AM_PED_UPGRADEFAILED &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos; &apos; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;_AM_PED_UPGRADEFAILED2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$errors&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;++; } } return &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; }&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; In this code above, we are checking if the &quot;eigenaar&quot; does exist, and if it does, then we&apos;re renaming it to &quot;mod_pedigree_owner&apos;&quot;. Of course, this is done for each table that we want to rename. 6) We also have to rename all occurrences of the tables in the code as well. a) as a first step, it&apos;s easy to just run search &amp; replace using as part of the search the word &quot;prefiix&quot;, so in our example, we&apos;ll replace: prefix(&quot;eigenaar&quot;) with: prefix(&quot;mod_pedigree_owner&quot;) This is for cases where we call the tables in a conventional way. b) But people are creative, and it might happen that they do it differently, so nothing will save us from testing, and eventually searching for the word &quot;eigenaar&quot; in all files, and then making a judgment call if it is meant as a table and therefore has to be renamed. The new naming scheme will make it easier two things: - to see in phpMyAdmin (or any other database tool) all the tables from a module grouped together. It will also distinguish them from the Core tables. - in the code it will also make it easy to find the tables just by searching &quot;mod_MODULENAME&quot; In the near future, we&apos;ll also consolidate names and characteristics of the typical fields in our modules, and provide them as guidelines. When you look at our modules, the same field could be named differently in each module. Let&apos;s take &quot;Group ID&quot; - it could be: gid, g_id, group_id, gr_id, etc. And if you are trying to maintain a module from somebody else, we are wasting too much time trying to figure out what a particular field is actually for. If you have improvements for this tutorial, please let us know. &lt;strong&gt;And most importantly: - If you can help us to streamline and standardize module development, we would very much appreciate it. - If you like how a particular module does something and think that other modules should do the same, let us know. - If you see something cool being done by other Open Source Projects that XOOPS could benefit from, please let us know too. Please follow up in t&lt;a href=&quot;https://xoops.org/modules/newbb/viewtopic.php?topic_id=75756&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;his thread&lt;/a&gt;&lt;/strong&gt;</description>
                <pubDate>Tue, 05 Mar 2013 04:20:00 +0000</pubDate>
                <guid>https://xoops.org/modules/news/article.php?storyid=6440</guid>
            </item>
                    <item>
                <title>Tutorial: New design for block comments, step by step</title>
                <link>https://xoops.org/modules/news/article.php?storyid=6433</link>
                <description>&lt;img src=&apos;http://nsa31.casimages.com/img/2013/02/12/130212083459564407.png&apos; class=&apos;right&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt; I would like share with you my experience with a new style of news: a step by step tutorial. In this edition, I will show you how to modify the comments block. The default design of this block is pretty old, so let&apos;s bring small but smart design changes to make the display more useful. Please let&apos;s see an exemple &lt;a href=&quot;http://www.alsacreations.com/tuto/lire/1522-le-modele-tabulaire-en-css.html#commentaires&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;here&lt;/a&gt; (Not xoops web site). First, you should understand how overloaded theme work (surcharge du thÃ¨me) The best tutorial for this is &lt;a href=&quot;http://www.frxoops.org/modules/news/article.php?storyid=1095&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;this one on XOOPS France (in French)&lt;/a&gt;. We will start step by step in order to explain to you how it is possible, and in the end, you should practice these changes with another block. I will invite you to upload the files step by step, so it would be more clear for you. So, now, let&apos;s gooooooo !!! &lt;img src=&apos;http://nsa31.casimages.com/img/2013/02/12/130212083451499129.png&apos; class=&apos;right&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;&lt;strong&gt;We need :&lt;/strong&gt; - Template files comments from the system module - CSS file from your theme (style.css) &lt;strong&gt;1 - Template files comments to the overloaded theme&lt;/strong&gt; Copy the files /www/modules/system/templates/system_comment*.html to /www/themes/mytheme/modules/system - system_comment.html - system_comments_flat.html - system_comments_net.html - system_comments_thread.html &lt;strong&gt;2 - Customization&lt;/strong&gt; &lt;img src=&apos;http://nsa31.casimages.com/img/2013/02/12/130212083452165318.png&apos; class=&apos;right&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;&lt;strong&gt;2a Head&lt;/strong&gt; Now, we work on the files on /www/themes/mytheme/modules/system We start to delete the top head Edit the 3 files system_comments_*.html and comment this out (or delete this) : &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;!-- &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;th &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;width20&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_thread&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; --&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; Find theses lines - 2 times in system_comments_net.html and system_comments_thread.html - 1 time in system_comments_flat.html &lt;img src=&apos;http://nsa32.casimages.com/img/2013/02/12/130212083452725981.png&apos; class=&apos;right&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;&lt;strong&gt;2b - Delete poster&apos;s info - keep only avatar&lt;/strong&gt; Now, all changes will be in the &lt;strong&gt;system_comment.html&lt;/strong&gt; file (for the next one too) Delete information from user : - Rank - Registry date - Localisation - Contribution number - Status Just keep avatar &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserRank&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserRankText&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rank_title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserRankImg&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_upload_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rank_image&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserImg&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_upload_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;avatar&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserStat&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;span &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserStatCaption&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_joined&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;:&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;regdate&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserStat&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;span &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserStatCaption&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_from&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;:&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;from&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserStat&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;span &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserStatCaption&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_posts&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;:&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;postnum&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserStatus&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;status&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; become now &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserImg&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_upload_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;avatar&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; &lt;img src=&apos;http://nsa32.casimages.com/img/2013/02/12/130212083453269723.png&apos; class=&apos;right&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;&lt;strong&gt;2c - Move poster&apos; name , date and style&lt;/strong&gt; Let&apos;s simplify the display comment date: So, replace &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;head&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comment&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;uname&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;head&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comDate&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;span &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comDateCaption&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_posted&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;:&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_posted&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;nbsp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;nbsp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;span &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comDateCaption&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_updated&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;:&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_modified&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; by &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comment&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;uname&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;said the &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_posted&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; (&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_updated&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;: &amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_modified&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;)&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; &lt;img src=&apos;http://nsa32.casimages.com/img/2013/02/12/130212083453823552.png&apos; class=&apos;right&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;&lt;strong&gt;2d - Same Date comments and modification comments ?&lt;/strong&gt; We don&apos;t want to see the date twice, if it&apos;s the same date, so replace the previous code by &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comment&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;uname&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;said the &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_posted&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &amp;lt;{if &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_posted &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;!= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_modified&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;modified the &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_modified&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;) &amp;lt;{/if}&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; &lt;img src=&apos;http://nsa32.casimages.com/img/2013/02/12/130212083454594267.png&apos; class=&apos;right&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;&lt;strong&gt;2e - Move buttons to the top&lt;/strong&gt; Now, we want to move the buttons on the top. First, take the test code of poster, at the bottom file, and delete all lines with &lt; td &gt; et &lt; /td &gt;. So the partial code seems to be this now, with right style CSS : &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div style&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;float:right;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{if &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_iscommentadmin &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$editcomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_edit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/edit.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_edit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$deletecomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_delete&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/delete.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_delete&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$replycomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_reply&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/reply.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_reply&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{elseif &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_isuser &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;true &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp;&amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_userid &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$editcomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_edit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/edit.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_edit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$replycomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_reply&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/reply.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_reply&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{elseif &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_isuser &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;true &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;|| &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$anon_canpost &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$replycomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/reply.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_reply&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{/if}&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;Copy this code just after the &lt;{/ if }&gt; from the comment date Now, delete the bottom buttons. Just delete the lines between the last &lt; tr &gt;&lt; /tr &gt; , and delete the tags &lt; tr &gt;&lt; /tr &gt; too. &lt;img src=&apos;http://nsa31.casimages.com/img/2013/02/12/130212083455196475.png&apos; class=&apos;right&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;&lt;strong&gt;2f - Style&lt;/strong&gt; - Delete title and picture title : Delete line &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comTitle&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;image&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; - Add fixed width on the left column &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td style&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;width:120px;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comment&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; - Delete class &quot;odd&quot; to the &apos;td&apos; where the poster avatar is, then put the picture in middle position &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td style&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;text-align:center;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserImg&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_upload_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;avatar&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; &lt;img src=&apos;http://nsa32.casimages.com/img/2013/02/12/130212083458975866.png&apos; class=&apos;right&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;&lt;strong&gt;2g - Add an arrow&lt;/strong&gt; We need to work on the style.css file, in the mytheme theme to create this arrow in CSS. For my theme, it is in /www/themes/mytheme/css/style.css Add this code in style.css : &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;arrow&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;left &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{ &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0px&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0px&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;solid&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;25px 20px 25px 0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;color&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;transparent &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;#ECE9D8 transparent transparent; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; You could change the arrow color, this color is same as the color class &quot;odd&quot; Add 1 column. Add 1 column in order to put our new arrow at left from comment. - Add tag &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; after &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td style&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;width:120px;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comment&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; - Add tag &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; before&lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;odd&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comText&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;text&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; On the second tag, insert this code : &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;arrow-left&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; and a fixed 20 pixel width style : So, we got : &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td style&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;width:20px;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;arrow-left&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; &lt;img src=&apos;http://nsa31.casimages.com/img/2013/02/12/130212083459564407.png&apos; class=&apos;right&apos; border=&apos;0&apos; alt=&apos;Original Image&apos; onload=&quot;JavaScript:if(this.width&gt;300) this.width=300&quot; /&gt;&lt;strong&gt;2f - Style&lt;/strong&gt; Add 2 break lines for cleared diplay. Put it just before the name poster. &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;br &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;br &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;uname&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; That &apos;s all. you have finihed... &lt;strong&gt;3 - full system_comment.html file&lt;/strong&gt; For webmasters who want the full file system_comment.html, it is here, available : &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;!-- &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;start comment post &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;--&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td style&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;width:120px;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comment&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;br &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;br &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;uname&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a dit le &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_posted&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &amp;lt;{if &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_posted &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;!= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_modified&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;modifiÃ© le &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date_modified&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;) &amp;lt;{/if}&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div style&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;float:right;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{if &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_iscommentadmin &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$editcomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_edit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/edit.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_edit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$deletecomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_delete&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/delete.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_delete&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$replycomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_reply&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/reply.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_reply&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{elseif &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_isuser &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;true &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp;&amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_userid &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$editcomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_edit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/edit.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_edit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$replycomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_reply&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/reply.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_reply&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{elseif &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_isuser &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;true &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;|| &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$anon_canpost &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$replycomment_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&amp;amp;com_id=&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/images/icons/reply.gif&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lang_reply&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{/if}&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{if &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;id &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;!= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td style&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;text-align:center;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comUserImg&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$xoops_upload_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;/&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;poster&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;avatar&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{else}&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;odd&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;{/if}&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td style&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;width:20px;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;arrow-left&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;odd&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;comText&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;text&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;lt;!-- &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end comment post &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;--&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; Sure, i know it&apos;s not perfect, and we could do more: - Delete &quot;table&quot; to replace by &quot;div&quot;, - Dont define css style in the code, but use class. - Round corners, - ... But the objective here wasn&apos;t to to get a perfect code. It was to understand overloaded themes, and show step by step how to modify the design of the comments block. &lt;strong&gt;Conclusion :&lt;/strong&gt; I hope that with this news it&apos;s now more clear for you how to modify your design of your blocks and templates in your theme. If this news is usefull for you, please tell me how it feels in the comments block !!! hahahahaha ! &lt;img class=&quot;imgsmile&quot; src=&quot;https://xoops.org/uploads/smil42e7a3d4c7b9f.gif&quot; alt=&quot;&quot; /&gt;</description>
                <pubDate>Tue, 19 Feb 2013 21:40:00 +0000</pubDate>
                <guid>https://xoops.org/modules/news/article.php?storyid=6433</guid>
            </item>
                    <item>
                <title>Using templates pages in modules</title>
                <link>https://xoops.org/modules/news/article.php?storyid=6420</link>
                <description>Hello,&lt;br&gt;&lt;br&gt;A lot of people using XOOPS, need to use templates for presenting homogeneous pages : &lt;br&gt;&lt;br&gt;- cooking,&lt;br&gt;- some books,&lt;br&gt;- some movies, &lt;br&gt;- ...&lt;br&gt;&lt;br&gt;I would show you how to use a template to generate your pages :&lt;br&gt;&lt;br&gt;&lt;strong&gt;Advantages:&lt;/strong&gt; &lt;br&gt;&lt;br&gt;- Same template for all pages&lt;br&gt;- Homogeneous and more clear presentation&lt;br&gt;- Using of pre-defiined pages&lt;br&gt;&lt;br&gt;&lt;br&gt;Creating a Template (gabarits) in 6 steps: &lt;br&gt;&lt;br&gt;&lt;strong&gt;1 - TinyMCE editor activation for modules&lt;br&gt;2 - Add the template botton&lt;br&gt;3 - Create template files&lt;br&gt;4 - Create a definition file for templates&lt;br&gt;5 - upload files on server&lt;br&gt;6 - Use&lt;/strong&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;1 - TinyMCE editor activation for modules&lt;/strong&gt; (See this editor in demo &lt;a href=&quot;http://www.tinymce.com/tryit/full.php&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;here&lt;/a&gt;)&lt;br&gt;Administration / Preferences / systeme Module Settings / Editor Settings / Editor for all modules: : tinymce&lt;br&gt;(or choose TinyMCE for default editor for the module that you will use, in module preferences) &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;2 - Add the template button &lt;/strong&gt;&lt;br&gt;&lt;br&gt;Modify the file /class/xoopseditor/tinymce/settings.php:&lt;br&gt;&lt;br&gt;Line 70, change &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;paste,fullscreen,visualchars,nonbreaking,inlinepopups&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;by&lt;br&gt;&lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;paste,fullscreen,visualchars,nonbreaking,inlinepopups,template&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;then line 85 &lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;theme_advanced_buttons4&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;xoopsimagemanager,xoopsemotions,xoopsquote,xoopscode,xoopsmlcontent&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;by&lt;br&gt;&lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;theme_advanced_buttons4&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;xoopsimagemanager,xoopsemotions,xoopsquote,xoopscode,xoopsmlcontent,template&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;template_external_list_url&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;/uploads/gabarits/liste-gabarits.js&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;(Here it is for indicate that templates are in the directory /uploads/gabarits and definition&apos;s file of the template is liste-gabarits.js&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;3 - Create template files&lt;/strong&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;Theses files must be in html format, but without &amp;lt; html &amp;gt;, &amp;lt; body &amp;gt; or &amp;lt;head &amp;gt;&lt;/strong&gt;&lt;br&gt;Here, we create 2 html files: &lt;br&gt;&lt;br&gt;- fiche-cooking.html,&lt;br&gt;- fiche-book.html.&lt;br&gt;&lt;br&gt;Please, make a clean html file, with fixed positions...&lt;br&gt;For example, for the template &apos;cooking&apos; : &lt;br&gt;Title of the cooking : &lt;br&gt;Ingredients :&lt;br&gt;Difficulty to make : &lt;br&gt;...&lt;br&gt;&lt;br&gt;&lt;strong&gt;4 - Create the definition&apos;s file of the template&lt;/strong&gt;&lt;br&gt;&lt;br&gt;Here, create the file liste-gabarits.js : &lt;br&gt;&lt;div class=&quot;xoopsCode&quot;&gt;le=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// JavaScript Document &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;var &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tinyMCETemplateList &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= [ &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// Nom, URL, Description &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Fiche cuisine&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;/_uploads/gabarits/fiche-cooking.html&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Template for the cooking.&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;], [&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Fiche Livre&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;/_uploads/gabarits/fiche-book.html&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Template for books.&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] ];&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;5 - upload files on server&lt;/strong&gt; &lt;br&gt;&lt;br&gt;On /uploads/gabarits, uploads files : &lt;br&gt;&lt;br&gt;- liste-gabarits.js&lt;br&gt;- fiche-cooking.html,&lt;br&gt;- fiche-book.html.&lt;br&gt;- index.htlm ( same as in another directory)&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;6 - Use&lt;/strong&gt;&lt;br&gt;&lt;br&gt;Go to module (news for example), then click on the &amp;quot;template&amp;quot; icon then, in the opening window, select the template that you want to use (fiche-cooking for create a page for &amp;quot;Apple cake&amp;quot;, for example)&lt;br&gt;&lt;br&gt;Thats&apos; all !&lt;br&gt;&lt;br&gt;It is nice ?&lt;br&gt;&lt;br&gt;Let me know what you think. I will appreciate your comments ! &lt;br&gt;&lt;br&gt;PS 1 : Big thanks to &lt;a href=&quot;http://www.frxoops.org/userinfo.php?uid=30731&quot; rel=&quot;noopener external&quot; title=&quot;&quot;&gt;montuy337513&lt;/a&gt; for the support in the XOOPS France Forum.&lt;br&gt;&lt;br&gt;PS 2 : it would be nice to have this option available by default in the next XOOPS version, wouldn&apos;t it? </description>
                <pubDate>Thu, 10 Jan 2013 17:30:00 +0000</pubDate>
                <guid>https://xoops.org/modules/news/article.php?storyid=6420</guid>
            </item>
                    <item>
                <title>Tutorial: A nice Chat for XOOPS -  123flashchat</title>
                <link>https://xoops.org/modules/news/article.php?storyid=6340</link>
                <description>&lt;p&gt;I will show you in this tutorial how to install a Chat for XOOPS.&lt;/p&gt;&lt;p&gt;Oh, I hear you here saying : &quot;&lt;em&gt;Oh no, yet another poorly designed and not user friendly chat !&lt;/em&gt;&quot;&lt;/p&gt;&lt;p&gt;False!!! Here you can see the beautiful and friendly users interface:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt; &lt;img alt=&quot;123flashchat&quot; height=&quot;223&quot;src=&quot;http://www.123flashchat.com/img/screenshot-300.gif&quot; title=&quot;123flashchat&quot; width=&quot;303&quot; /&gt;&lt;/p&gt;</description>
                <pubDate>Fri, 06 Jul 2012 18:20:00 +0000</pubDate>
                <guid>https://xoops.org/modules/news/article.php?storyid=6340</guid>
            </item>
            </channel>
</rss>
