Contentteller

Contentteller Support Forums
Home Forums > Contentteller > Version 1.x >

OK, template question

Discussion in 'Version 1.x' started by tngator, Sep 27, 2004.

  1. tngator Guest

    OK, template question

    I have the demo set up on a box here at home.....I brought in sections of a template (header only).....everything looks fine except everything that goes in the center (news, etc) is pushed over to the left. When you click on something like 'log in' or register, it is also aligned over to the left. Which template sets up the html for the news, etc?
    tngator, Sep 27, 2004
    #1
  2. tngator Guest

    OK, template question

    nevermind, figured that one out. OK, next question:

    how do you get news stories to only show like the title and @ the first sentence or so of the article? Do you just put a minimum amount of words in the first story box and then the rest in the extended news section?

    Also, how do you enable a small thumbnail photo to appear to the left of the story title on the front page?

    My last question: is it possible to have all of the news stories appear within the same box on the front (home) page? I have different sports categories set up and instead of them appearing in separate boxes, it would look cleaner if I could get them to appear in the same one on the front page eventhough they are from different categories.
    tngator, Sep 27, 2004
    #2
  3. Philipp Guest

    OK, template question

    Originally posted by tngator:
    how do you get news stories to only show like the title and @ the first sentence or so of the article? Do you just put a minimum amount of words in the first story box and then the rest in the extended news section?
    Yes

    Originally posted by tngator:
    Also, how do you enable a small thumbnail photo to appear to the left of the story title on the front page?
    To add a teaser image:
    1. News => Add
    2. Scroll down to Teaser Image
    3. Click on "Upload" and upload the images
    4. You need to change the news template:

    Find:
    Code:
    if ($insert[story_teaser]) $teaserline = "<img src="images/teaser/$insert[story_teaser]" border="0" align="right" hspace="10" vspace="10">";
    and replace with:
    Code:
    if ($insert[story_teaser]) $teaserline = "<img src="images/teaser/$insert[story_teaser]" border="0">";
    Find:
    Code:
    		<td bgcolor="#000084">
    			<font face="Verdana, Arial" color="#ffffff" size="2">
    				<b>$insert[story_title]</b>
    			</font>
    		</td>
    and replace with:
    Code:
    		<td bgcolor="#000084">$teaserline
    			<font face="Verdana, Arial" color="#ffffff" size="2">
    				<b>$insert[story_title]</b>
    			</font>
    		</td>
    Find:
    Code:
    		<td bgcolor="#ffffff">
    		 $teaserline
    			<font face="Verdana, Arial" size="2">
    				$insert[story_text]<br /><br />
    			</font>		
    		</td>
    and replace with:
    Code:
    		<td bgcolor="#ffffff">
    			<font face="Verdana, Arial" size="2">
    				$insert[story_text]<br /><br />
    			</font>		
    		</td>
    Originally posted by tngator:
    My last question: is it possible to have all of the news stories appear within the same box on the front (home) page? I have different sports categories set up and instead of them appearing in separate boxes, it would look cleaner if I could get them to appear in the same one on the front page eventhough they are from different categories.
    Yes, with template modifications. To find out which templates are used, view the page source in your browser.
    Philipp, Sep 28, 2004
    #3
Tweet
Facebook:
Forgot your password?
Contentteller Support Forums
Home Forums > Contentteller > Version 1.x >
  • Home
  • Forums

    Forums

    Quick Links
    • Search Forums
    • What's New?
  • Members

    Members

    Quick Links
    • Registered Members
    • Current Visitors
    • Recent Activity
  • Help

    Help

    Quick Links
    • Smilies
    • BB Codes
    • Trophies

Separate names with a comma.

Advanced search...
    Forum software by XenForo™ ©2011 XenForo Ltd.