hideCategories

Views: 105,228

Results 141 to 160 of 488
30 Apr 2008, 7:52 PM
#141
gchalk avatar

gchalk

New Zenner

Join Date:
Jan 2008
Posts:
16
Plugin Contributions:
0

hideCategories

s_mack:

  1. Fully hidden: This setting hides it from the two places above, but also from the "all products", "new products", "featured products" links as well as the search function and the bestsellers sidebox. NOTE That is all! There may be other places that it shows up that we don't use!!!
  • Steven

I would like to thank-you for the Mod, it solves some of the challenges I was facing.

I created a fully hidden category and have found that those items still show in the 'New Products Center Box' Does anyone know of an easy way to hid items from there?? I notice above it says it excludes them from the side box, but doesn't mention the center box.

any thoughts??

Geoff

--
https://www.thefoxworthystore.com

1 May 2008, 2:19 AM
#142
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

tips are in the readme.

18 May 2008, 9:47 PM
#143
rjspomer avatar

rjspomer

Zen Follower

Join Date:
Jan 2008
Posts:
173
Plugin Contributions:
0

Re: hideCategories

Hi Steven,

Great Contrb. Works great since I offer custom made to order products. This gives me the way to put together a special product quantity discount, color or what have you and then send an email with a link letting the customer purchase using their CC via the internet.

One question is there an easy way to get the URL of the hidden product. Right now I make the product and then look for it with out hiding it. copy the url in the browser and save it and then hide the product.

Just wondering if there is an easier way.

Thanks RJ

19 May 2008, 12:26 AM
#144
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

well, yeah... the url's for your product always follow the same pattern. Go to any of your products, and the URL will contain the product ID. The product IDs of your various products are shown in your admin section. So if you know the product ID then making a link should be easy from there. Your way works too :) Other than that... no, I guess not.

  • Steven
19 May 2008, 1:20 AM
#145
rjspomer avatar

rjspomer

Zen Follower

Join Date:
Jan 2008
Posts:
173
Plugin Contributions:
0

Re: hideCategories

Thanks Steven,

Now I do have a problem. I have check and double checked and I do have all the files in place. I get this

Fatal error: Call to undefined function zen_get_generated_category_path_rev() in /home/rjfinewo/public_html/store/includes/modules/iC_AcadameV1.2/product_listing.php on line 171

This is on catagorie page. When you click on the catagory you get this.

Try this http://www.rjfinewood.com/store

Help!!

19 May 2008, 4:02 AM
#146
rjspomer avatar

rjspomer

Zen Follower

Join Date:
Jan 2008
Posts:
173
Plugin Contributions:
0

Re: hideCategories

It is working now.

I downloaded the 1.10 version for 1.38. I have 1.37 installed. The newer product_listing.php did not work in 1.37.

One other note the file in includes/template/your template/sideboxes/tlp_catagories had to be merge together with the one that was used for the template that I am using. This was done to keep the formating.

Again I want to say this is a great!! mod. :clap:

RJ

30 May 2008, 3:29 PM
#147
ed89 avatar

ed89

New Zenner

Join Date:
Mar 2007
Posts:
33
Plugin Contributions:
0

Re: hideCategories

Thanks for this mod. Perfect for what we require. The only (small) issue I have is that it seems to have added a <br> tag after each list item on the categories menu. Where can I remove this?

Thanks!

30 May 2008, 6:51 PM
#148
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

Hmm... odd.

The readme file contains a list of all the modified files. You can compare each to the original and try to see where that's being introduced. I'm sorry I haven't looked at the files in a very long time now so I can't say off the top of my head where that behavior is coming from. I can't say for sure its my contrib doing it, but I can't say its not either. I'm just too busy with work right now to look it up for you. If you find it, please post.

  • Steven
3 Jul 2008, 7:22 PM
#149
d1rage5 avatar

d1rage5

Zen Follower

Join Date:
Jan 2008
Location:
Roswell, Ga USA
Posts:
144
Plugin Contributions:
0

Re: hideCategories

ok i have merged the files that need merging, uploaded all files and re checked and when i go into admin area under cat/pro then add a new cat or edit one i do not see the option to hide.
I ran the sql and two items were sussfull.

What am i missing?

i am on the latest version 1.3.8a

4 Jul 2008, 2:27 PM
#150
d1rage5 avatar

d1rage5

Zen Follower

Join Date:
Jan 2008
Location:
Roswell, Ga USA
Posts:
144
Plugin Contributions:
0

Re: hideCategories

MOTAS:

I use the table prefixes in my client's cart, because there are other things going on in the database, and had a problem getting this contrib to run out of the box. I found out there is a simple code fix to two files:
./includes/templates/YOUR_TEMPLATE/templates/tpl_products_all_default.php
LINE 24

$products_all_query_raw = preg_replace('/, ' . TABLE_PRODUCTS_DESCRIPTION . ' pd(\s*)WHERE/', ' LEFT JOIN ' . TABLE_HIDE_CATEGORIES . ' h ON (p.master_categories_id = h.categories_id), ' . TABLE_PRODUCTS_DESCRIPTION . ' pd WHERE (h.visibility_status < 2 OR h.visibility_status IS NULL) AND', $products_all_query_raw);
> 
> *./includes/templates/YOUR_TEMPLATE/templates/tpl_products_new_default.php*
> LINE 24
> ```
	$products_new_query_raw = preg_replace('/, ' . TABLE_PRODUCTS_DESCRIPTION . ' pd(\s*)WHERE/', ' LEFT JOIN ' . TABLE_HIDE_CATEGORIES . ' h ON (p.master_categories_id = h.categories_id), ' . TABLE_PRODUCTS_DESCRIPTION . ' pd WHERE (h.visibility_status < 2 OR h.visibility_status IS NULL) AND', $products_new_query_raw);

I added the second TABLE_PRODUCTS_DESCRIPTION, which was previously set to 'products_description'. In other words, it was looking for the table named products_description and not DB_PREFIX . products_description.

It was likely just a missed statement. I know someone else in this thread had posted having a problem with this.

hope that helps...
marc...

So do i need to change anything now with this update or do i still need to add my prfix somewhere?

4 Jul 2008, 4:22 PM
#151
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

give it a try. you haven't provided any information that lets anyone help you. To the question, "what am I missing"... the obvious and only answer is "whatever you're missing".

Read the readme carefully, go over this forum carefully... it obviously works for most people so just go step-by-step.

Good luck.

4 Jul 2008, 5:15 PM
#152
d1rage5 avatar

d1rage5

Zen Follower

Join Date:
Jan 2008
Location:
Roswell, Ga USA
Posts:
144
Plugin Contributions:
0

Re: hideCategories

s_mack:

give it a try. you haven't provided any information that lets anyone help you. To the question, "what am I missing"... the obvious and only answer is "whatever you're missing".

Read the readme carefully, go over this forum carefully... it obviously works for most people so just go step-by-step.

Good luck.

OK everything is installed, every file is in its correct location, sql patch is installed and sussful.

When i login to the admin page....goto cat/products and add a new cat and go to edit it, there is no option for hinding the cat and when you are at the root of cat/products you dont see any change here as well.

if you want to login and take a look let me know, (send PM)

Thanks,
Daniel

4 Jul 2008, 5:26 PM
#153
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

OK everything is installed, every file is in its correct location, sql patch is installed and sussful.
Its rather simple. If you aren't seeing the option where it should be then everything isn't installed, not every file is in its correct location, or the sql patch didn't install successfully.

Sorry to make a presumption here, but judging by how carelessly you write your messages ("sussful", "hinding") it seems to make sense that you're reading the instructions much the same way. Not trying to be insulting, but also not really in the habit of wasting my time.

Read through it carefully. If you are 100% certain you've done everything, then ok - it won't work for you for some unexplained reason. If its a conflict with another mod you have, then there is nothing that I can do anyway.

Regardless, keep in mind this is a free contribution offered as-is without warranty (actually, I suppose since its free I can give you your money back). It works. It works rather well. Its not perfect and I suppose it won't work for everyone.

4 Jul 2008, 5:36 PM
#154
d1rage5 avatar

d1rage5

Zen Follower

Join Date:
Jan 2008
Location:
Roswell, Ga USA
Posts:
144
Plugin Contributions:
0

Re: hideCategories

you will have to pardonnnnn my typeing as i am connected thru my cell phone. and i understand about free...............ALL I WAS DOING is what everyone else here does and ask for advice NOT STUPID smart comments.

We have a developer and he is looking at the mod and yes we have others that work fine SO yes there may be a conflict.

All that needed to be said was I (YOU) dont know of any issues that would cause this and it may just be another mod that could be causing the problem. But no i get the 12 year old reply.

Thanks anyway.

4 Jul 2008, 5:51 PM
#155
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

Excuse me, but if you needed me to say something then you should have told me what you wanted me to say. All you said was "it doesn't work". How am I supposed to respond to that? It seems to me that you aren't following the instructions. I said so, wished you luck... and you pretty much repeated it all again: "I did it perfect, it doesn't work... fix it".

So you asked for advice, I gave it (read it again and follow carefully). The only thing left was "STUPID smart comments".

17 Jul 2008, 1:21 PM
#156
titangen avatar

titangen

Zen Follower

Join Date:
May 2005
Location:
Brussels belgium
Posts:
177
Plugin Contributions:
0

Re: hideCategories

Hello,

I'm running under zc 1.3.7 and I 've some problem with the fully hidden status
because I cant see the not showing products on:

site map
RSS contrib
css menu
Catalog contrib

How can I hide those product from those contrib ?

via the query ?

thanks in advance,

Zen cart or nothing !!

17 Jul 2008, 3:28 PM
#157
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

Its in the readme. At least hints are. I was open about that from the beginning that it works for the setup we used and it was never intented to work with every option under the sun, and certainly not other 3rd party contribs. But hints are there for making it work for anything. The problem is that even the core components have different coding methods so the same "trick" won't work with all things so you sort of have to know what you're doing. This is even more true with other contribs because they're almost guaranteed to use different coding techniques.

So there's really no answer for you here. Just a "good luck". If you aren't familiar with PHP you'll probably have to pay someone, as you are looking for custom coding.

  • Steven
21 Jul 2008, 9:09 AM
#158
erume avatar

erume

New Zenner

Join Date:
Jul 2008
Posts:
2
Plugin Contributions:
0

Re: hideCategories

Uhg. I install the contrib, and I create the new table in the database.

When I edit a category, I see the new options to Hide that category...

But when I put a category like "hide", the category does not change, and it can sees in the menu.

No mistake its produced, simply the category does not hide.

I use 1.3.8a.

What can happen?.

Sorry for my mistakes in the text, I´m spanish and my english is very poor.

21 Jul 2008, 3:37 PM
#159
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

Do you have any other contribs that modify the menu? Also, which menu? I never used the top menu bar so it does show there (and that is mentioned in this thread). It only hides from the side menu.

  • Steven
4 Aug 2008, 4:56 PM
#160
prosam avatar

prosam

Zen Follower

Join Date:
Jun 2004
Posts:
118
Plugin Contributions:
0

Re: hideCategories

I installed this module and it was exactly what I was looking and it all worked great until I started editing the css id's and classes. I can only assume that this module works in tandem with the id and classes so I have one question.

Which id's are they and where can I edit this in the module files so it starts working again?

I like working with a set css format ie:
wrapper
container
header
left
right
footer
etc. etc.

And ZC is not built like this, way too many id's and classes for my liking, so I had to change it not realizing it would affect this module.

A little help or point in the right direction would help.

Thanks in advance.