How to make "feed" the default tab
How to make the "feed" the default tab for all people in the "all feeds (outline)" block on a homepage? (see images below please)
This is the block in pages
-
-
·
LeonidS
- ·
Excuse me, @Tajrebatee , but it was described here https://una.io/d/changing-default-tab-in-timeline :-)
-
·
LeonidS
-
Well, this is not the same. In the block here, I couldn't see the "0=>'feed'. to 0=>'public'" choices
All I see is this (see image before) so, am not sure what to change?
-
It is almost the same, just try to replace this code with the next one:
array (
'module' => 'bx_timeline',
'method' => 'get_block_views_outline',
'params' =>
array (
0 => 'feed',
),
)
-
Thank you so much. Will try it and let you know.
-
There must be something wrong, I couldn't add the code. After I enter it I keep getting the spinning wheel with no action. I did clean the Cache with no luck. Any suggestions?
-
You need to open the browser developer console (F12 in Chrome and FF) and check the "Network" tab. There should be a description of the error in the "Response" section. Or check the latest lines in the error log.
-
Here is the screens I got from Chrome...not sure how to interpret them...
How to get error log?
-
-
Repeat plz the procedure of the code saving with the opened browser developer tool.
-
here are what I got:
warning;
-
As we may see in the first screenshot, you've got the 500 Internal server error. So you may find the traces in the error log.
-
OK. Here is the error log (fully attached) but last line is below (indicative of syntax error) so I appreciate if you can help:
[Sat Dec 10 01:23:53.306090 2022] [php:error] [pid 25527] [client 176.202.25.71:50461] PHP Parse error: syntax error, unexpected single-quoted string "module", expecting ")" in /var/www/scrubdin.net/modules/boonex/developer/classes/BxDevFunctions.php(117) : eval()'d code on line 2, referer: https://scrubdin.net/studio/module.php?name=bx_developer&page=pages&bp_type=system&bp_page=sys_home
-
- · Tajrebatee
- ·
Thanks @LeonidS . You seem to fix it. Code is now saved.
However, Now the "load more" button (image below) does not do anything, i.e., does not load more posts. Any help?
-
This button runs the AJAX request and if the page contains the JS errors then it might be broken too. Your homepage contains many JS errors, try to investigate the content which calls all of them.
-
Thanks @LeonidS . I would appreciate any help on how to investigate those JS errors...