Sedang Disiapkan

Smarty assign meta tags from template file - repost

IF DON'T UNDERSTAND PLEASE DO NOT POST OR SEND PM

Smarty assign meta tags from template file

example of [url removed, login to view]

==============================================

$title = "Test title";

$description = "test description";

$keywords = "test keywords";

$smarty->assign('title',$title);

$smarty->assign('description',$description);

$smarty->assign('keywords',$keywords);

$smarty->display('[url removed, login to view]');

$smarty->display('[url removed, login to view]');

$smarty->display('[url removed, login to view]');

==============================================

Code used in [url removed, login to view]

==============================================

{$title}

==============================================

I need when display different template (example [url removed, login to view]) in same php file to show other tags that in included in [url removed, login to view] file

Also possible to use other code its not a problem

MORE EXAMPLE

just need when display other template, assign new meta tags in [url removed, login to view]

example

$smarty->display('[url removed, login to view]'); other meta tags

$smarty->display('[url removed, login to view]'); other meta tags

add code to exaple [url removed, login to view] to display in [url removed, login to view]

IF DON'T UNDERSTAND PLEASE DO NOT POST OR SEND PM

PISSED OFF BAD DEVELOVERS

Code used in header.tpl

<title>{$title}</title>
<meta name="description" content="{$description}">
<meta name="keywords" content="{$keywords}">

Kemahiran: PHP, Smarty PHP

Lihat lebih lanjut: smarty add meta tags template file, smarty meta tags title, meta description use smarty, smarty meta description, smarty header keywords, smarty meta tags, c template example, php smarty, meta-description, add meta, need smarty php, template file, smarty meta example, title tags, meta description tags, smarty template different meta, title meta, tags different keywords, smarty php code, smarty header footer, header smarty template, example smarty php, php smarty example, problem description template, smarty example

Tentang Majikan:
( 5 ulasan ) Kuala Lumpur, Malaysia

ID Projek: #4078053

Dianugerahkan kepada:

kirilpanchev

Hello :) I have over 10 years of experience in Web Development including PHP, Smarty, MySQL, jQuery, etc. Also I am Zend Certified PHP Developer (ZCE). I can help you out with your troubles. Let's do it!

$20 USD / jam
(25 Ulasan)
4.3

2 pekerja bebas membida secara purata $20/jam untuk pekerjaan ini

phongpp2000

ready to start

$20 USD / jam
(14 Ulasan)
4.0