Welcome, Guest. Please login or register.
Did you miss your activation email?
Sep. 02, 2010, 07:48:00 PM
53844 Posts in 11998 Topics by 11375 Members
Latest Member: elizablackmore7
News:
 
The PRADO Community » Prado-related Projects » PRADO Community Project » Page description « previous next »
Pages: [1] Print
Author Topic: Page description  (Read 3805 times)
hynekk
Junior Member
**

Karma: 0
Offline Offline

Posts: 7


View Profile
« on: Dec. 16, 2009, 12:44:38 PM »

Hi,
Id like to dynamically change description of page because of SEO. Is possible to manage it in similar way to title or css (for example: $page->title = 'something') or do i have to solve it using THEAD component?

Thank in advance
Logged
zelonght
Junior Member
**

Karma: 0
Offline Offline

Posts: 7


View Profile
« Reply #1 on: Jun. 25, 2010, 06:53:29 AM »

Try to use this  Wink

Code:
$meta = New TMetaTag;
$meta->Name = 'keywords';
$meta->Content = '...';
$this->Head->MetaTags->insertAt(0,$meta);
$meta = New TMetaTag;
$meta->Name = 'description';
$meta->Content = '...';
$this->Head->MetaTags->insertAt(0,$meta);


Cheers,

Hoang Long
Logged

Idea & Creativity: www.ytuongsangtaovn.com
Prado web design: www.tinhocvaketoan.com
Pages: [1] Print 
« previous next »
Jump to: