1
bjuti
Meta Description in MyAlbum-p
  • 2010/9/3 17:35

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


I've searched and I didn't find solution for adding unique meta description for each photo in MyAlbum-p.

So, here is the solution:

in photo.php, after:

// 
$xoopsTpl->assign'xoops_pagetitle' $photo['title'] ) ;


add this two lines:

$photo_desc strip_tags($photo['description'], '');  
$xoTheme->addMeta('meta''description'$photo_desc);


Now you'll have unique meta description based on description of the photo.

MyAlbum-p is great

Login

Who's Online

402 user(s) are online (263 user(s) are browsing Support Forums)


Members: 0


Guests: 402


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits