#1 (permalink)  
Old 02-03-2008, 10:37 AM
Registered User
 
Join Date: Jan 2008
Posts: 46
twomiracles is on a distinguished road
Default Category image location

I would like to make the category image show up on the category page, but not the index page. I thought I could find the code, remove it from the front page and copy it to the category page, but I can't find it.

Thanks for any help!

P.S. Banners are working now, thanks!
Reply With Quote
  #2 (permalink)  
Old 02-03-2008, 12:36 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

What you want should be found in category.class.php
Reply With Quote
  #3 (permalink)  
Old 02-03-2008, 12:42 PM
Registered User
 
Join Date: Jan 2008
Posts: 46
twomiracles is on a distinguished road
Default

But where is that ?
Reply With Quote
  #4 (permalink)  
Old 02-03-2008, 12:55 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

Is it that hard to look for it? Try /lib/
Reply With Quote
  #5 (permalink)  
Old 02-03-2008, 12:58 PM
Registered User
 
Join Date: Jan 2008
Posts: 46
twomiracles is on a distinguished road
Default

I did look, thanks. I looked in several folders, but apparently not the right one. Is it that hard to give a path?
Reply With Quote
  #6 (permalink)  
Old 02-03-2008, 05:09 PM
Registered User
 
Join Date: Jan 2008
Posts: 46
twomiracles is on a distinguished road
Default

Well, I never figured out how to move it, but I just used a custom header and added a banner in that code. I'll just have to manually code each custom header/banner for the category, but it's no big deal.

Thanks!
Reply With Quote
  #7 (permalink)  
Old 03-31-2008, 10:52 PM
esm's Avatar
esm esm is offline
Active Member
 
Join Date: Apr 2003
Location: Atlanta GA
Posts: 3,411
esm is on a distinguished road
Default

Code:
Content visible to License Owner only.

I'm not sure if it what he was looking for but it may help someone who reads this later:

the default category image is set in the setting.php file located in the themes/kosmos folder
$cat_default_image = $site_url.'/themes/'.$active_theme.'/images/folder.gif';

then in index.php and browse.php the default image is set with the following line
$category_obj->default_image = $cat_default_image;

The above will use the same image for all cats and subcats.

of course you can set a different cat image from the subcat image.

And if you edit the category in the Admin Control Panel, you can set a specific image for any category to override the default cat or subcat image.



.
__________________
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

.

Last edited by esm; 03-31-2008 at 10:58 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image map for IndexU category list Bruceper Blocks and Modification 6 01-29-2008 01:30 AM
Image for Category Listing L.Murugesan Tutorials, Hints & Tips 0 05-26-2007 11:32 PM
Admin Who's Online Location mbarnett v5.x 4 08-23-2006 07:49 AM
IP and Location are not showing up Aircut v5.x 0 10-22-2004 12:29 AM
is anyone using the category image field? esm v5.x 3 06-29-2004 05:12 AM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 02:27 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate