PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost How do I...? (http://www.photopost.com/forum/reviewpost-how-do-i/)
-   -   RP3.3 Category Intros (http://www.photopost.com/forum/reviewpost-how-do-i/127444-rp3-3-category-intros.html)

Zigw September 23rd, 2006 08:58 PM

RP3.3 Category Intros
 
Hi Chuck,

We'd like to enable category intros, but I'm not sure how they work. I entered an Intro Title and some Intro Text in the category editor form, and enabled Category Intro, but I don't see it when viewing the category. What am I doing wrong? I couldn't find a global admin option that would disable them. Is there one? We're running RP3.3.

Thanks,
Zig

Chuck S September 23rd, 2006 09:56 PM

Hello

If you do the cat into in admin category editor it should show when viewing the category in showcat script

Zigw September 24th, 2006 10:12 AM

Well, I don't see it anywhere when viewing the category. I've checked our copy of showcat.php. It matches the 3.3 distribution. What else should I check?

Quote:

Originally Posted by Chuck S (Post 1172854)
Hello

If you do the cat into in admin category editor it should show when viewing the category in showcat script


Chuck S September 24th, 2006 06:08 PM

http://www.reeftalk.com/reviews/index.php/cat/39

I show that it works fine I would need more info maybe a url here.

I think the issue here though is the whole thought of the feature and how it works. Basically it was designed for parent categories which have subcategories which as we know are served via the index.php file. Now if you want category intro's for categories that do not have subcats for I think you might want to do this simple edit in showcat.php add in bold.

Code:

Content visible to verified customers only.

Zigw September 25th, 2006 09:39 AM

Hi Chuck,

Thanks for you fast response!

This mod works, but only if I set "Contains Products" in the category with the intro to "No". When I do this, I can see the Intro title and text, but it causes an unwanted side-effect: The categories with intros are listed in the index with a dark grey background with an expand/contract button (+/-) while categories without intros are in light grey without the +/- button. We also don't get the number of products and review stats displayed for categories with intros either. We have the depth of categories to display set to 3 (maximum category depth of our implementation).

I'm not sure yet if this is acceptable. Is there any way we can get the intros without changing the way the index is displayed?

Thanks,
Zig


Quote:

Originally Posted by Chuck S (Post 1172912)
http://www.reeftalk.com/reviews/index.php/cat/39

I show that it works fine I would need more info maybe a url here.

I think the issue here though is the whole thought of the feature and how it works. Basically it was designed for parent categories which have subcategories which as we know are served via the index.php file. Now if you want category intro's for categories that do not have subcats for I think you might want to do this simple edit in showcat.php add in bold.

Code:

Content visible to verified customers only.


Chuck S September 25th, 2006 11:19 AM

actually just replace $hasintro with $catinfo['intro'] in the query define at top of showcat.php

Zigw September 25th, 2006 11:45 AM

Thanks Chuck! That did the trick. Do I still need the first mod?


Quote:

Originally Posted by Chuck S (Post 1173021)
actually just replace $hasintro with $catinfo['intro'] in the query define at top of showcat.php


Chuck S September 25th, 2006 11:46 AM

yes of course


All times are GMT -5. The time now is 01:59 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97