Re: Ceon URI Mapping v4.x
Hey there, thanks for an awesome mod. For such a powerful and functional and complex mod it was UNBELIEVABLY easy to plugin :)
I wonder though, I have a site I'm building which has categories which use & The software removes the ampersand and semi-colon leaving only amp in the title - so eg products & more products becomes products_amp_more_products. I've tried making the auto generation thing remove & but it just turns it into a & and I don't want to remove amp in-case they start selling lamps, amplifiers or stamps :)
Is there a work around for this?
thanks
Re: Ceon URI Mapping v4.x
Hi Crazy Sarah,,
Hope you're having a nice weekend!
Quote:
Originally Posted by
crazysarah
Hey there, thanks for an awesome mod. For such a powerful and functional and complex mod it was UNBELIEVABLY easy to plugin :)
I'm glad you like it and appreciate the effort put into making it as easy as possible to install.
Quote:
Originally Posted by
crazysarah
I wonder though, I have a site I'm building which has categories which use & The software removes the ampersand and semi-colon leaving only amp in the title - so eg products & more products becomes products_amp_more_products. I've tried making the auto generation thing remove & but it just turns it into a & and I don't want to remove amp in-case they start selling lamps, amplifiers or stamps :)
Is there a work around for this?
thanks
You really shouldn't use HTML in the title for a product.
Why not just use "&"?
In addition, with Ceon URI Mapping you can use the "Character/String Replacements" functionality to change the "&" into "and" if you like:
The above means if a product name is "Products & More Products", the auto-generation results in "products-and-more-products".
Handy!
Hope that helps?
All the best...
Conor
ceon
Re: Ceon URI Mapping v4.x
Working on my local copy of ZC v1.50
Got this mod installed and ran the Ceon URI Mapping Installation Check, no errors found.Yippie, right?
Meh...not so much.
Re-mapped products don't show up, getting 404 error messages.
Quote:
If using a .htaccess file
If placing the rule in a .htaccess file, the .htaccess file into which it should be placed is the site root's .htaccess file, which should be created if it doesn't exist:
G:/xampp/htdocs/.htaccess
Although the store is in a subdirectory, the .htaccess file into which the example rewrite rule should be placed is NOT a .htaccess file within the Zen Cart folder, the rewrite rule below is for the site root's .htaccess file - place it in the above file!
If using an Apache VirtualHost Directive
If the store runs on a server using Apache and it is possible to modify the VirtualHost Directive for the store, then the rule can be modified and entered into the VirtualHost Directive for the store.
Probably outside the scope of this thread......but how do I "create" a .htaccess file?
Re: Ceon URI Mapping v4.x
Disregard my previous post.
All fixered-up now.
;)
Re: Ceon URI Mapping v4.x
[QUOTE] how do I "create" a .htaccess file?[\QUOTE]
Open your text editor, paste/type the content of your code, save as .htaccess
You may have to show hidden files on your PC once saved.
For your info as you now know you have installed this great mod correctly you can simply switch the rewrite off in configuration while working on local host and switch it back on once/if site goes on live server if you don't have any luck with creating .htaccess file.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Serious
Disregard my previous post.
All fixered-up now.
;)
Always the last to know :laugh:
Re: Ceon URI Mapping v4.x
Hi Frank,
Quote:
Originally Posted by
Serious
Working on my local copy of ZC v1.50
Got this mod installed and ran the Ceon URI Mapping Installation Check, no errors found.Yippie, right?
Meh...not so much.
Re-mapped products don't show up, getting 404 error messages.
Umm.. if you don't finish installing the software it's not going to work! :)
Quote:
Originally Posted by
Serious
But how do I "create" a .htaccess file?
It's just a text file with the name ".htaccess". It is used by an Apache webserver as a configuration file for VirtualHosts, if "overrides" are allowed by configuring the VirtualHost domain with an AllowOverride directive ([FONT=verdana]AllowOverride All within a Directory directive).[/FONT] I'd imagine it's already allowed by the MAMP setup.
All you have to do is create a text file with that name and put the Ceon URI Mapping Example Rule in it.. that should get things working.
Quote:
Originally Posted by
Serious
Probably outside the scope of this thread
It's not "outside the scope", but if you search the net you can find out what you need to know, which would be quicker than posting here (or anywhere for that matter). Not being cheeky, just pointing that out, life is short, best be efficient with what little time we have! :)
Enjoy the rest of the weekend!
All the best...
Conor
ceon
Re: Ceon URI Mapping v4.x
Hi,
Quote:
Originally Posted by
picandnix
Always the last to know :laugh:
lol in this case you're wrong.. clearly I was the loser this time. :)
Finished 4.2.1 earlier today, will try and get it released soon.
All the best..
Conor
ceon
Re: Ceon URI Mapping v4.x
Hi Conor, thank for the advice. I had actually changed all the &'s to &'s a while back because they caused some or other issue which I can't remember and I was told that doing it that way was more correct.
Anyhoo, I'll change them back and problem (hopefully) solved. Thanks again for super software!
Re: Ceon URI Mapping v4.x
Hi,
Quote:
Originally Posted by
crazysarah
Hi Conor, thank for the advice. I had actually changed all the &'s to &'s a while back because they caused some or other issue which I can't remember and I was told that doing it that way was more correct.
More than likely an output issue with some badly written code.. the output code should translate/convert & into its HTML entity &, product names should be textual only!
Quote:
Originally Posted by
crazysarah
Anyhoo, I'll change them back and problem (hopefully) solved. Thanks again for super software!
Glad you like it. Enjoy the new URIs and have a nice evening.
All the best...
Conor
ceon