Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping v4.x

Ceon URI Mapping v4.x

Views: 452,106

Results 1,361 to 1,380 of 2,454
12 Nov 2013, 1:01 AM
#1361
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Ceon URI Mapping v4.x

mc12345678:

You say it uses product_mobile templates, so couple of things come to mind, the plug-in has an array that includes the product types, and is setup for five basic types, but can be expanded to more. Adding this sixth type may resolve your issue. Of course wondering if you have tried to add a mapping with product_mobile as part of the assignment?

and that's nice, but totally UNRELATED to this module.. the issue is with the template.. hence may I respectfully ask that this discussion get moved to a new thread..

12 Nov 2013, 2:19 AM
#1362
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

DivaVocals:

and that's nice, but totally UNRELATED to this module.. the issue is with the template.. hence may I respectfully ask that this discussion get moved to a new thread..

See thread: http://www.zen-cart.com/showthread.php?210911-CEON-URI-and-Ultimate-Zen-Cart-Mobile-Template-Photo-compatibility&p=1225815#post1225815 to carry on conversation related to the combination of CEON URI mapping and Ultimate Zen Cart Mobile Template being installed.

12 Nov 2013, 2:21 AM
#1363
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

mc12345678:

See thread: http://www.zen-cart.com/showthread.php?210911-CEON-URI-and-Ultimate-Zen-Cart-Mobile-Template-Photo-compatibility&p=1225815#post1225815 to carry on conversation related to the combination of CEON URI mapping and Ultimate Zen Cart Mobile Template being installed.
and gonna say again the issue is the TEMPLATE.. not Ceon URI, not even getting this template to work with Ceon URI.. The likely issue is that this template is not coded using default Zen Cart functions which is being ILLUMINATED (rather than caused by) Ceon URI..

12 Nov 2013, 3:28 PM
#1364
kitten091182 avatar

kitten091182

Zen Follower

Join Date:
May 2007
Posts:
110
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I have this module installed and it works fine. I have a few lines of code in a sidebox though that bring up a different link depending on which page is open: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="<http://www.drgreens.co.uk/index.php?main_page=faq_info&fcPath=4&faqs_id=5">Odour> Control</a></div>'; With the url rewriting switched on it now doesn't work, I'm assuming because that page now ends in /Environment/Odour-Control and not cpath_30 How can I get this code to work to bring up that link on that page? Thanks

12 Nov 2013, 3:54 PM
#1365
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

kitten091182:

I have this module installed and it works fine. I have a few lines of code in a sidebox though that bring up a different link depending on which page is open: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="<http://www.drgreens.co.uk/index.php?main_page=faq_info&fcPath=4&faqs_id=5">Odour> Control</a></div>'; With the url rewriting switched on it now doesn't work, I'm assuming because that page now ends in /Environment/Odour-Control and not cpath_30 How can I get this code to work to bring up that link on that page? Thanks

I could wait, but thought I would offer my best guess, possibly use a post instead of get statement? Or else, take a look at you're page source and see what variables are present (hidden) that would give you the desired result?

12 Nov 2013, 3:56 PM
#1366
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

kitten091182:

I have this module installed and it works fine. I have a few lines of code in a sidebox though that bring up a different link depending on which page is open: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="[http://www.drgreens.co.uk/index.php?main\_page=faq\_info&fcPath=4&faqs\_id=5">Odour](http://www.drgreens.co.uk/index.php?main_page=faq_info&fcPath=4&faqs_id=5">Odour) Control</a></div>'; With the url rewriting switched on it now doesn't work, I'm assuming because that page now ends in /Environment/Odour-Control and not cpath_30 How can I get this code to work to bring up that link on that page? Thanks

Honestly I have NO IDEA what you are trying to describe here.. If you can post a better description of what is happening and which sidebox/module you are using it would be very helpful..

However I suspect the issue is your sidebox/module and how it builds links is NOT using build in Zen Cart link functions. It is UNLIKELY that the issue is NOT Ceon URI, but an issue with your sidebox/module which is being ILLUMINATED by Ceon URI..

12 Nov 2013, 4:15 PM
#1367
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

DivaVocals:

Honestly I have NO IDEA what you are trying to describe here.. If you can post a better description of what is happening and which sidebox/module you are using it would be very helpful..

However I suspect the issue is your sidebox/module and how it builds links is NOT using build in Zen Cart link functions. It is UNLIKELY that the issue is NOT Ceon URI, but an issue with your sidebox/module which is being ILLUMINATED by Ceon URI..

From the code provided that is correct that they are not building their link using ZC functions, but improperly hard coding the link. Their issue though appears to be that they are reading the URI (get statement) which at that point is already modified by CEON URI. As a result, the code in the if statement is not being "processed" to display to the visitor. This is why I suggested changing to a post command as I would think the cPath or a similar data value would be present on the page/in the data. Not sure if master_category_id or a similar would be the appropriate variable to check for, but something appropriate for a cPath of 30 should be on the page or have been posted.

12 Nov 2013, 5:06 PM
#1368
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

DivaVocals:

... If you can post a better description of what is happening and which sidebox/module you are using it would be very helpful. ..
Exactly. We need to know WHAT 3rd part module has been installed to provide the Zen Cart page "faq_info". This is not a standard part of Zen Cart.

mc12345678:

From the code provided that is correct that they are not building their link using ZC functions, but improperly hard coding the link. ...
I highly suspect this is the root cause. I've written a number of custom Zen Cart pages over the last couple years and they have all worked with CEON URI Mapping (and other alternative URL generators). The key is always using the correct Zen Cart functions and structure...

I'd also venture something is either off with the 3rd party module or CEON URI Mapping is not installed correctly. Why? Because both $cPath and $_GET['cPath'] are automatically populated by CEON URI Mapping (if not already present) when the URI corresponds to a category or product page.

12 Nov 2013, 5:14 PM
#1369
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

and as the forums resident "repetitious negative naysayer" (you gotta love passive aggressive name callers:laugh:), this discussion needs to be moved in to a NEW thread OR over to the support thread for whatever errant module is the issue.. This is NOT AN ISSUE with Ceon URI..

13 Nov 2013, 12:28 PM
#1370
kitten091182 avatar

kitten091182

Zen Follower

Join Date:
May 2007
Posts:
110
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi, thanks for all your suggestions. I'm not saying that there is anything wrong with the CEON module, just that because CEON is rewriting the URL it has caused me a problem with that line of code. I am fully aware that my code needs to be changed to suit how CEON works, but as I do not know that much about coding I thought this would be the best place to ask as somebody may know how CEON is interpreting the statement so I may find a solution. There is nothing wrong with the module it is referring to either, the code was placed there by myself. I have an editable sidebox which shows on all my category and product pages. I placed a link in that sidebox to point to a different page of my knowledgebase depending on which category/product is being shown. That link is in this line of code: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="[\http://www.drgreens.co.uk/index.php?...qs\_id=5">Odour](http://www.drgreens.co.uk/index.php?main_page=faq_info&fcPath=4&faqs_id=5">Odour) Control</a></div>'; One of my pages is here: http://www.drgreens.co.uk/Grow-Media/Coco You can see the sidebox on the right (advice centre) All i'm asking for is some help as to what the correct line of code would be now that the URL is being re-written? I'm not criticizing the CEON module, i'm just trying to figure out how to overcome its feature when it comes to calling up pages that have had the URL re-written. I'm not a coder, i'm not even sure how the code I have got used to worked, all I know is it used to work and now it doesn't.

13 Nov 2013, 2:00 PM
#1371
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

mc12345678:

**From the code provided that is correct that they are not building their link using ZC functions, but improperly hard coding the link. Their issue though appears to be that they are reading the URI (get statement) which at that point is already modified by CEON URI. As a result, the code in the if statement is not being "processed" to display to the visitor. **This is why I suggested changing to a post command as I would think the cPath or a similar data value would be present on the page/in the data. Not sure if master_category_id or a similar would be the appropriate variable to check for, but something appropriate for a cPath of 30 should be on the page or have been posted.

lhungil:

Exactly. We need to know WHAT 3rd part module has been installed to provide the Zen Cart page "faq_info". This is not a standard part of Zen Cart.

I highly suspect this is the root cause. I've written a number of custom Zen Cart pages over the last couple years and they have all worked with CEON URI Mapping (and other alternative URL generators). The key is always using the correct Zen Cart functions and structure...

I'd also venture something is either off with the 3rd party module or CEON URI Mapping is not installed correctly. Why? Because both $cPath and $_GET['cPath'] are automatically populated by CEON URI Mapping (if not already present) when the URI corresponds to a category or product page.

DivaVocals:

and as the forums resident "repetitious negative naysayer" (you gotta love passive aggressive name callers:laugh:), this discussion needs to be moved in to a NEW thread OR over to the support thread for whatever errant module is the issue.. This is NOT AN ISSUE with Ceon URI..

kitten091182:

Hi, thanks for all your suggestions. I'm not saying that there is anything wrong with the CEON module, just that because CEON is rewriting the URL it has caused me a problem with that line of code. I am fully aware that my code needs to be changed to suit how CEON works, but as I do not know that much about coding I thought this would be the best place to ask as somebody may know how CEON is interpreting the statement so I may find a solution. There is nothing wrong with the module it is referring to either, the code was placed there by myself. I have an editable sidebox which shows on all my category and product pages. I placed a link in that sidebox to point to a different page of my knowledgebase depending on which category/product is being shown. That link is in this line of code: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="[\http://www.drgreens.co.uk/index.php?...qs\_id=5">Odour](http://www.drgreens.co.uk/index.php?main_page=faq_info&fcPath=4&faqs_id=5">Odour) Control</a></div>'; One of my pages is here: http://www.drgreens.co.uk/Grow-Media/Coco You can see the sidebox on the right (advice centre) All i'm asking for is some help as to what the correct line of code would be now that the URL is being re-written? I'm not criticizing the CEON module, i'm just trying to figure out how to overcome its feature when it comes to calling up pages that have had the URL re-written. I'm not a coder, i'm not even sure how the code I have got used to worked, all I know is it used to work and now it doesn't.
Understood.. However, the issue you are having is not caused by this module, and therefore it is not a SUPPORT issue with this module.. the issue is your code -- which you acknowledge needs to be fixed.. both mc12345678 & lhungil have stated what the issue is and why your code isn't working correctly.. However it would appear that you are looking for/need guidance as to what the corrected code should be, and I get that, but uyou really need to start a NEW THREAD to get assistance with your code as the ANSWER is not truly a Ceon URI support issue. This is instead an issue of code you are using which needs to be corrected because Ceon URI is ILLUMINATING an error in your code..

13 Nov 2013, 2:03 PM
#1372
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

kitten091182:

Hi, thanks for all your suggestions. I'm not saying that there is anything wrong with the CEON module, just that because CEON is rewriting the URL it has caused me a problem with that line of code. I am fully aware that my code needs to be changed to suit how CEON works, but as I do not know that much about coding I thought this would be the best place to ask as somebody may know how CEON is interpreting the statement so I may find a solution. There is nothing wrong with the module it is referring to either, the code was placed there by myself. I have an editable sidebox which shows on all my category and product pages. I placed a link in that sidebox to point to a different page of my knowledgebase depending on which category/product is being shown. That link is in this line of code: elseif ($_GET['cPath'] == '30') {
$content = '<div class="adlink"><a href="[\http://www.drgreens.co.uk/index.php?...qs\_id=5">Odour](http://www.drgreens.co.uk/index.php?main_page=faq_info&fcPath=4&faqs_id=5">Odour) Control</a></div>'; One of my pages is here: http://www.drgreens.co.uk/Grow-Media/Coco You can see the sidebox on the right (advice centre) All i'm asking for is some help as to what the correct line of code would be now that the URL is being re-written? I'm not criticizing the CEON module, i'm just trying to figure out how to overcome its feature when it comes to calling up pages that have had the URL re-written. I'm not a coder, i'm not even sure how the code I have got used to worked, all I know is it used to work and now it doesn't.

Where you have the text: href= "http://www drgreens co uk/index.php?main_page=faq_info&fcPath=4&faqs_id=5" (periods replaced with spaces for website formatting) replace with:
"<?php zen_href_link('faq_info', '&fcPath=4&faqs_id=5', $get_type); ?>"

13 Nov 2013, 2:08 PM
#1373
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

mc12345678:

Where you have the text: href= "http://www drgreens co uk/index.php?main_page=faq_info&fcPath=4&faqs_id=5" (periods replaced with spaces for website formatting) replace with:
"<?php zen_href_link('faq_info', '&fcPath=4&faqs_id=5', $get_type); ?>"

Great.. NOW if any FURTHER discussion is needed (and my guess is that there WILL be more discussion needed), can I respectfully ask that you guys start a NEW THREAD to work out kitten's code???? This is not a Ceon URI issue..:no:

13 Nov 2013, 2:39 PM
#1374
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

DivaVocals:

Great.. NOW if any FURTHER discussion is needed (and my guess is that there WILL be more discussion needed), can I respectfully ask that you guys start a NEW THREAD to work out kitten's code???? This is not a Ceon URI issue..:no:

Sorry, had written and submitted at about same time as suggestion to move to new thread. Please follow the below link for further discussion.

http://www.zen-cart.com/showthread.php?210945-CEON-URI-with-custom-sidebox-embedded-links-not-quot-working-quot-but-did&p=1226114#post1226114

13 Nov 2013, 2:40 PM
#1375
kitten091182 avatar

kitten091182

Zen Follower

Join Date:
May 2007
Posts:
110
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Thanks mc12345678 for trying to help. The code didn't work but I have had a lightbulb moment and are going to go about my problem a different way which I think should solve it :D I will shuffle along now and leave your thread in peace Diva :D

17 Nov 2013, 6:11 PM
#1376
jenkins2212 avatar

jenkins2212

New Zenner

Join Date:
Oct 2013
Location:
Athens, Georgia, United States
Posts:
27
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I really really need this plug in haha!!! But is scares the hell out of me to mess with my site! I start getting cold sweats when i start messing with code and files.... yeah i know pretty sad!

19 Nov 2013, 4:32 AM
#1377
palafirst avatar

palafirst

New Zenner

Join Date:
Oct 2011
Posts:
29
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I've been searching everywhere, but cannot find an answer to what I would think would be a common question.

I'm building a ZenCart site locally on my computer using AMPPS server software. I'm using Ceon URI Mapping. When I did a test of moving the site to the hosting server all of my links no longer work. Is there a way to have Ceon URI Mapping automatically update all of the links? What is the best way to do this? Is it possible or must I build the site, or at least add all my products, on the final server?

Is there another SEF module for ZenCart 1.5.1 that would do this better?

Thanks in advance.

Cheers,
Greg

19 Nov 2013, 9:57 AM
#1378
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

palafirst:

I've been searching everywhere, but cannot find an answer to what I would think would be a common question.

I'm building a ZenCart site locally on my computer using AMPPS server software. I'm using Ceon URI Mapping. When I did a test of moving the site to the hosting server all of my links no longer work. Is there a way to have Ceon URI Mapping automatically update all of the links? What is the best way to do this? Is it possible or must I build the site, or at least add all my products, on the final server?

Is there another SEF module for ZenCart 1.5.1 that would do this better?

Thanks in advance.

Cheers,
Greg

Please follow the conversation to: http://www.zen-cart.com/showthread.php?211028-CEON-URI-Transfer-from-local-computer-to-web-host&p=1227008#post1227008

21 Nov 2013, 1:21 PM
#1379
ev8321 avatar

ev8321

New Zenner

Join Date:
May 2011
Posts:
10
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Apologies in advance if this has been answered but I can't find any previous post regarding canonical URL issues and CEON URI Mapping. Ceon URI mapping works perfectly on my site except for canonical URLs.

All canonical URLS work for top level pages however, when drilling down to page 2, page 3, page 4 etc within a category pages canonical URLs continue to point to the top level page.

Example:
http://www.pyjamas.com.au/womens/pyjamas - canonical http://www.pyjamas.com.au/womens/pyjamas
http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=2 - canonical http://www.pyjamas.com.au/womens/pyjamas
http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=3 - canonical http://www.pyjamas.com.au/womens/pyjamas

Also - if anyone has any advice on implementing rel="next" and rel="prev" links.

Any advice would be greatly appreciated. This one has me stumped.

21 Nov 2013, 7:28 PM
#1380
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

ev8321:

Apologies in advance if this has been answered but I can't find any previous post regarding canonical URL issues and CEON URI Mapping. Ceon URI mapping works perfectly on my site except for canonical URLs.

All canonical URLS work for top level pages however, when drilling down to page 2, page 3, page 4 etc within a category pages canonical URLs continue to point to the top level page.

Example:
http://www.pyjamas.com.au/womens/pyjamas - canonical http://www.pyjamas.com.au/womens/pyjamas
http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=2 - canonical http://www.pyjamas.com.au/womens/pyjamas
http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=3 - canonical http://www.pyjamas.com.au/womens/pyjamas

Also - if anyone has any advice on implementing rel="next" and rel="prev" links.

Any advice would be greatly appreciated. This one has me stumped.

and this is how they should work.. so why don't explain what you think you SHOULD be seeing..