gproulx
Posts: 68
|
Posted: 09/19/2012, 12:06 PM |
|
Hi, in the page properties, in keywords, i put {Keywords} who refers to a hidden field in a grid.
But i have multiples products in my grid and it display only the last product keywords in the source of the page.
Any ideas on how i can display the keywords of all my products in the meta name = "keywords" ?
thanks in advance
|
|
|
bannedone
Posts: 273
|
Posted: 09/19/2012, 4:14 PM |
|
Hi
In the before show row event for your grid try as custom code
global $myKeywords;
$myKeywords .= $Container->myHiddenControl->GetValue().", ";
Then in Before Show event Custom Code
global $myKeywords;
global $Tpl;
$Tpl->setvar("Keywords",$myKeywords);
_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2 |
|
|
gproulx
Posts: 68
|
Posted: 09/20/2012, 6:36 AM |
|
thank you, it is working
|
|
|
|