Title with link

How can I chance the code (list.phtml) for linked title?

I tried to make some changes but without any effect.

For example, I change this line:

Code:

<?php if($config['title']){?><h2><?php echo $config['title']; ?></h2><?php } ?>

for this:

Code:

<?php if($config['title']){?><h2><a title=""><?php echo $config['title']; ?></a></h2><?php } ?>

(I don´t understand how <a> call the href)
Some help will be appreciated. Thanks

2 answers

Profile photo of Saguaros 0.00 $tone February 24, 2010
Public

Fix as follow:

PHP Code:

<?php if($config['title']){?><h2><a title="<?php echo $config['title']; ?>"><?php echo $config['title']; ?></a></h2><?php ?>


I think you put your link inside the href attribute

#1

This question is now closed

Written By

Comments