The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Page title not displayed correctly - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23) +--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26) +--- Thread: Page title not displayed correctly (/showthread.php?tid=961) |
Page title not displayed correctly - mudmin - 02-20-2018 Hmm. We probably need to come up with an elegant solution for this. Page title not displayed correctly - akakor - 02-20-2018 Thanks Shoropio, your fix did the trick. Title works fine now! But a solution out of the box, one that just works, would be preferable yes. Page title not displayed correctly - Brandin - 02-20-2018 So I am not sure what solution there is for this. The only way page titles work is if there is an entry in the pages table. If the pages are not protected/registered from z_us_root by the pages function-it can't find a title. I think the only solution is to add / to the z_us_root, but I don't know what this could break. Page title not displayed correctly - mudmin - 02-20-2018 We basically need to do a check to make sure a page that's in the db doesn't get re-inserted, right? Page title not displayed correctly - shoropio - 02-26-2018 Exact @mudmin, Adding "/" z_us_root.php works ... the problem is that it prints two versions of the same file in the database, for example: /my-page.php and my-page.php. for the title to print correctly we should just edit /my-page.php in admin_pages.php. Page title not displayed correctly - mudmin - 02-26-2018 Do you know if there is a ticket in for this at userspice.com/bugs ? I'll work on a more elegant solution for 4.3.15 Page title not displayed correctly - mudmin - 02-26-2018 Even with the / I am not getting page titles. Page title not displayed correctly - shoropio - 02-26-2018 Page title not displayed correctly - mudmin - 02-26-2018 Thanks. This is helpful. Page title not displayed correctly - mudmin - 02-26-2018 Ok. Try this. Try getting rid of the / in the z_us_root and just leaving the '','users/','usersc/' and any other folders you added. Then replace the users/includes/header.php with this https://pastebin.com/Bw3ApXuj |