Post by Marko KÃ¤ning Post by Stephan Beal
You need to edit the links in the menus to add parameters for the
settings you want. e.g. max is set using n=123.
I know that I can do that, in principle, BUT next time I click the
/timeline menu link I am back to the default settings for all three
parameters, i.e. n=50 in this case.
You're missing what he is saying. He is saying change the Timeline
(/timeline) link in the menu.
When logged in as an admin, go to:
You will see text that says:
A "skin" is a combination of CSS, Header, Footer, and Details
The html/th1 mix that shows up in the textbox is the top section of
Search for Timeline and you should see:
menulink /timeline Timeline
and click Apply changes. Now the default value when clicking Timeline
menu link is to show 100 changes.
I don't think there is an option to allow logged in users to set those
sorts of things on a per user basis. AFAIK there is no user data
stored other than a password. So you would need to figure out how to
create a user table to store user preferences. There are no custom
forms for users (i.e. a user equivalent of the admin/tickets
mechanism), you wouldn't be able to allow the user to edit things
without some changes to the fossil core code.
However once you had that info in the database, IIRC you can use th1 to
find out who the current user is. Then you can make sql calls into the
database. So I think in theory you could change/create a user schema
that holds personalized settings and use th1 to customize the menu
My employers don't acknowledge my existence much less my opinions.