|
uCoz Community » uCoz Modules » Site News & Blogs » Last News preview |
Last News preview |
Hi,
is it possible to create a preview for the news, that shows a picture and the title of the article. My idea is something like this Code http://www.tuttosport.com/ With the last new (big picture) and on the right the past news.. And when i publish another news it updates automatically. Thank you! Sorry for my english My site about betting: http://scommesse.ucoz.com
|
IoCiScommetto, You can create an informer to collect and process the information. More info can be found here: http://forum.ucoz.com/forum/37-457-1
To show the preview from what I know can only be achieved using custom coding. We do not provide support with custom coding here. Hope this helps ![]() Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 11 years and counting. |
Thanks for your answer, i already use informer, but i'd like to add an image and a particular style..
i try to search something on google.. if someone has an idea, write me! Thanks! My site about betting: http://scommesse.ucoz.com
|
If I have a news with an image how can i show it in the informer?
That's the code i use now: <table border="0" cellpadding="2" cellspacing="1" width="100%" class="infTable"><tr><td width="50%" style="font:7pt">[$DATE$]</td><td nowrap align="right" style="font:7pt"><?if($CATEGORY_NAME$)?>[<a href="$CATEGORY_URL$">$CATEGORY_NAME$</a>]<?endif?></td></tr><tr><td class="infTitle" colspan="2"><a href="$ENTRY_URL$">$TITLE$</a> <span title="Comments">(<a href="$COMMENTS_URL$"><b>$COMMENTS_NUM$</b></a>)</span></td></tr></table> If I want to add the image how should I do? Thank you for help! My site about betting: http://scommesse.ucoz.com
|
IoCiScommetto, embed this in the place you want the image to be displayed. You can set up your own width
Code <?if($IMG_URL1$)?><?if($IMG_SMALL_URL1$)?><img src="$IMG_SMALL_URL1$" width="80" /><?else?><img src="$IMG_URL1$" width="80" /><?endif?><?endif?> |
Thank you!
Last question: what's the differences between IMG and IMG SMALL? My site about betting: http://scommesse.ucoz.com
|
I inserted the code in the "Entry Page with Full Text and Its comments", but the images in the blog are not reduced. Why?
Code <table border="0" width="95%" cellspacing="1" cellpadding="2" class="eBlock"> <tr><td width="90%"><div class="eTitle"><div style="float:right;font-size:9px;">$ADD_TIME$ $MODER_PANEL$</div>$ENTRY_NAME$</div></td></tr> <tr><td class="eMessage">$MESSAGE$ <?if($ATTACHMENTS$)?><div style="text-align:left;" class="eAttach"><!--<s3172>-->Allegati<!--</s>-->: $ATTACHMENTS$</div><?endif?></td></tr> <tr><td class="eDetails"> <!-- ======================== I inserted this code ======================== --> <?if($IMG_URL1$)?><?if($IMG_SMALL_URL1$)?><img src="$IMG_SMALL_URL1$" width="80" /><?else?><img src="$IMG_URL1$" width="80" /><?endif?><?endif?> <!-- ======================== I inserted this code ======================== --> <?if($RATING$)?><div style="float:right"><?$RSTARS$('12','/.s/img/stars/3/12.png','1','float')?></div> <?endif?><?if($CAT_NAME$)?><!--<s3179>-->Categoria<!--</s>-->: <a href="$CAT_URL$">$CAT_NAME$</a> |<?endif?> <!--<s3177>-->Visto<!--</s>-->: $READS$ | <!--<s3178>-->Aggiunto da<!--</s>-->: <a href="$PROFILE_URL$">$USER$</a> <?if($TAGS$)?> | <!--<s5308>-->Tags<!--</s>-->: $TAGS$<?endif?> <?if($RATING$)?>| <!--<s3119>-->Voto<!--</s>-->: <span id="entRating$ID$">$RATING$</span>/<span id="entRated$ID$">$RATED$</span><?endif?></td></tr> </table> |
| |||
| |||