| Author |
Message |
spiders Regular


Joined: Jun 05, 2006 Posts: 90 Location: Aachen / Germany
|
Posted:
Tue Nov 24, 2009 9:37 am |
|
Hi,
if the topic images dependent on Themes in RavenNuke 2.4?
greetz
Spiders |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Tue Nov 24, 2009 10:27 am |
|
|
|
 |
spiders Regular


Joined: Jun 05, 2006 Posts: 90 Location: Aachen / Germany
|
Posted:
Tue Nov 24, 2009 10:30 am |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Wed Nov 25, 2009 8:35 am |
|
spiders, since article listings and articles are controlled by the theme, it IS in fact possible for a given theme to use images in the theme directory rather than under images/topics. In addition, if you place your topic images within the directory themes/Your_Theme_Name/images/topics even the Topics module will recognize that and present those images instead. |
|
|
|
 |
spiders Regular


Joined: Jun 05, 2006 Posts: 90 Location: Aachen / Germany
|
Posted:
Wed Nov 25, 2009 8:38 am |
|
| montego wrote: | | spiders, since article listings and articles are controlled by the theme, it IS in fact possible for a given theme to use images in the theme directory rather than under images/topics. In addition, if you place your topic images within the directory themes/Your_Theme_Name/images/topics even the Topics module will recognize that and present those images instead. |
Hi montego this doesn´t work at my localhost Xampp 1.7.2 Server / Windows 7 Home Premium Edition....
(Raven 2.4)
cheers
Spiders |
|
|
|
 |
spiders Regular


Joined: Jun 05, 2006 Posts: 90 Location: Aachen / Germany
|
Posted:
Wed Nov 25, 2009 9:12 am |
|
Ok, my mistake.
I have been guided by the fisubice and Ravenice theme.
In this themes the function with "Theme Topic Image" doesn´t work, cos this code is missing there:
| Code: |
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
|
|
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Wed Nov 25, 2009 9:28 am |
|
spiders, I never said that OUR provided themes have the code for this. I was merely making the point that with RN, it IS in fact possible to have theme-specific topic images. If the Topics module hadn't had provisions for it, I would have agreed with Palbin.
Since themes are very unique to your needs/desires, we just assume that pretty much everyone "tweaks" our themes to their needs. Feel free to do so.
However, it would certainly not hurt for us to include this capability within a few (if not all) of our themes, so I will add this as an enhancement request for future consideration. |
|
|
|
 |
spiders Regular


Joined: Jun 05, 2006 Posts: 90 Location: Aachen / Germany
|
Posted:
Wed Nov 25, 2009 9:57 am |
|
OK, thanks
This is a good idea...
cheers
Spiders |
|
|
|
 |
xGSTQ Involved


Joined: Feb 03, 2006 Posts: 267 Location: UK
|
Posted:
Mon Dec 14, 2009 5:08 am |
|
Spiders, You need to check your PM's please |
|
|
|
 |
spiders Regular


Joined: Jun 05, 2006 Posts: 90 Location: Aachen / Germany
|
Posted:
Mon Dec 14, 2009 7:42 am |
|
you have pm  |
|
|
|
 |
|
|
|
|