Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes
Author Message
spiders
Regular
Regular



Joined: Jun 05, 2006
Posts: 90
Location: Aachen / Germany

PostPosted: Tue Nov 24, 2009 9:37 am Reply with quote

Hi,
if the topic images dependent on Themes in RavenNuke 2.4?

greetz
Spiders

_________________
http://www.m2-medias.de >> the global Web Content Management Services
http://raven24.m2-medias.de/ >> My Raven24 Testside 
View user's profile Send private message Visit poster's website
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Nov 24, 2009 10:27 am Reply with quote

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. 
View user's profile Send private message
spiders







PostPosted: Tue Nov 24, 2009 10:30 am Reply with quote

It's a pity.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Wed Nov 25, 2009 8:35 am Reply with quote

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! 
View user's profile Send private message Visit poster's website
spiders







PostPosted: Wed Nov 25, 2009 8:38 am Reply with quote

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







PostPosted: Wed Nov 25, 2009 9:12 am Reply with quote

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







PostPosted: Wed Nov 25, 2009 9:28 am Reply with quote

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. Wink 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







PostPosted: Wed Nov 25, 2009 9:57 am Reply with quote

OK, thanks Smile
This is a good idea...

cheers
Spiders
 
xGSTQ
Involved
Involved



Joined: Feb 03, 2006
Posts: 269

PostPosted: Mon Dec 14, 2009 5:08 am Reply with quote

Spiders, You need to check your PM's please
 
View user's profile Send private message Send e-mail
spiders







PostPosted: Mon Dec 14, 2009 7:42 am Reply with quote

you have pm Wink
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©