Portfolio template- disable article preview

Support help forum dedicated to free and commerical templates for Joomla 3 and 2.5 version.
GK User
Fri Dec 04, 2015 1:42 am
Hey,

I disabled mouse over article preview and want to make a "Portfolio item information" clickable (in this case it is Title) or the image can be clickable?

Regards.
User avatar
Senior Boarder

teitbite
Sat Dec 05, 2015 12:31 pm
Hi

Please tell me the exact url to the page You've made this screenshot.
User avatar
Moderator

GK User
Sat Dec 05, 2015 7:38 pm
Hey teitbite,

Url: http://laimaurban.com
User avatar
Senior Boarder

teitbite
Sun Dec 06, 2015 6:01 pm
Hi

Please edit file /html/com_content/featured/default_item.php line 76

Code: Select all
                  <?php echo '<span itemprop="genre">' . $title . '</span>'; ?>


needs to be replaced with

Code: Select all
<a href="<?php echo $url; ?>" class="item__title_link" itemprop="url"><?php echo $this->escape($this->item->title); ?></a>
User avatar
Moderator

GK User
Sun Dec 06, 2015 7:32 pm
Hi, I disabled "Show article preview" but still can't open the article, neither image, neither title are clickable...
User avatar
Senior Boarder

teitbite
Tue Dec 08, 2015 8:15 pm
Hi

Have You made the modification I asked You to? If yes than send me an access to FTP. Need to check if it was done correctly.
User avatar
Moderator

GK User
Tue Dec 08, 2015 11:28 pm
Sent a PM.
User avatar
Senior Boarder

teitbite
Thu Dec 10, 2015 1:22 pm
Hi

I'm afraid an access You've send me is not working:

Code: Select all
Login ftp.laimaurban.com with username and password. Please contact your web hosting service provider for assistance.


Please send me correct one so I'll be able to check the issue.
User avatar
Moderator

GK User
Thu Dec 10, 2015 10:33 pm
I created another ftp account and sent it to you.

Thanks!
User avatar
Senior Boarder

teitbite
Sun Dec 13, 2015 7:06 pm
Hi

My bad. It should be line 85 changed from:

Code: Select all
<?php echo $this->escape($this->item->title); ?>


to

Code: Select all
<a href="<?php echo $url; ?>" class="item__title_link" itemprop="url"><?php echo $this->escape($this->item->title); ?></a>
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.