The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sun May 06, 2012 2:24 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Mar 20, 2012 10:29 am
Posts: 172
I want to keep the text but I want to get rid of the linking - just keep it as plain unlinked text.

I've tried using Firebug but I can't work out where to find the CSS to de-link the text.

Here is an image of what I want to de-link:

Image

Here is the CSS of the main template:

Quote:
<div class="footerContainer">
<?php echo $view->positions(array('position-9' => 33, 'position-10' => 33, 'position-11' => 34), 'tmd-block'); ?>
<?php echo $view->position('position-26', 'tmd-nostyle'); ?>
</div>
<div class="tmd-footer">
<div class="tmd-footer-body">
<?php echo $view->position('position-14'); ?>
<div class="tmd-footer-text">
<?php if ($view->containsModules('position-27')): ?>
<?php echo $view->position('position-27', 'tmd-nostyle'); ?>
<?php else: ?>
<?php ob_start(); ?>
<p><a href="http://localhost:8888/Joomla_mysitethree/index.php/terms-of-service">Terms of Service</a> / <a href="http://localhost:8888/Joomla_mysitethree/">Herm Editing</a> / <a href="http://localhost:8888/Joomla_mysitethree/index.php/contactus">Contact Us</a></p>

<p>Herm Editing Address Phone number Business Registration number</p>
<p>Copyright Honeybear Editing © 2012. All Rights Reserved.</p>

<?php echo str_replace('%YEAR%', date('Y'), ob_get_clean()); ?>
<?php endif; ?>
</div>
<div class="cleared"></div>
</div>
</div>

<div class="cleared"></div>
</div>
</div>
<div class="cleared"></div>

<div class="cleared"></div>
</div>

<?php echo $view->position('debug'); ?>
</body>
</html>



Or I think I might have to alter something in the CSS template in this section:

Quote:
// Decorate component with Artisteer style:
$view->componentWrapper();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $document->language; ?>" lang="<?php echo $document->language; ?>" dir="ltr">
<head>
 <jdoc:include type="head" />
 <link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/system.css" type="text/css" />
 <link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/general.css" type="text/css" />
 <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" media="screen" />
 <!--[if IE 6]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie6.css" type="text/css" media="screen" /><![endif]-->
 <!--[if IE 7]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie7.css" type="text/css" media="screen" /><![endif]-->
 <script type="text/javascript">if ('undefined' != typeof jQuery) document._artxJQueryBackup = jQuery;</script>
 <script type="text/javascript" src="<?php echo $templateUrl; ?>/jquery.js"></script>
 <script type="text/javascript">jQuery.noConflict();</script>
 <script type="text/javascript" src="<?php echo $templateUrl; ?>/script.js"></script>
 <script type="text/javascript">if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;</script>
</head>
<body>


Here is what I found with Dragonfly Inspector (Opera):

Image


Top
 Profile  
 
PostPosted: Sun May 06, 2012 3:42 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Mon Aug 29, 2005 10:17 am
Posts: 12066
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
please provide a link to your site so I can review the code

Leo 8)

_________________
--- Joomla Professional Support Services :: http://gws-desk.com ---
--- Joomla Professional and Specialized Hosting :: http://gws-host.com ---
--- Ready to Roll Joomla! Web Sites : 1 - 7 days only! :: @ gws-market.com ---


Top
 Profile  
 
PostPosted: Sun May 06, 2012 4:38 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Mar 20, 2012 10:29 am
Posts: 172
I haven't put it on a hosting site yet. The address is localhost:8888 so I don't think I am able to send the link for viewing to anyone yet.


Top
 Profile  
 
PostPosted: Sun May 06, 2012 5:11 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Mon Aug 29, 2005 10:17 am
Posts: 12066
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
what template by whom ? Download link?

Leo 8)

_________________
--- Joomla Professional Support Services :: http://gws-desk.com ---
--- Joomla Professional and Specialized Hosting :: http://gws-host.com ---
--- Ready to Roll Joomla! Web Sites : 1 - 7 days only! :: @ gws-market.com ---


Top
 Profile  
 
PostPosted: Sun May 06, 2012 5:13 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Mar 20, 2012 10:29 am
Posts: 172
Sorry, I should have supplied that information earlier but forgot.

The template is by TMD Hosting and the template name is "Tmd_them_12". It is a free template so that might be why it is difficult to make changes to that line. I don't want to remove the line though, I just want to deactivate the link.


Top
 Profile  
 
PostPosted: Sun May 06, 2012 8:50 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Mon Aug 29, 2005 10:17 am
Posts: 12066
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
I do need a link to the correct template. I cannot look 16 pages and search?

Thanks
Leo 8)

_________________
--- Joomla Professional Support Services :: http://gws-desk.com ---
--- Joomla Professional and Specialized Hosting :: http://gws-host.com ---
--- Ready to Roll Joomla! Web Sites : 1 - 7 days only! :: @ gws-market.com ---


Top
 Profile  
 
PostPosted: Wed Dec 19, 2012 3:43 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 19, 2012 3:30 pm
Posts: 1
Hi.

This frustrated me for ages and I couldn't find the "Strategically Coded Script" that is mentioned in posts on other sites about this problem, and I was not willing to pay $29 to have a guy called jf3000 do it for me.

So I think I have a work around that seems to accomplish the task, nobody else seems willing to share the info, so in the spirit of the season here is a small Christmas present that will at least get the links out of your footer.

Open your template.css file from the template and find the following section of code:

/* begin PageFooter */
.tmd-page-footer,
.tmd-page-footer a,
.tmd-page-footer a:link,
.tmd-page-footer a:visited,
.tmd-page-footer a:hover
{
font-family: Arial;
font-size: 0px;
letter-spacing: normal;
word-spacing: normal;
font-style: normal;
font-weight: normal;
text-decoration: none;
color: #FF0000;
}

.tmd-page-footer a:hover {
text-decoration:underline;
}

.tmd-page-footer
{
padding: 1em;
text-align: center;
text-decoration: none;
color: transparent;
}
/* end PageFooter */

To remove the footer text change font-size to 0px (just like the underlined above) to remove the links and in .tmd-page-footer change the color from #FFFFFF to transparent (just like the underlined above).

This only hides the offending code but it's the best i could come up with after three days of messing about.

Hope this helps someone out there.


Top
 Profile  
 
PostPosted: Mon Jan 21, 2013 6:32 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Jan 21, 2013 6:23 am
Posts: 1
I solved this instead of working on my thesis. This may not have been the best use of my time.

Look in the file script.js
The person is using hex instead of typing the text in. Then they slapped some code at the very end of this line, trying to hide the relevant
code in obscurity. It is line 161 of the file I looked at. If you comment out the line with the variable containing the document
element path, the blurb at the bottom of the page goes away.

Code:
// var _0xffae=["\x23\x74\x6D\x64\x2D\x6D\x61\x69\x6E","\x6C\x65\x6E\x67\x74\x68","\x2E\x74\x6D\x64\x2D\x66\x6F\x6F\x74\x65\x72","\x66\x69\x6E\x64","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x6D\x64\x2D\x66\x6F\x6F\x74\x65\x72\x22\x3E\x3C\x2F\x64\x69\x76\x3E","\x61\x70\x70\x65\x6E\x64","\x2E\x74\x6D\x64\x2D\x66\x6F\x6F\x74\x65\x72\x2D\x62\x6F\x64\x79","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x6D\x64\x2D\x66\x6F\x6F\x74\x65\x72\x2D\x62\x6F\x64\x79\x22\x3E\x3C\x2F\x64\x69\x76\x3E","\x2E\x74\x6D\x64\x2D\x66\x6F\x6F\x74\x65\x72\x2D\x74\x65\x78\x74","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x6D\x64\x2D\x66\x6F\x6F\x74\x65\x72\x2D\x74\x65\x78\x74\x22\x3E\x3C\x2F\x64\x69\x76\x3E","\x3C\x70\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x6D\x64\x2D\x70\x61\x67\x65\x2D\x66\x6F\x6F\x74\x65\x72\x22\x3E\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x74\x6D\x64\x68\x6F\x73\x74\x69\x6E\x67\x2E\x63\x6F\x6D\x2F\x6A\x6F\x6F\x6D\x6C\x61\x2D\x68\x6F\x73\x74\x69\x6E\x67\x2E\x68\x74\x6D\x6C\x22\x20\x74\x69\x74\x6C\x65\x3D\x22\x4A\x6F\x6F\x6D\x6C\x61\x20\x48\x6F\x73\x74\x69\x6E\x67\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x5F\x62\x6C\x61\x6E\x6B\x22\x3E\x4A\x6F\x6F\x6D\x6C\x61\x20\x48\x6F\x73\x74\x69\x6E\x67\x3C\x2F\x61\x3E\x20\x26\x61\x6D\x70\x3B\x20\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x74\x6D\x64\x68\x6F\x73\x74\x69\x6E\x67\x2E\x63\x6F\x6D\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73\x2F\x66\x72\x65\x65\x2D\x6A\x6F\x6F\x6D\x6C\x61\x2D\x74\x65\x6D\x70\x6C\x61\x74\x65\x73\x2E\x68\x74\x6D\x6C\x22\x20\x74\x69\x74\x6C\x65\x3D\x22\x46\x72\x65\x65\x20\x4A\x6F\x6F\x6D\x6C\x61\x20\x54\x65\x6D\x70\x6C\x61\x74\x65\x73\x22\x3E\x46\x72\x65\x65\x20\x4A\x6F\x6F\x6D\x6C\x61\x20\x54\x65\x6D\x70\x6C\x61\x74\x65\x73\x3C\x2F\x61\x3E\x20\x62\x79\x20\x54\x4D\x44\x48\x6F\x73\x74\x69\x6E\x67\x3C\x2F\x70\x3E","\x3A\x76\x69\x73\x69\x62\x6C\x65","\x69\x73","\x66\x61\x64\x65\x49\x6E","\x70\x61\x72\x65\x6E\x74"];var main_container=_0xffae[0];if(!jQuery(main_container)[_0xffae[3]](_0xffae[2])[_0xffae[1]]){jQuery(main_container)[_0xffae[5]](_0xffae[4]);} ;if(!jQuery(_0xffae[2])[_0xffae[3]](_0xffae[6])[_0xffae[1]]){jQuery(_0xffae[2])[_0xffae[5]](_0xffae[7]);} ;if(!jQuery(_0xffae[6])[_0xffae[3]](_0xffae[8])[_0xffae[1]]){jQuery(_0xffae[6])[_0xffae[5]](_0xffae[9]);} ;jQuery(_0xffae[8])[_0xffae[5]](_0xffae[10]);if(!jQuery(_0xffae[8])[_0xffae[12]](_0xffae[11])){parent_el=jQuery(_0xffae[8]);var count=0;while(count<5){if(!jQuery(parent_el)[_0xffae[12]](_0xffae[11])){jQuery(parent_el)[_0xffae[13]]();} else {break ;} ;var current_el=parent_el[_0xffae[14]]();parent_el=current_el;count++;} ;} ;

It looks like this, decoded:
// # t m d - m a i n l e n g t h . t m d - f o o t e r (and so on)

Relates to:
tmd-footer-text
tmd-page-footer


Top
 Profile  
 
PostPosted: Thu Mar 07, 2013 5:29 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 06, 2007 6:38 pm
Posts: 10
Bingo! THANKS. this was driving me nuts. I knew it had to be something JS related.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group