would like to display user's name in the <title> of the page that shows all the user's submissions
List posts in the topic
would like to display user's name in the <title> of the page that shows all the user's submissions
msg# 1
At the moment, when a user clicks on a category, that category is displayed in the <title>. Thanks to your help from here, I added this code to viewcat.php
$xoopsTpl->assign( 'xoops_pagetitle' , $cat_title) ;
What I would like to do now is to display the user's name in the <title> field of the viewcat.php page displayed when you click on a user and see only their own submissions.
Could this be done somehow like this:
$xoopsTpl->assign( 'xoops_pagetitle' , $uid , $cat_title) ;
If so, what is the PHP variable to display the user's name who's submissions we are looking at? OR could this better be done by adding that line of code into the viewcat template? I still want to retain the ability to display the name of the category in the <title>.
thanks for your help!
Votes:3
Average:10.00
Posts tree