- Posts: 6218
COMMUNITY FORUM
k2 Item image default
- JoomlaWorks
- Online
- Admin
Secondly, you need to make sure the format is correct - see how it's entered: jmp.sh/21xSJNU
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Makis Christopoulos
- Topic Author
- Offline
- New Member
- Posts: 19
Fotis wrote: First off, the image you reference is wrong - "www.flyingdads.gr/demo/images/Featured_articles/logo_panaxaikis_gia_site.png" throws a 404 error.
Secondly, you need to make sure the format is correct - see how it's entered: jmp.sh/21xSJNU
Fotis ,
i have fix the wrong image path , and also the format. Now it works like a charm.
Thank you !!!
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Online
- Admin
- Posts: 6218
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Makis Christopoulos
- Topic Author
- Offline
- New Member
- Posts: 19
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Online
- Admin
- Posts: 6218
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Makis Christopoulos
- Topic Author
- Offline
- New Member
- Posts: 19
Fotis wrote: You should be able to grab the category ID or name using $this->item->category->id or $this->item->category->name respectively, so get that, check the ID or name (whichever you want to use as differentiator) and then make an if/else statement to load a different default image.
Hello Fotis and Thank you for your help.
Can you syntax an example please.... Because I am newbie in this?
Thank you very much!!
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Online
- Admin
- Posts: 6218
If you're going beyond "point & click" tasks in Joomla, you'll need to grasp the basics of PHP.
Providing constant code examples is out of the scope of the support offered here.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Makis Christopoulos
- Topic Author
- Offline
- New Member
- Posts: 19
Thanks
Please Log in or Create an account to join the conversation.
- Makis Christopoulos
- Topic Author
- Offline
- New Member
- Posts: 19
I fix it!!
Thank you!!
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Online
- Admin
- Posts: 6218
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.