Support the ongoing development of Laravel.io →
posted 9 years ago
Views Blade

I'm using Laravel 4 and I'm trying to change the laravel blade link to use a normal html link.

My blade link

{{ HTML::link(seoLink($cat->id), $cat->title) }}

My html link

<a href="{{ $cat->id }}" title="{{ $cat->title }}"><img src={{ "category_images/$catImg" }}></a>

The problem I'm having is that I can't get the function seoLink to be in the html link.

Last updated 3 years ago.
0

Any Ideas?

0
<a href="{{ seoLink($cat->id) }}" title="{{ $cat->title }}"><img src={{ "category_images/".$catImg }}></a>
Last updated 9 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

shiva shiva Joined 24 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.