Zum Inhalt der Seite gehen


@Friendica Developers@Friendica Support@Friendica Theme Developer

Are there any possibilities to get (call) only the main page content (without aside widgets and panel)?

background:
The last two weeks I worked on @stefofficiel@diaspored.s-pichard.fr Friendiboot theme (original https://github.com/StefOfficiel/Friendiboot). Now I want to get some content displayed by bootstrap models (e.g. the event_form.tpl, prv_message.tpl and maybe some more where it would make sense).

Is this possible from within the theme without touching core code?
I'm sorry. I don't understand what you need....
You mean throw away aside and right-aside? Guess you just have to edit default.php and neglect those information.
If you simply want to display a page without the "aside" parts, you can call it with the parameter "minimal", example: https://friendika.openmindspace.org/display/friendicadevelopers/1379118?mode=minimal

But I guess you want to do it at every time. So you should do like @Tobias suggested. You could have a look at the mobile themes.
Oh, but minimal strips some other stuff as well right? just tried it and lost the nav area as well in clean theme.
Yeah. It is for stuff like the bookmarklet. There is the parameter "raw" as well. That is for reloading content via JS.
uoh! never saw minimal mode.. cool :-)
"docs"? Never heard the word ...
I'm not sure where to put this.
Maybe we should write some lines for themeing in general and mention there the different modes a page can be called in, to let theme developers know what may be done to their plans.
yeah thanks a lot. Minimal mode is fantastic. I don't need the top navbar for modals. Will try it when I have time tonight
Hi , sorry I do not have too much time to maintain this theme, if you are making changes you can make a pullrequest if you want.
I had not made a base!
To answer you, it must be feasible with JS . In itself this is not ideal but it avoids touching the core .
Touching the core isn't bad, as long as it doesn't break things.
Making pullrequests is maybe not a good idea. There are to many changes at this point.

For the future I also won't have the time to maintain it. Because with the heavy use of bootstrap almost every template file have to be touched.
It already takes too much time (really). And about many things I have no idea (e.g. javascript)

The big plan:
  • Forking Friendiboot (I'm looking for a new name if anybody does have an idea :-) )
  • bring it to a halfway usable state (there will many bugs and rough edges left - on the one hand because of the lack of my own skills, on the other hand because of friendica core needs to be touched)
  • commit it to github and present it to the community


I'm hoping with this step @UX Watchdogs and the discussion about 'one theme to rule them all' gets reanimated.

I really hope that the work will be useful for somebody (Either someone steps up with parts of the theme as base/playground or in the form of debates which will result in a new standard theme)
dis­cus­sion about ‘one theme to rule them all’ gets rean­i­mated.

If this is the plan I'm strongly against it. A new accessible theme ready for mobile-fist good looking and user friendly as default - yes, but not to rule them all.
no no, just _the_ theme in core repo.
As far as I understood the discussion a half year ago, the direction should be to have a new standard theme, which defines a standard interface which will be common in all other themes.
Additional themes in this scope should only personalize certain things (which things this should be needs to be discussed further because we haven't talked about it).

The possibility to install themes with a totally other look&feel (compared to the standard theme) should be still possible, but the development of such themes should not be in the scope of the core developers.

https://fc.oscp.info/display/ux-watchdogs/212741
+ irc logs
it will rule the standard interface elements (which elements this will be haven't decided yet) to have similar user experience.

But I don't want to struggle about a part of a sentence which have been written as stylistic element with quotation marks
Plz tag me when you create a release ;-)