Joomla Annoying Footer

时间:2014-01-08 09:34:55

标签: html css joomla anchor

我的Joomla网站http://financial-freedom.com.au/显示了一个烦人的页脚

<a href='http://okjoomla.com' target='_blank'>Welcome to Get more sources</a>

我尝试使用Dreamweaver的查找工具,但它没有用。我也尝试在数据库中使用搜索功能,但也没有用。

有没有人遇到过这个问题?我一整天都在谷歌搜索,一无所获。任何帮助都非常感谢。

编辑:我手动检查页脚模块。而且,那里什么都没发现。由于模块太多,我无法检查每个模块,因为我相信使用Dreamweaver进行搜索也会发现&amp;在PhpMyAdmin中搜索应搜索所有模块内容。

由于

1 个答案:

答案 0 :(得分:3)

正如您所评论的,您不必在Dreamweaver或PHP MyAdmin中搜索模块,您将需要管理员访问like ...或者您必须按照我告诉您的index.php进行搜索,我刚刚打开那个网站,看起来你是免费下载高级模板,所以他们确实添加了反向链接,这很难搞清楚没有源代码......所以我只能帮忙......提前阅读..


它可能是一个模块,或者文本必须是index.php页面中的文字字符串,如果它是一个模块而不是禁用它,否则,请转到下面的路径...

root/templates/system/index.php

在上面的文件中,文字必须位于底部的某处,所以只需删除它


如果您无法做到这一点,那么使用CSS的最便宜的解决方案是display: none;,因此a标记与div的{​​{1}} id相邻footerwrap {{ 1}}所以你可以使用

#footerwrap + a[href="http://okjoomla.com"] {
   display: none;
}

OR

a[href="http://okjoomla.com"] {
   display: none; /* This will remove all the anchor having that link */
}

或者您可以使用jQuery将其从DOM中完全删除

$('#footerwrap + a').remove();

Demo

或更具体,独立于#footerwrap

$('a[href="http://okjoomla.com"]').remove();  
/* This will remove all the anchor having that link so if you are 
   sure that it will be always adjacent than use #footerwrap + as well */

Demo