1
deka87
Meta tags and title at user profiles pages.
  • 2008/8/15 7:30

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Hi, I use xbs tags module to change title and meta tags for any script withing my XOOPS site. i inserted 2 additional new lines users should fill when registering KEYWORDS for their profile and TITLE. So I changed meta tags and title for /modules/profile/user.php and it works well if you write stuff like USER PROFILE as a title, but the thing is that when change it to like {$title} (which is a variable for TITLE line in the registration form) it doesnt show the title user mentioned but shows exactly what i wrote - {$title}. How do I insert variables in title and meta tags?
Mind anchors

2
deka87
Re: Meta tags and title at user profiles pages.
  • 2008/8/15 8:07

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


let me change the question.

where are title variables difined for each module? i can't find 'em in templates files
Mind anchors

3
trabis
Re: Meta tags and title at user profiles pages.
  • 2008/8/15 12:55

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

deka87 wrote:
How do I insert variables in title and meta tags?


$xoopsTpl->assign('xoops_pagetitle'$title);
$xoopsTpl->assign('xoops_meta_keywords'$keywords);
$xoopsTpl->assign('xoops_meta_description'$description);

4
deka87
Re: Meta tags and title at user profiles pages.
  • 2008/8/15 16:56

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


thanks dude. im sorry im not a programmer where do i insert this code?

thanks in advance
Mind anchors

5
trabis
Re: Meta tags and title at user profiles pages.
  • 2008/8/15 18:48

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I must have replied in the wrong thread, sorry dude.

Login

Who's Online

348 user(s) are online (234 user(s) are browsing Support Forums)


Members: 0


Guests: 348


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