news question

Support for IntegraMOD 140

Moderator: Integra Moderator

news question

PostAuthor: nikoz » Tue May 23, 2006 2:42 am

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
Last edited by nikoz on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

nikoz
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Mon May 22, 2006 3:17 am
Cash on hand: 0.00

Re: news question

PostAuthor: Adrian Rea » Tue May 23, 2006 4:59 am

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
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

PostAuthor: nikoz » Tue May 23, 2006 5:47 am

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 ..
Last edited by nikoz on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

nikoz
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Mon May 22, 2006 3:17 am
Cash on hand: 0.00

PostAuthor: Adrian Rea » Tue May 23, 2006 7:09 am

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
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

PostAuthor: nikoz » Tue May 23, 2006 11:49 am

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
Last edited by nikoz on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

nikoz
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Mon May 22, 2006 3:17 am
Cash on hand: 0.00

Re: news question

PostAuthor: Dragonsys » Tue May 23, 2006 12:00 pm

it is possible, as they do it on this site - http://www.code2all.com
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: tmotley » Tue May 23, 2006 1:16 pm

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.
Last edited by tmotley on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:56 am
Cash on hand: 0.00
Location: Missouri, USA


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot]