Problem z dynamicznym meta tagami
: 13 października 2009, 17:54
Nie pamiętam jaki to był mod (wiem, że z tego forum). Chodzi mi o to, że w overall_header.html jest takie coś:
{META_TAG}
I to generuje dynamicznie:
<meta name="title" content="" />
<meta name="description" lang="pl" content="" />
<meta name="keywords" content="" />
<meta name="category" content="" />
<meta name="robots" content="i" />
<meta name="distribution" content="" />
<meta name="resource-type" content="" />
<meta name="copyright" content="" />
A mi chodzi o to, żeby na stronie portalu (portal.php) były z góry zdefiniowane te meta tagi. Próbowałem ale to nie działa. Wie ktoś jak coś takiego zrobić?
{META_TAG}
I to generuje dynamicznie:
<meta name="title" content="" />
<meta name="description" lang="pl" content="" />
<meta name="keywords" content="" />
<meta name="category" content="" />
<meta name="robots" content="i" />
<meta name="distribution" content="" />
<meta name="resource-type" content="" />
<meta name="copyright" content="" />
A mi chodzi o to, żeby na stronie portalu (portal.php) były z góry zdefiniowane te meta tagi. Próbowałem
Kod: Zaznacz cały
<!-- IF S_IN PORTAL --> meta tagi <!-- ELSE --> {META_TAG} <!-- ENDIF -->