1
jimbofoxman
Content 0.5 Problem

I want to edit the main file that Content 0.5 uses to display the page with. I think it's CT_INDEX.HTML. Basically it displays the BLOCKTITLE on top in no particular font, style etc.

So I went to CT_INDEX.HTML in the /content/templates folder and removed what I thought the appropriate line was. Despite deleting all files in TEMPLATE_C and turning the UPDATE TEMPLATE option on in preferences, it still shows the BLOCK TITLE.

REMOVED:
<div class="blockTitle"><{$title}></div>


ORIGINAL:
<div class="blockTitle"><{$title}></div>
<
div class="blockContent">
     <{
$content}>
      <{if 
$xoops_isadmin == 1}>
     <
div align="right"><a href="<{$xoops_url}>/modules/content/admin/index.php?op=submit&return=1&id=<{$id}>"><img src="<{$xoops_url}>/modules/content/images/add.gif" alt="" border="0" align="absmiddle"></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<{$xoops_url}>/modules/content/admin/index.php?op=edit&id=<{$id}>&return=1"><img src="<{$xoops_url}>/modules/content/images/edit.gif" alt="" border="0" align="absmiddle"></a></div>
     <{/if}>

2
jimbofoxman
Re: Content 0.5 Problem

Bump

3
mmcindoe
Re: Content 0.5 Problem
  • 2006/8/24 3:50

  • mmcindoe

  • Just popping in

  • Posts: 4

  • Since: 2005/12/12


Rather than taking the lines out of the template code, try adding the style that you actually want from within your theme's style sheet. Here's the actual lines in my stylesheet that I used to control the appearance of the pages in Content:

div#content {text-align: left; padding: 8px;}
div#content .blockTitle {padding: 3px; color: #d01421; font-weight: bold; margin-top: 0px;}
div#content .blockContent {padding: 3px; margin-left: 2px; margin-right: 3px; margin-bottom: 2px; line-height: 120%}

I'm not using a special font for these, but you could easily add a different font through the style sheet.

Login

Who's Online

217 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 217


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits