Page 1 of 1
news question

Posted:
Tue May 23, 2006 2:42 am
Author: nikoz
Hi.
I have enabled Integranews, I have posted an article and its working fine. I can see it in the home page in the Integranews block. My question is
1)i have attached a photo with my article. Can this photo be appeared in the home page along with the article or it appears only after clicking the topic?
2)Can I change the names for Index | Categories | Archives ?
thanx
Re: news question

Posted:
Tue May 23, 2006 4:59 am
Author: Adrian Rea
I found in languagelang_englishlang_news.php
- Code: Select all
$lang['Articles'] = 'Articles';$lang['Archives'] = 'Archives';$lang['Categories'] = 'Categories';
but this uses the term Articles and not Index as you point out above. So I looked in the templates/fisubice/blocks/news_block.tpl to find;
- Code: Select all
<div class="nav" style=" padding]So I did more digging and you can change [code]<a>{L_INDEX}</a>[/code]to[code]<a>{L_ARTICLES}</a>[/code]but this lang item is also used by the KB mod, so you either need to be careful or set a new lang key. If desperate you could hard code the name in to make it[code]<a>News Items</a>
but this is only if you use one language.
A

Posted:
Tue May 23, 2006 5:47 am
Author: nikoz
That was awsome Adrian.! Really hepfull. ! Now i know how to change some other stuff.
But concerning my 1st question, is that possible you think ??
Thanx ..

Posted:
Tue May 23, 2006 7:09 am
Author: Adrian Rea
image shown as a URL? is there any reference to it? Is the image in the first part of your text, remember thta there is a cropping of text if set that way in the news config. Would you post or pm a link si we can see the issue?
A

Posted:
Tue May 23, 2006 11:49 am
Author: nikoz
Unfortunatelly i cant post a link of my site because i am working it locally. What I do is
Go to forum->Select category news->Write the article->attach a a picture. ->Submit. Back to portal.php page my article will appear fine in the news block BUT without the picture.In order to see the picture i have to click on the article title where it will show me the whole article and the picture above. What i want is in the portal.php(home) page in the news block to appear the picture with the article. I hope i was more clear this time
(sorry english is not my 1st language)
thanx again for your time
Re: news question

Posted:
Tue May 23, 2006 12:00 pm
Author: Dragonsys
it is possible, as they do it on this site -
http://www.code2all.com

Posted:
Tue May 23, 2006 1:16 pm
Author: tmotley
I just posted an image to the news block on my site without any issues.
When you say "I have attached a photo with my article." do you mean attached or are you using the img tags? Perhaps the attachment is being 'cropped' by the news block?
Using the img tags works perfectly on my site.