Check the function ... you can pass it the things to drop from the paramaters as well as what to add ...
Check the function ... you can pass it the things to drop from the paramaters as well as what to add ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
NOTE: download the v1.3.0.2 and the change log and what's new is in there ...
You really do want these fixes now rather than later ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Ok thanks Ajeh, yeah I'll take a closer look at the function, that's handy.
So this means give me all the parameter's back but the action right?
So then this would mean give me everything back but NOT the product's id?PHP Code:zen_get_all_get_params(array('action'))
Ok I just tested it out, I get it cool.PHP Code:zen_get_all_get_params(array('products_id'))
Now I'm wondering, how would you block more then one parameter form being returned? So say you didn't want the action AND the product id to NOT be returned?
what would be handy for me is to make a loop that dynamcially creates my form <input> elements by what's returned from the zen get parameters function.
I'm working on that one now. Unless you have an easier way to dynamically generate the form buttons?
The only bad thing about the form buttons is that it creates a lot more code for the spiders to have to sift through, and I haven't tested it yet, but I"m not even sure if it will come out as XHTML either? I wonder if all the form code will dilute the SEO results, because the keyword density would be lower? I bet keyword density only deals with the visible text? I wonder about this. Either way I know I don't want the spiders linking to my pages with buy_now in the url on one page and on another page it's productname-p-1243.html causing duplicate content penalites etc.
Anybody else have any thoughts on this. It's funny I really didn't think about it till I started crawling my own site with my own search spiders, then you see the problems right away. So for a 40,000 product site, it would have 500,000 links for a spider to have to follow as oppose to 45,000 if you do everything you can to avoid that.
The spider's will be adding items to your shopping cart hahaha I think too, which could make for huge number of noise links on your site? Unless there is some code to prevent this that I missed? I know robots are blocked from creating sessions, but what about following hyperlinks to add items to cart? that would be bad if not.
/me peeks over at the neat little toy in the Admin ... Tools ... Developer's Tool Kit ...![]()
Gee ... wonder what would happen if I past in the bottom input box:
And then searched the whole Catalog ...zen_get_all_get_params(array
wow!! ... lookie at all the neat code come up and usage ideas ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!