Zum Inhalt der Seite gehen


Frio theme


I know, the theme is not finished, but I added it to friendica-themes.com anyway :-)
In this unfinished state it is much better than some of the finished themes.
This looks pretty neat. Does it come with a mobile theme too? And is there some way to get it work on a specific pod such as snarl.de?
Does it come with a mobile theme too?

It is in some kind already mobile ready. You don't need a special mobile theme.
Ah ok - thanks. I'll have a look at it then as soon as it's available somewhere. :)
@Rabuzarus which data do you need for the hovercards? Aren't they provided via noscrape?
@Rabuzarus concerning remote navigation: it should be enough that the remote server has frio on the server. It shouldn't be needed to have it activated, I think.
Have a look here: https://github.com/rabuzarus/frio_hovercard/blob/master/frio_hovercard.php#L74

input is the nurl. If the contact is authenticated then we have to convert the redir address in to the nurl first.

You can have a short look at frio_hovercard.php. It's not very big well documented. From my understanding noscrape.php works differently
He he, no.
If an other user e.g. has vier as his/her theme you will get the standard vier topnav if you visit his/her profile page. The remote stuff is here https://github.com/friendica/friendica/blob/develop/view/theme/frio/theme.php#L177
I would like to have some magic so that we could provide a theme that would override the default theme of the user.
Mhh some things from my side:
This should be optional. And I'm not sure if it's a really good idea. Think about a very special blog theme which user b has installed. If user a is visiting user b profile page it could be that the theme of user a don't show the data as it should displayed.

There are 3 possibilities which come to my mind.
a cookie would contain this data
the url would contain this data (but this would very limited)
a callback to the users node which gets this data with json/xml
The theme you select is used to display your postings (on your node), how your postings are displayed on another users network stream or even in an Atom feed reader is something out of your control.
I think this should work for remote users as well, not only for local users as in this function. So I suggest that we add the user theme (and style) to "noscrape" and as a hidden field in the profile. Then we could query it at that function.
prepare for my bug report, when my personal theme is not working on a node where it is not installed ;-)