The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Name of the page - 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: Name of the page (/showthread.php?tid=900) Pages:
1
2
|
Name of the page - shoropio - 01-03-2018 Hello again in the index.php this in the root of the site do not call name of the page with Code: <?= (($pageTitle != '') ? $pageTitle : ''); ?> Name of the page - Brandin - 01-06-2018 Hi Shoropio, so sorry I missed this! I'm not sure I understand, could you give me some more details? Name of the page - shoropio - 01-07-2018 Hello, @brandin. The name of the page is only called from the users folder or in folders previously added to z_us_root.php, but the root of the site does not call any names. Name of the page - Brandin - 01-07-2018 Is this the only file (index.php) this occurs on? I believe the title is grabbed from the database and done through headers.php or navigation.php Name of the page - shoropio - 01-10-2018 It happens on all my pages that are at the root of my site. The closest thing to a solution I found was adding z_us_root.php /. it works just that it saves two copies of my pages in the database. Example: index.php and /index.php Name of the page - shoropio - 01-10-2018 My z_us_root.php Name of the page - Brandin - 01-10-2018 This is because items not monitored (folders not in z_us_root are not in the pages table, which means they have no title. Name of the page - shoropio - 01-11-2018 My friend, you are not understanding me ... thanks anyway, Pura vida. Name of the page - Brandin - 01-11-2018 So when you add / it adds /index.php to the DB? I think I might know what is going on here...maybe! Name of the page - shoropio - 01-15-2018 Right. All pages at z_us_root.php level did not appear in the name, when I added / yes only that two are saved in the database. index.php and /index.php. Then I add the name to only /index.php and it works. Maybe @mudmin know about the problem. |