Totally Zenned
- Join Date:
- Jul 2012
- Posts:
- 16,908
- Plugin Contributions:
- 2
Post #1 by mc12345678
This thread was started to move conversation away from the originating thread as the issue does not apply specifically to the originating thread.
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.
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); ?>"
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...