Commit Graph

21 Commits

Author SHA1 Message Date
friendica 38301ae1b4 A future "comanche UI" is going to need lists of available building blocks. Some of these are pretty easy to assemble, others are a bit more difficult and will have to go through a registration procedure. This checkin create such a registration procedure for page templates and their associated flavours and their assignable regions. The array itself is extensible since I don't know for sure at this stage what the front-end UI for this feature will ultimately require or even if there ever will be a front-end UI as this community still seems to believe that software writes itself and just magically appears, working perfectly. 2014-04-25 16:09:32 -07:00
friendica d16324685a implement horizontal menu class in redbasic 2014-03-03 15:21:43 -08:00
friendica e931af8307 first cut at choklet template 2014-03-02 15:47:01 -08:00
friendica bf401a5afa allow templates to have multiple styles - this would be a bit like having a schema for a template file. At first you'll think this is insane and overly complicated, you'll just have to wait and see what I'm up to. Then it will start to make sense. 2014-03-02 00:24:29 -08:00
friendica 247cb85c94 it's unfortunate that we use the term "layout" to refer both to a template file and to Comanche .PDL files. I think we should probably refer to the template file as "template" just to avoid confusion. For the moment we'll provide both, since the 'layout' is already in the wild. But please use "template" going forward. 2014-03-01 17:49:28 -08:00
friendica 102521844b put schemas in Comanche (this requires theme support (!)) 2014-02-27 20:48:10 -08:00
friendica 364fc9f163 comanche: provide an option to add a menu class for different theming choices on some menus (e.g. horizontal, tabbed, etc.) 2014-02-25 20:58:20 -08:00
friendica 1380bee82c Comanche documentation and some cleanup of layout page (including link to doco) and a few other webpage related cleanups 2013-10-28 17:48:42 -07:00
friendica e2988a0253 put comanche widgets in their own file. Added a category tagcloud widget - but the entries aren't going to link to anything until we have a webpage search ability. But this will be a way to exercise and test widget arguments. 2013-10-27 16:30:55 -07:00
friendica d51aa653e2 passing vars to widgets in Comanche - !this breaks existing widget declarations!
See the wiki for updated syntax but basically it's now [widget=name][var=varname]varvalue[/var]...[/widget]
2013-10-24 15:35:24 -07:00
zottel d7b81b1afd Add possibility to use a block a channel menu (set channel_menublock to the lowercase title of the block without special chars)
Fix comanche_block() SQL
2013-10-01 09:36:28 +02:00
friendica e0391de906 there's no $a in comanche_block() (zottel) 2013-09-30 13:42:29 -07:00
Thomas Willingham 3cf5e5effd Fix Comanche menus 2013-09-28 19:05:50 +01:00
friendica 15ae108832 missing uid check on comanche_block to ensure we get the block with that name that we own 2013-09-20 18:41:15 -07:00
friendica 99ea251b12 provide templating options in comanche for the underlying webpage element - in this case the way the author is displayed. Leave this open for other forms templating options. 2013-09-04 21:24:57 -07:00
friendica a8f99df777 render blocks - yes these should be templates, but I've got too much to do at the moment and just want everything to fall into place quickly. The clerical work will have to wait. 2013-09-04 00:50:47 -07:00
friendica 0be8e4061c testing Comanche 2013-09-03 01:57:11 -07:00
friendica a1906482dc rework the pdl_selector a bit since we've slightly changed the way layouts are stored. 2013-09-01 18:36:14 -07:00
friendica 7458263017 I've got a pretty good idea of how to bootstrap, parse and render Comanche now. This does not mean it's close to being presentable - far from it. 2013-08-29 20:54:42 -07:00
friendica 03e1a0cc15 really truly bare-bones comanche 2013-08-28 20:03:01 -07:00
friendica 95fcf773be right - here's how we're going to link comanche with webpages 2013-08-28 16:39:43 -07:00