Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Unique page titles in PDP

Hi,
I have about 600 downloads on my site. I Use PDP for this

Right now they all have the same page title. Can someone help me og to make it, so it use the title of the download and add that information to the header...?

Thanks in advance for any help on this.

Jannik
Look for something like download_title and use the add to title function.

CodeDownload  
add_to_title($data['download_title']);

Hi Fangree_Craig

Thanks for your help... Im having problems getting the title thing to work. the description is working fine though...

It is in the bottom of the infusions/pro_download_panel/downloads.php file

here is my code... hope you can se why it doesnt get the title information.

CodeDownload  
$pdp_title = ' - '.$download->data['dl_name'];

pdp_add_to_title(" - Lessons".$pdp_title);

$pdp_desc = "";

if($pdp_desc!='') {
set_meta("description", $pdp_desc);
}

U have the title function wrong remove 'pdp_' from the front of add_to_title

Quote

jannik wrote:

Hi Fangree_Craig

Thanks for your help... Im having problems getting the title thing to work. the description is working fine though...

It is in the bottom of the infusions/pro_download_panel/downloads.php file

here is my code... hope you can se why it doesnt get the title information.

CodeDownload  
$pdp_title = ' - '.$download->data['dl_name'];

pdp_add_to_title(" - Lessons".$pdp_title);

$pdp_desc = "";

if($pdp_desc!='') {
set_meta("description", $pdp_desc);
}



Try this gov,

CodeDownload  
pdp_title = ' - '.$download->data['dl_name'];

add_to_title(" - Lessons".$pdp_title);

$pdp_desc = "";

if($pdp_desc!='') {
set_meta("description", $pdp_desc);
}

Thread Information
Author
Replies
5 posts
Views
2143 times
Last Post
Last updated on 9 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Craig, jannik, tyler2499