C
|
cgphp 12/30/2011 |
$thisDogQ = "SELECT RegName, SireID, DamID, Title, Title2, Title3, Title4, Title5, Title6, Title7, Title8, Title9, Addl_Titles, Photo FROM pedigrees WHERE ID=".$values["ID"]." LIMIT 1"; |
|
501400 12/31/2011 |
$thisDogQ = "SELECT RegName, SireID, DamID, Title, Title2, Title3, Title4, Title5, Title6, Title7, Title8, Title9, Addl_Titles, Photo FROM pedigrees WHERE ID=".$values["ID"]." LIMIT 1";
|
H
|
horsey_kim 1/1/2012 |
Thanks so much, Christian, but that did not work. I have 3 projects and I've gone through all of them looking to see where the page title variable is being set but I cannot find it. All of the pages for all 3 projects have the same title page, which is the same as the name of the table is is based on or perhaps the name of the phprunner project. In all three of my cases they are the same. Do you know how to override this? Do you think that because my events run before the view page that when the view page loads, it is overwriting the code you so kindly provided?
|
|
501401 1/1/2012 |
Which version are you using 5.3 or 6.0? I have have a tag database that I use on pages. But have not done so on 6.0 yet. So let me know, maybe what i have can help you. Kim
|
C
|
cgphp 1/1/2012 |
C:\Program Files\PHPRunner5.3\templates\layouts\<theme>
<title>##@TABLE.strCaption h##</title>
<title>{$custom_title}</title>
$xt->assign("custom_title","This is a custom title"); |
|
501402 1/1/2012 |
Perhaps the problem is that I am using 6.0??? Would this new script work in 6.0?
C:\Program Files\PHPRunner5.3\templates\layouts\<theme>
<title>##@TABLE.strCaption h##</title>
<title>{$custom_title}</title>
$xt->assign("custom_title","This is a custom title"); |
|
501403 1/1/2012 |
I went to my templates folder, opened 'pedigrees_view.htm', replaced <title>$pagetitle</title> with <title>$custom_title</title>. Then in my events, I put this:
C:\Program Files\PHPRunner5.3\templates\layouts\<theme>
<title>##@TABLE.strCaption h##</title>
<title>{$custom_title}</title>
$xt->assign("custom_title","This is a custom title"); |