1
sova
problem in xnews
  • 2013/8/4 19:13

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


In the Xnews module
does not show the article Picture

This is news picture Code:
<{$articlePicture}>

2
timgno
Re: problem in xnews
  • 2013/8/5 13:18

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Can you tell me in what file it is, that variable smarty?

3
sova
Re: problem in xnews
  • 2013/8/5 19:22

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


this code:
<table cellpadding="0" cellspacing="0" class="item" width="100%">
    <
tr>
        <
td>
            <
table cellpadding="0" cellspacing="0" width="98%">
                <
tr>
                    <
td class="itemHead">
                        <
span class="itemTitle">
                            <{
$story.topic_title}> 
                            <{
$story.topic_separator}> 
                            <{
$story.news_title}>
                        span>
                    td>
                tr>
                <
tr>
                    <
td class="itemInfo">
                        <{if 
$story.files_attached}>
                            <{
$story.attached_link}>
                            &
nbsp;
                        <{/if}>
                        <
span class="itemPoster">
                            <{
$lang_postedby}> 
                            <{
$story.poster}>
                        span
                        <
span class="itemPostDate">
                            <{
$lang_on}> 
                            <{
$story.posttime}>
                        span
                        (<
span class="itemStats">
                            <{
$story.hits}> 
                            <{
$lang_reads}>
                        span>) 
                        <{
$news_by_the_same_author_link}>
                    td>
                tr>
                <
tr>
                    <
td class="itemBody">
                        <{
$story.imglink}>
                        <{if 
$articlePicture != ''}>
                            <
img src="<{$articlePicture}>" alt="" align="left" style="margin-right: 5px; margin-bottom: 5px" />
                        <{/if}>
                        <
class="itemText"><{$story.text}>p>
                    td>
                tr>
                <
tr>
                    <
td class="itemFoot">
                        <
span class="itemAdminLink">
                            <{
$story.adminlink}>
                        span>
                        <{if 
$rates}>
                            <
b><{$lang_ratingc}>b
                            <{
$story.rating}> 
                            (<{
$story.votes}>) - 
                            <
a href="<{$newsmodule_url}>/ratenews.php?storyid=<{$story.id}>" rel="nofollow">
                                <{
$lang_ratethisnews}>
                            a> - 
                        <{/if}>
                        <
span class="itemPermaLink">
                            <{
$story.morelink}>
                        span>
                    td>
                tr>
            table>
        td>
    tr>
table>

4
timgno
Re: problem in xnews
  • 2013/8/5 21:35

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I think there is a small bug for this.

I can not find the php code for this variable smarty.

When I have time I will look better
but you'd better explain to me how you use it?

Login

Who's Online

318 user(s) are online (211 user(s) are browsing Support Forums)


Members: 0


Guests: 318


more...

Donat-O-Meter

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

Latest GitHub Commits