Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 04-08-2005 07:13:22

pennyswc
Member
From: Staffordshire, UK
Registered: 08-31-2004
Posts: 136
Website

Different Category Displays

Hi

First of all, before I launch into my question can I please mention how much I like this product & how pleased I have been with the service offered by Greenbarn web and their support partners.
I have noticed that a number of people have been using this forum lately to vent off their frustrations (at their own inabilities?).
CCP is a great product and 'does what it says on the tin' as they say.

* End of rant! *

I feel a little bit better now.

My site [removed link] which is under development, has many different categories.

One of the main categories is the shop - no problems there.

The remaining categories are information based, and as such I would like to remove the
- shop header (store home | search | checkout | shopping cart ) and the
- the store heads. (in this case the banner saying 'products')

Can this be done?

If you are looking at my site to get a feel for what I mean, the Glossary section in the navigation is the only information section that is up and running.

I hope this is possible!

Thanks
Penny

Offline

 

#2 04-08-2005 08:42:20

GreenbarnWeb
Banned
Registered: 09-23-2003
Posts: 2743
Website

Re: Different Category Displays

Hi Penny,

Add your own html use page via the admin

Reference Name: ste_cat1

HTML Page Name: cat1

Page Content:
(CGIGET TYPE="SUB" VALUE="ste_cat_desc")

(CGIGET TYPE="SUB" VALUE="ste_cat_disp")

(CGIGET TYPE="SUB" VALUE="ste_prod_disp")

(CGIGET TYPE="SUB" VALUE="ste_cart_shop")

Title Image Name: title_store.gif

Use Title Image: Yes

Then in the link to that category change:
From:
&pg=cat&ref=glossary

To:
&pg=cat1&ref=glossary

Ps Thanks for the rant

Offline

 

#3 04-08-2005 17:04:56

keithw
Member
Registered: 04-20-2004
Posts: 19

Re: Different Category Displays

I would like to point out that Howard told me that this Forum was the place to put frustrations!

I am also please with the product and I have never said I was not! Just a lack of replies.

Offline

 

#4 04-11-2005 04:26:39

pennyswc
Member
From: Staffordshire, UK
Registered: 08-31-2004
Posts: 136
Website

Re: Different Category Displays

Howard, that is a fantastic idea, thank you.

The principle behind it works a treat, however quite crucially the information under the Product Categories header is not specific to the Gallery category.

I carn't for the life of me think what I need to enter into my new page to specify that I want to display the sub categories of the Gallery category.

To show you what I mean, here is a link to the site. In the navigation there is a link to the OLD gallery and a link to the NEW gallery.




Would you mind just helping me out with this one please?

Offline

 

#5 04-11-2005 08:57:43

pennyswc
Member
From: Staffordshire, UK
Registered: 08-31-2004
Posts: 136
Website

Re: Different Category Displays

Just bumping this back up (sorry !) just paranoid that is going to slip to the bottom! 

Offline

 

#6 04-12-2005 04:52:57

GreenbarnWeb
Banned
Registered: 09-23-2003
Posts: 2743
Website

Re: Different Category Displays

Hi

You should be able to determine the product and category layout via the category settings.

Offline

 

#7 04-12-2005 05:04:46

pennyswc
Member
From: Staffordshire, UK
Registered: 08-31-2004
Posts: 136
Website

Re: Different Category Displays

Hi Howard,

before I made a new ste_cat page the glossary category was displaying it's sub categories, but with the store head and title.

We've got rid of the store head and title, great!, but on the ste_catglos page that I created the (CGIGET TYPE="SUB" VALUE="ste_cat_disp") command is showing the parent level of categories, and not the sub categories on the Glossary.

I can't just get my head around how I instruct the site to display the sub categories of the glossary.

This is my link to my new ste_catglos page

This is my old link to the ste_cat

I would expect that you would need to look at the site to see what it is I mean ? There are links on there to the old and new glossary sections.

I'll be forever grateful!

Offline

 

#8 04-12-2005 06:04:47

GreenbarnWeb
Banned
Registered: 09-23-2003
Posts: 2743
Website

Re: Different Category Displays

Hi

Make that category a sub-category of another category say glos-main, then set the product and category listing in the glos-main.

Offline

 

#9 04-13-2005 04:02:45

pennyswc
Member
From: Staffordshire, UK
Registered: 08-31-2004
Posts: 136
Website

Re: Different Category Displays

I'm fast approaching my whits end on this one now.  :-(

The copy of the ste_cat page (ste_catglos) is not working as the ste_cat page does.
It does not process the request to view the category that is passed to it in the link, in this case the glossary category.
Instead it shows the parent categories that are selected to be shown on the store splash page.

Presumably ste_catglos does not have the support of the perl scripts that ste_cat does.

can i fix this?

can you fix this?

Offline

 

#10 04-13-2005 04:15:17

pennyswc
Member
From: Staffordshire, UK
Registered: 08-31-2004
Posts: 136
Website

Re: Different Category Displays

(knowing alarmingly little about perl...)

From ste_cat.pl

#########
######### If the page is not 'cat' then we're calling this routine
######### from the splash page and need to use those variables.
#########

if ($fd_pg ne "ste_cat") {

$catdisp_columns = "$store_noncat_catcount";
$catdisp_display = "$store_noncat_catdisp";

$found_count++;

Assuming the line "if ($fd_pg ne "ste_cat")" means  if i changed this to say would that do the trick?

If so, how do i write that?

And would anything else need changing?

Offline

 

#11 04-14-2005 07:09:00

pennyswc
Member
From: Staffordshire, UK
Registered: 08-31-2004
Posts: 136
Website

Re: Different Category Displays

Please?

Offline

 

#12 04-14-2005 11:23:14

GreenbarnWeb
Banned
Registered: 09-23-2003
Posts: 2743
Website

Re: Different Category Displays

Hi Penny

Make that category a sub-category of another category say glos-main, then set the product and category listing in the glos-main.

Go to the glos-main category and then to the glossary category from this page, this will then link you need something like

(CGIVAR)common_url(/CGIVAR)&pg=catglos&ref=glossary &catstr=HOME:glos-main

Offline

 

#13 04-15-2005 03:57:30

pennyswc
Member
From: Staffordshire, UK
Registered: 08-31-2004
Posts: 136
Website

Re: Different Category Displays

I've have done exactly what you said, and yes the glos-main category does call in the glossary category BUT importantly the category display that is shown is exactly the same - the category display that would be displayed on the store splash page.

I am assuming that this is because in the ste_cat.pl script says (to the best of my knowledge)

#########
######### If the page is not 'cat' then we're calling this routine
######### from the splash page and need to use those variables.
#########

if ($fd_pg ne "ste_cat") {

$catdisp_columns = "$store_noncat_catcount";
$catdisp_display = "$store_noncat_catdisp";

$found_count++;

This is the route of my problem, i've mastered removing the store heading etc.. using the methods you have very kindly suggested (thank you!) but I do now need to over come this little section in the perl script.

Presumable I need to include the ste_catglos page that I have set up in the script so that is says

Again crucially, I don't know how to write that little bit of perl!

I'm going to open a new forum question on this one, as my topic has changed slightly & hopefully that will draw in more replies so I don't have to sponge so much of your time Howard. Thank you.

Offline

 

Board footer