This is a dead easy hack on how to implement expandable content boxes in phpwcms using article listing templates.
http://okobo.com/cms/index.php
http://www.okobo.com/ecb-v2.zip
INSTRUCTIONS
1) Upload *.tmpl files into "//phpwcms_template/inc_cntpart/articlesummary/list/"
2) Upload images folder into root of PHPWCMS installation
4) Upload the article-display.css file to "//phpwcms_template/inc_css/"
3) Select the relevent list template in your chosen article.
Done

if you create your own do the following:
3 x Images top middle and bottom
For top and bottom make sure you leave at least 10px top n bottom so the boxes dont look too bunched up.
The middle image should be 1px or more depending on if you use a pattern for the backround.
Troubleshooting:
- If you use your own images with different dimensions to mine make sure you change that in the *.tmpl files
- When you change those dimensions upload new images :p (i forgot
countless times)
Code: Select all
<LINK REL=StyleSheet HREF="phpwcms_template/inc_css/article-display.css">
<div>
<table width="531" border="0" cellspacing="0" cellpadding="0">
<tr align="left">
<td width="531" height="61" valign="top" background="images/content-box_01.png" >
[TITLE]<p class="Title">{TITLE}</p>[/TITLE]
</td>
</tr>
<tr valign="top">
<td align="left" background="images/content-box_03.png" width="531px"><div align="left" style="margin: 0px 0px 0px 20px;">
<table width="511">
<tr>
<td colspan="2" align="left" valign="top">[SUB]<p class="Sub">{SUB}</p>[/SUB]</td>
</tr>
<tr>
<td align="center" valign="top">[IMAGE]<div align="center"><a href="{ARTICLELINK}">{IMAGE}</a></div>[/IMAGE]</td>
<td width="401" rowspan="2" valign="top"><div style="max-width: 390px"><p class="Summary" STYLE="word-wrap:break-word;width:390px;">{SUMMARY}</p></div></td>
</tr>
<tr>
<td colspan="2" align="left" valign="top">[CAPTION]<div align="left"><p class="Caption">{CAPTION}</p></div>[/CAPTION]</td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td background="images/content-box_05.png" width="531" height="44"><div style="margin: 0px 0px 10px 20px">[MORE]<a href="{ARTICLELINK}">{MORE}</a>[/MORE]<div><p class="Date"><strong>{DATE:Y-m-d:EN}</strong></p></div></div></td>
</tr>
</table>
</div>