Login Register


How to create and edit a template filter_list
Author
Message
How to create and edit a template #1
Hello guys
I use the invision community suite software as my forum software and all of my threads use the same "template" code, see below.
The data in the class "CP_content" e.g. "Operating system:" is always the same and the data in the class "CP_content_info" e.g. "All Win10 versions" is different in every thread.
Now I have over 100 threads and when I want to change something like "Operating system:" to "OS:" or add something new, I have to change all threads one by one and this is very very time consuming.
I want to use something like a single template file, edit it and all threads update to the new changes of the template file. Is this possible with css or can you recommend me what I should be doing?
I am a beginner and I have not found in google how to achieve my thoughts because I am not sure what to look for.


This is my code

Code:
<table style="table-layout: fixed; width: 700px"> <colgroup> <col style="width: 140px"> <col style="width: 160px"> <col style="width: 140px"> <col style="width: 260px"> </colgroup> <tbody> <tr> <td colspan="4"> <span class="CP_topic"><span class="ipsEmoji">📂</span> DETAILS</span> </td> </tr> <tr> <td> <span class="CP_content">Release date:</span> </td> <td> <span class="CP_content_info">01/2020</span> </td> <td> <span class="CP_content">Operating system:</span> </td> <td> <span class="CP_content_info">All Win10 versions</span> </td> </tr> <tr> <td> <span class="CP_content">Last downtime:</span> </td> <td> <span class="CP_content_info">no data</span> </td> <td> <span class="CP_content">Chipset:</span> </td> <td> <span class="CP_content_info">AMD/Intel</span> </td> </tr> <tr> <td> <span class="CP_content">Last detection:</span> </td> <td> <span class="CP_green">never</span> </td> <td> <span class="CP_content">Application:</span> </td> <td> <span class="CP_content_info">Internal</span> </td> </tr> <tr> <td> <span class="CP_content">Detection counter:</span> </td> <td> <span class="CP_content_info">no data</span> </td> <td> <span class="CP_content">Stream proof:</span> </td> <td> <span class="ipsEmoji">✔️❌❓</span> </td> </tr> <tr> <td> <span class="CP_content">Detection rate:</span> </td> <td> <span class="CP_content_info">very low</span> </td> <td> <span class="CP_content">HWID spoofer:</span> </td> <td> <span class="ipsEmoji">✔️❌❓</span> </td> </tr> <tr> <td> <span class="CP_content">Software rating:</span> </td> <td> <span class="CP_content_info">no data</span> </td> <td> <span class="CP_content">Limited slots:</span> </td> <td> <span class="ipsEmoji">✔️❌❓</span> </td> </tr> <tr> <td> &nbsp; </td> <td> &nbsp; </td> <td> <span class="CP_content">Invite only:</span> </td> <td> <span class="ipsEmoji">✔️❌❓</span> </td> </tr> </tbody> </table>

Reply







Users browsing this thread: 1 Guest(s)