Author |
Message |
spiders
Regular


Joined: Jun 05, 2006
Posts: 90
Location: Aachen / Germany
|
Posted:
Tue Nov 24, 2009 9:37 am |
|
|
|
 |
Palbin
Site Admin

Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Tue Nov 24, 2009 10:27 am |
|
No. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
 |
spiders

|
Posted:
Tue Nov 24, 2009 10:30 am |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
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. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
spiders

|
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

|
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

|
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

|
Posted:
Wed Nov 25, 2009 9:57 am |
|
OK, thanks
This is a good idea...
cheers
Spiders |
|
|
|
 |
xGSTQ
Involved


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

|
Posted:
Mon Dec 14, 2009 7:42 am |
|
you have pm  |
|
|
|
 |
|