Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
1 + 7 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: i want a hack for xf_news_block 1.5
by orgunozcu on 2007/8/7 15:47:07

nobody now php cod?? for example: if news.hometext get only between img and img/

a cod like that i need.
Re: i want a hack for xf_news_block 1.5
by orgunozcu on 2007/8/6 16:45:43

yes i want picture. ONLY PİCTURE.. but not topic pictude. you dont understand?? they are not topic pic !! they are article picture which are embedded in adticle..

doo you understand?
Re: i want a hack for xf_news_block 1.5
by attock on 2007/8/5 21:51:03

so you dont want the pictures?
Re: i want a hack for xf_news_block 1.5
by orgunozcu on 2007/8/5 15:39:14

firzt thanks for answer .. but you undirstand me wrong.. these picture are not topic picture... my news module news 1.44 embedded modul. in this modum if i attack a picture in a niws this picture auto embedded and shown in article. like here: http://www.konyaninsesi.com/haber .

so they are in article like so: CLİCK HERE TO SEE THAT HOW İS THE HTML COD İN NEWS 1.44 EMBEDDED MODULE
Re: i want a hack for xf_news_block 1.5
by attock on 2007/8/5 15:16:40

To change the width and height of the image, then changes
le="color: #000000"><?php <img src="<{$xoops_url}>/modules/news/images/topics/<{$news.image_display}>" alt="<{$news.title}>" />


to

le="color: #000000"><?php <img src="<{$xoops_url}>/modules/news/images/topics/<{$news.image_display}>" alt="<{$news.title}>" [b]height="YOUR_HEIGHT" width="your_width"[/b]/>


and get rid of:
le="color: #000000"><?php <{$news.hometext}><br /> <a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>"><{$news.readmorelink}></a>



so all together you should have the followings:
le="color: #000000"><?php <{foreach item=news from=$block.stories}> <div class="xf_block four"> <h1><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>"><{$news.title}></a></h1> <{if $news.image_display !=""}> <span style="float: <{$news.topicalign}>;margin-right: 15px; margin-top: 3px;"> <img src="<{$xoops_url}>/modules/news/images/topics/<{$news.image_display}>" alt="<{$news.title}>" height="your_height_here" width="your_width_here"/></span> <{/if}> </div><br /> <{/foreach}>

Who's Online

229 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

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

Latest GitHub Commits