Post by jakuba » Fri Feb 09, 2018 3:11 pm

Ten twig mě pěkně dostal, jak prosím předšlatl tento kód aby byl funkční?

Code: Select all

<meta name="robots" content="<?php if ($title == 'nenalezen') {echo 'no';}?>index,follow" />
Děkuji za radu

Tvorba a správa eshopů


Active Member

Posts

Joined
Fri Jul 08, 2011 12:51 am
Location - CZ-Prague

Post by opencart-solutions » Sat Feb 10, 2018 10:43 pm

Skús to takto:

Code: Select all

<meta name="robots" content="{% if title == 'nenalezen' %}no{% endif %}index,follow" />

Opencart Solutions | opencart-solutions.com



Posts

Joined
Fri Jan 19, 2018 1:55 am

Post by jakuba » Tue Feb 27, 2018 5:46 pm

Děkuji

Tvorba a správa eshopů


Active Member

Posts

Joined
Fri Jul 08, 2011 12:51 am
Location - CZ-Prague

Post by opencart-solutions » Tue Feb 27, 2018 10:24 pm

Rado sa stalo :)

Opencart Solutions | opencart-solutions.com



Posts

Joined
Fri Jan 19, 2018 1:55 am
Who is online

Users browsing this forum: No registered users and 4 guests