最近搜索


没有最近搜索

Carrie Jones's Avatar

Carrie Jones

已加入2021年5月28日

·

最后活动2021年10月27日

关注

0

关注者

0

活动总数

3

投票

0

订阅

1

活动概览

的最新活动 Carrie Jones

Carrie Jones 进行了评论,

社区评论 Q&A - Help center and community

Hi Wes, yes thanks I realised I had put value=='/hc/en-us instead of en-gb!!!!

Thank you anyway

查看评论 · 已于 2016年7月26日 发布 · Carrie Jones

0

关注者

0

投票

0

评论


Carrie Jones 进行了评论,

社区评论 Q&A - Help center and community

@Wes - I know this thread is from a long time ago but I have tried the method above to link a category to an external link and I can't get it to work.  This is the JS I used:

 //send category links to community - Change category and google.com to your helpcenter
$('a').each(function() {
var value = $(this).attr('href');
if(value=='/hc/en-us/categories/201141365-Streets-Heaver-FTP')
{
$(this).attr('href', https://downloads.streets-heaver.com/downloads/index.php');
}
});

I put it below the $(document).ready(function() { 

in the JS.

Hope you can help, thanks.

查看评论 · 已于 2016年7月15日 发布 · Carrie Jones

0

关注者

0

投票

0

评论