Problem With Category Images In Portal News


Subject: Problem With Category Images In Portal News
I changed the icon assigned to the (only one active at the moment) news category on my site. But it is not shown correctly...



snapper1164971324671


Just to help my helpers :kid: :

- Permissions on the file and path to image are set correctly.
- I do not have firewalls or adblockers active.
- In ACP >>> news categories the image is shown.
- I cleared both portal and templates cache.

Subject: Re: Problem With Category Images In Portal News
url?

Subject: Re: Problem With Category Images In Portal News
Zuker wrote: [View Post]
url?


answered in the other topic (but you can just look to my profile ;) )

Subject: Re: Problem With Category Images In Portal News
this file

http://www.kope.it/images/news/news_desk.png

it isn't on your server

Upload it and check

Subject: Re: Problem With Category Images In Portal News
Zuker wrote: [View Post]
this file

http://www.kope.it/images/news/news_desk.png

it isn't on your server

Upload it and check



Oh yes you're right... but because I changed the directory... in ACP all seems to be fine:


snapper1164978160484


And in news categories it appears correctly...


snapper1164978176093

Subject: Re: Problem With Category Images In Portal News
it seems solved now ;)

Subject: Re: Problem With Category Images In Portal News
Not actually... :D


I simply reset the images path to the default one and put the images there... but the problem's not solved: if I change the news category images path from the ACP, it doesn't change when it generates the news block ;)

Subject: Re: Problem With Category Images In Portal News
you don't have to change the path
Only upload the images to: images/news

And them create a category for them with an image uploaded there

Subject: Re: Problem With Category Images In Portal News
Zuker wrote: [View Post]
you don't have to change the path
Only upload the images to: images/news

And them create a category for them with an image uploaded there


Yes yes that's what I've done... I was just wondering why I have an option where I can choose the path but the path actually doesn't change :D

Subject: Re: Problem With Category Images In Portal News
You're right it is a bug... I'll solve it.

Subject: Re: Problem With Category Images In Portal News
Try this:

OPEN blocks_imp_news.php
FIND
Code: [Download] [Hide] [Select]
'THUMBNAIL' => $N_this->root_path . 'images/news/' . $news_cats[$j]['news_image'],

REPLACE WITH
Code: [Download] [Hide] [Select]
'THUMBNAIL' => $N_this->root_path . $board_config['news_path'] . '/' . $news_cats[$j]['news_image'],


Let me know it it works.


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1884s (PHP: 11% SQL: 89%)
SQL queries: 10 - Debug Off - GZIP Enabled