This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

OK, template question


avatar
tngator 0
From: -
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?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: OK, template question
avatar
Administrator
1340
From: Vienna, Austria
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:
if ($insert[story_teaser]) $teaserline = "<img src="https://www.contentteller.com/images/teaser/$insert[story_teaser]" border="0" align="right" hspace="10" vspace="10">";


and replace with:
if ($insert[story_teaser]) $teaserline = "<img src="https://www.contentteller.com/images/teaser/$insert[story_teaser]" border="0">";


Find:
             <td bgcolor="#000084">

<font face="Verdana, Arial" color="#ffffff" size="2">
<b>$insert[story_title]</b>
</font>
</td>


and replace with:
               <td bgcolor="#000084">$teaserline

<font face="Verdana, Arial" color="#ffffff" size="2">
<b>$insert[story_title]</b>
</font>
</td>


Find:
           <td bgcolor="#ffffff">

$teaserline
<font face="Verdana, Arial" size="2">
$insert[story_text]<br /><br />
</font>
</td>


and replace with:
               <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.
1 Re: OK, template question
avatar
OP 0
From: -
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.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.