English 中文(简体)
• 与带错页的类别的联系
原标题:osCommerce links to categories taking to a wrong page

I m 修改一个网站(I don t make this website),我必须修改的内容之一是主页。 我的问题是,我修改了index.php文档,所有改动都看重罚款。

然而,当我点击PHP与这一功能书写的一个链接时:

<?php echo tep_href_link(FILENAME_DEFAULT, cPath=24&sort=2a ) ?>

(/includes/filenames.php 页: 1

所发生的情况是,它显示了正确的结果,但用旧设计的页数不同。 我不理解这一点,因为这一联系应当带我到我所修改的“index.php>上,但显然它把我带走了别处。

我不知道该网页显示什么,我看到的唯一事情是公共卫生和社会福利部的职能所写的联系:

(my_catalog_rafter)/escaparate-c-24.html?sort=2a&osCsid=p7fp55t489nv042p0ip4mp7si1

我认为,<代码>tep_href_link()是书面的,但我不知道用哪页显示结果。

Any!

最佳回答

如果仓库安装了SEO URLs模块,预计会发生这种情况。

查阅<代码>。

RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}

任何和所有关于某类的请求都将在你所指出的友好护法中重新提出。

关于旧设计的使用,将真实文档称为echo , 载于_SERVERP_SELF>;_SERVER[SCRIPT_NAME”];,并确保文档名称和路径正确。

Drop that into a file such includes/application_top.php 最终线路之前(或封闭式<代码>?> 如果有:

echo $_SERVER["SCRIPT_NAME"];

这还可能是由于各页的贴切。 检查是否还安装了藏身模块。

问题回答

暂无回答




相关问题
Call href from JavaScript

This is the same question as THIS ONE, I can t answer that anymore, so I m re-posting it with my account. Sorry for the mess. I need a Greasemonkey script that on a page load activates a href link ...

What is `mt=8` in iTunes links for the App Store?

Does anyone know the significance of the mt parameter in App Store Links? Sample link: http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=337319445&mt=8 It seems that any value ...

UIWebView with links

I am creating a webview and loading content using "loadHTMLString" The content is loading I just can t get the links to work ex linking to google.com. Any help would be great. UIWebView* newWeb = [[...

Links within and outside List elements not working

I m trying to create a unordered list, with each li element having it s own background image (no text, just image), but I m having trouble (in Firefox at least, it works in Safari) getting the link to ...

how can i make different html links different colors . .

I am generating a html file with many different links and they (by default) all show up the regular blue color. Is there anyway i can make certain links different colors. note that this html is ...

Smarty Section Making the selected Link Bold

How can I make the selected link from the List below, bold, that you see you are on Page ex. 3 or 5 With this code, If you click on a Link you don t know on which page you are. The smarty code ...

热门标签