-
AuthorPosts
-
July 19, 2007 at 12:15 am #121495
Hi There,
I am trying to edit the template so the JA News in ja-tab show the news in the front page so that instead of the image of the top story appears, the image associated with that certain category shows up…
Can anyone point me to the right direction where I may be able to change that?
Thanks
Hieu Nguyen AdminHieu Nguyen
- Join date:
- November 2005
- Posts:
- 678
- Downloads:
- 36
- Uploads:
- 0
- Thanks:
- 69
- Thanked:
- 61 times in 1 posts
July 19, 2007 at 1:55 am #224556You can open modules/mod_janews.php to modify ja news. But remember to create a backup first.
July 19, 2007 at 3:05 am #224562Thanks for the quick reply. I found the function processImage but not too sure how i would go to have it look for the image under the category folder instead of the stories one.
Any further help is appreciated.
June 11, 2008 at 10:21 pm #253157I am also trying to do this can anyone assist?
June 12, 2008 at 9:34 am #253220bumping – JA support not one of the 5 queries I’ve posted have received a solution, and its getting really irritating.
I would even settle for an if statement that links the catagory id to a static image hardcoded into the blogitem.php if someone could tell me how to do it, but i need a response please.
irmaar Friendirmaar
- Join date:
- April 2008
- Posts:
- 56
- Downloads:
- 22
- Uploads:
- 5
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
June 12, 2008 at 12:09 pm #253250I have the same problem, for days I try to find a solution but anyone cant help me.
irmaar Friendirmaar
- Join date:
- April 2008
- Posts:
- 56
- Downloads:
- 22
- Uploads:
- 5
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
June 12, 2008 at 12:16 pm #253254a couple of days ago someone told me this, but not how to do
Quote:
Originally Posted by irmaar
Its possible in the ja news module top put always the same picture? The picture has to be in the module not in the article article.I am curious why you want to do this. Did you plan on retaining the “auto-slide” front page component of the JA News?
One possibility
You can just clone one of the standard modules, and replace the contents of the module with
Code:
<a href=”(link url here)”><img src=”img url here” widht=”” height=”” alt=””></a>via the html edit option.the link url could be => http://mysite.com/aboutus.html
“img url” could be =>http://mysite.com/feature-img.jpg
for example.
Place the module just above the JA News.
Cornelio
June 12, 2008 at 1:10 pm #253256Thank you for trying to assist, but that wont work as I want a different image for each catagory and I have 6 catagories in 2 columns.
I figure if there was an if statement in the bloglist.php file that said
If catagory id = X then
show image X (direct url link)
else if Y then
show image YI can get a single image to repeat 6 times currently, but do not have the skills to work out how to make it check the catagory id. This is why I joined a template club rather than just downloading a free template, in the mistaken belief that some level of support was part and parcel of my membership fee.
irmaar Friendirmaar
- Join date:
- April 2008
- Posts:
- 56
- Downloads:
- 22
- Uploads:
- 5
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
June 12, 2008 at 1:59 pm #253260I need the same thing, that the module news ja take the image of the category rather than the latest news.
I try to make some changes, but none worked. :((
honestly I do not have much knowledge about joomlaJune 12, 2008 at 9:07 pm #253329bumping……
-
AuthorPosts
This topic contains 11 replies, has 4 voices, and was last updated by skewered 16 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum