Could use a hand with something. The CEON URI mod is working perfectly with a fresh install of zen-cart 1.5.
My problem is getting it to work alongside a mobile theme/modification. Brief explanation of the mod I'm using: detects browser agent. If found to be a mobile browser, sends all requests through "mobile.php?main_page". The mod does this by detecting mobile websites as another "language" and serves up the mobile template relating to that language.
I'm not too bothered about re-writing mobile URLS. Would it be possible to bypass the CEON module altogether for all URLS/links containing mobile.php? I've played around with .htaccess for a while and haven't made any progress.
Thanks!
Edit:---------------------
Also, awesome work with this module. My only past experience with URI modules was SSU. While this did the job well, it was a pain to install and update. Your instructions were very clear and core-file changes are minimal. Thank you!
Last edited by Mark_88; 6 Feb 2012 at 04:33 PM.
Hi,
You're the second person to ask about this recently..
That's a really dumb modification this "theme" makes. It's overriding Zen Cart's usage of the core file name "index.php". Bad coding!
What is this theme/template you are talking about? The developers need to write it properly instead of breaking Zen Cart.
Instead of redirecting people to mobile.php, I immediately identified for the other person who contacted me about this, that when this theme detects that the site is being used on a mobile browser, it should set a flag that will have index.php load in mobile.php...
Instead of calling mobile.php, at the top of index.php the developer should add:
This "theme" developer will have to come up with a way to have Zen Cart know that the mobile version is being used..and put it in place of "CHECK FOR MOBILE VERSION" above.PHP Code:
if (CHECK FOR MOBILE VERSION) {
require('mobile.php');
exit;
}
If you follow my drift?
Of course you/they also need to get any code that is trying to load "mobile.php" to use "index.php", if there is any.
Hope that helps.
This isn't really a Ceon URI Mapping issue, but an issue with this other module not using index.php so while I'd appreciate it if you could keep me up to date here, this isn't the place to discuss in details any modifications to the code, a new thread would be better.
All the best...
Conor
ceon
Wow, that was a speedy reply! Thanks.
The template is from a company named "Algozone". Link here. I do catch your drift, seems I'll have to have a long think about modifying the mobile mod to get it working for my store.
Unfortunately the developers "free 30 day support" only really includes the installation of the modification, not actual "support" to get it working ;)
One quick question regarding your URI Mappings Manager. How time consuming is it to import my "current" SSU URLS into the database so they don't appear as broken when upgrading/switching to CEON?
Cheers
Not that time consuming at all if you are willing to give a data import through phpAdmin a shot.. There's a handy Google Webmasters tool that can provide you with a list of all the URLS they have in their databases for your site.. You can export this list to CSV and create an import file to map the old URLs to the new URIs in this mod, and then import them into the Ceon URI table.. You can also invest in Ceon's URI Mapping Manager (available on the Ceon site).. It's well worth the money to make this conversion easier.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hi,
Computers, eh? :)
Actually, the changes I pointed out in that last post should be very simple indeed.
Which is part of the reason I'm surprised this template designer took the approach they did. Creating a mobile.php file to replace index.php was the wrong way to go.
Free "30 day" support? 30 days, that's it? Wow. Generous! :|
Suggest to them about using require('mobile.php') instead of calling mobile.php?main_page and they may realise how much easier that makes things for their customers and therefore them.
They'd be silly not to listen to you. Why create support issues unnecessarily? :)
Practically instantaneous but can't talk about that here I'm afraid.
All the best...
Conor
ceon
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hi,
I was trying to find a solution to my problem but I haven't actually found anything that would work for me. I hope I am not duplicating any previous posts, but I did't find anything similar.
I installed the SEO URI Mapping like 2 days ago on a multi lingual website www.floridaherbalpharmacy.com and I noticed that the prices are not working for Serbian version - I mean all the products have their nice and shiny prices in English, but when I switch to Serbian there is no trace of them - they disappear. When I add a product to cart it's price is 0.
It started to happen after installing the SEO module so I decided to check the files to see which one caused the error - I removed the files from the admin directory and replaced them with the old ones but it didn't solve the problem. Could anyone please indicate the right track to fix it? I would be extremely happy.
Regards
Hello
sorry if this has been asked before but....
been using the mod successfully for about a year.
But for some of my products i need to use an alternative product type.
in this case the built in 'product-music'
the Ceon mapping options dont appear in the options for these products.
Im afraid in not on the latest version of the mod. i tried to find out which version but couldn't.
im on zen 1.3.8
id rather not have to re-install if i can avoid it
Thank You
Cookie
Hiya Connor,
Long time no talk, hope all is well.
I still have my Ceon URI Mapping Manager, it is working great and has been a huge time saver. I am still on ZC 139h, have not upgraded yet.
Anyway, ran into a weird quirk today. For some reason my Contact Us page won't accept the Ceon generated URL. The contact page is managed by EZpages as an internal link.
I ticked the box to have the URI auto-generated for this EZ-Page. I went to the store to test the link and the URL was still:
http://www.MYSITE.com/index.php?main_page=contact_us
When I went back to the admin to try again, now the auto-generated URI (/Contact_Us) appears in the box as if it is working!
But it doesn't work.
All my other EZpages obey the Ceon URI, but this is the only one that is an Internal Link.
Any idea what I am doing wrong?
Thanks,
Mike
Bookmarks