From taharaxp at gmail.com Sun Dec 7 01:54:01 2014 From: taharaxp at gmail.com (Yoshinori Tahara) Date: Sun, 7 Dec 2014 15:54:01 +0900 Subject: [geeklog-devel] Proposal about improving the admin section Message-ID: Hi All, I want to ask the opinions of Geeklog developers and users about the proposal to be described below. My proposal is about improving the administrator section. Speaking it plainly, I want to separate the admin section. Traditionally, Geeklog's display method of the admin section is exactly the same as the articles or comments, etc.. Therefore, all the templates are stored in a single theme directory. (Except for the plugin templates) This means that it is easy to understand for admin users, but has also brought negative effects on the other hand. First, the system developers have to develop the admin section screen while considering the impact to the theme. But in fact, compatibility of theme has been frequently impaired. Second, the theme developers have been forced to the development of admin screen templates. I also have experience struggling as a theme developer. If we separate the admin section from theme, these problems could quite be solved. I've actually done this effort. The outline is something like the following. 1. Created the admin screen dedicated theme. Named "Admin". 2. Deleted the admin screen dedicated templates from the normal theme. 3. Fixed the system to selectively use both the admin theme and normal themes as the situation demands. 4. Created the new Top Bar for accessing the admin section. This Top Bar is displayed only when you log on. 5. Added the UIkit(http://getuikit.com/) to the system in order to create the Top Bar easily. In order to help you try this result, I have created a distribution for the demonstration. Please download the following link and try. http://www.trybase.com/~dengen/log/files/geeklog-demo.tar.gz After installation, please change the theme to Denim2. It is still rough around the edges, and there are some known issues. In order to try UIkit, please refer to the admin screen of the Static Page plugin. Please send your comments on this thread. Thanks -- Yoshinori Tahara - dengen From geeklog at mystral-kk.net Sun Dec 7 07:38:36 2014 From: geeklog at mystral-kk.net (geeklog at mystral-kk.net) Date: Sun, 7 Dec 2014 21:38:36 +0900 (JST) Subject: [geeklog-devel] Proposal about improving the admin section In-Reply-To: References: Message-ID: <51750.203.189.105.202.1417955916.squirrel@www.s215.xrea.com> Yoshinori Tahara wrote: > If we separate the admin section from theme, these problems could > quite be solved. > I've actually done this effort. The outline is something like the > following. > 1. Created the admin screen dedicated theme. Named "Admin". > 2. Deleted the admin screen dedicated templates from the normal theme. > 3. Fixed the system to selectively use both the admin theme and normal > themes as the situation demands. > 4. Created the new Top Bar for accessing the admin section. This Top > Bar is displayed only when you log on. > 5. Added the UIkit(http://getuikit.com/) to the system in order to > create the Top Bar easily. Sounds quite promising. Since non-admin users don't see admin screens, there is no or little need to develop admin screens for each different theme. One admin-specific theme will do. UIkit as well as Bootsrtap is quite handy not only for building the admin-specific theme, but for creating other responsive themes. I hope either of them will be shipped with Geeklog. -- Kenji ITO http://mystral-kk.net/ From komma at ivywe.co.jp Sun Dec 7 08:18:18 2014 From: komma at ivywe.co.jp (=?UTF-8?B?5LuK6aeS5ZOy5a2Q?=) Date: Sun, 7 Dec 2014 22:18:18 +0900 Subject: [geeklog-devel] Proposal about improving the admin section In-Reply-To: <51750.203.189.105.202.1417955916.squirrel@www.s215.xrea.com> References: <51750.203.189.105.202.1417955916.squirrel@www.s215.xrea.com> Message-ID: I strongly agree with Yoshinori Tahara's opinion. Kenji ITO wrote: > UIkit as well as Bootsrtap is quite handy not only for building the > admin-specific theme, but for creating other responsive themes. I hope > either of them will be shipped with Geeklog. I hope either of them will be shipped with Geeklog, too. By using front-end framework, icon font can be used as Geeklog icon. icon font: http://getuikit.com/docs/icon.html -- Ivy Tetsuko Komma http://www.geeklog.jp http://www.ivywe.co.jp -------------- next part -------------- An HTML attachment was scrubbed... URL: From taharaxp at gmail.com Sun Dec 7 09:14:18 2014 From: taharaxp at gmail.com (Yoshinori Tahara) Date: Sun, 7 Dec 2014 23:14:18 +0900 Subject: [geeklog-devel] Proposal about improving the admin section In-Reply-To: References: <51750.203.189.105.202.1417955916.squirrel@www.s215.xrea.com> Message-ID: Kenji and Tetsuko, thanks for your comment. Kenji ITO wrote: > UIkit as well as Bootsrtap is quite handy not only for building the > admin-specific theme, but for creating other responsive themes. Good point. UIkit is so versatile. It's so convenient also for the normal theme. I'm not sure if UIkit is the best front-end CSS framework. But I like that "uk-" prefix is used for the class name in the case of UIkit. Tetsuko Komma wrote: > By using front-end framework, icon font can be used as Geeklog icon. Yes, icon font is one of the reasons for using the front-end CSS framework. -- Yoshinori Tahara - dengen From websitemaster at cogeco.net Sun Dec 7 12:16:57 2014 From: websitemaster at cogeco.net (Tom) Date: Sun, 7 Dec 2014 12:16:57 -0500 Subject: [geeklog-devel] Proposal about improving the admin section In-Reply-To: References: Message-ID: <002f01d01241$9adccc00$d0966400$@cogeco.net> Hey Dengen, I am fine with the change as well. I welcome it actually :-) I ran your demo and I will just explain a bit more on how it works to the others. The Admin block is still shown with all the items that the user has access to. The Admin block has not changed in functionality. Once you click on an admin link in the Admin block you are taken to the page which now uses the new admin theme that has the top bar menu navigation (which is responsive). The top bar starting on the left has a Home link and then 4 drop down menus for the different sections of the control panel (Core, Plugins, Tools, Users). On the right of the top bar is the User Functions menu. I like the look and how everything works. I just have 2 suggestions. 1) Can we include in the top bar a link to the Command and Control Home page? At first that is what I thought the home link was. 2) Can we include the site name somewhere? Maybe have a mini header above the top bar that has the site name. We could also include the link back to the actual site here and leave the home link on the top bar for the Admin Home. With the site header we could also include other information as well like the version of Geeklog installed and maybe a link to the documentation. Looking at the file structure of the Admin theme I noticed that it contains a lot of template files still that are not needed (archivestorytext, users directory, etc..). Have you just not cleaned those out yet in your proof of concept? Thanks for working on this. Tom -----Original Message----- From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Yoshinori Tahara Sent: December-07-14 1:54 AM To: Geeklog Development Subject: [geeklog-devel] Proposal about improving the admin section Hi All, I want to ask the opinions of Geeklog developers and users about the proposal to be described below. My proposal is about improving the administrator section. Speaking it plainly, I want to separate the admin section. Traditionally, Geeklog's display method of the admin section is exactly the same as the articles or comments, etc.. Therefore, all the templates are stored in a single theme directory. (Except for the plugin templates) This means that it is easy to understand for admin users, but has also brought negative effects on the other hand. First, the system developers have to develop the admin section screen while considering the impact to the theme. But in fact, compatibility of theme has been frequently impaired. Second, the theme developers have been forced to the development of admin screen templates. I also have experience struggling as a theme developer. If we separate the admin section from theme, these problems could quite be solved. I've actually done this effort. The outline is something like the following. 1. Created the admin screen dedicated theme. Named "Admin". 2. Deleted the admin screen dedicated templates from the normal theme. 3. Fixed the system to selectively use both the admin theme and normal themes as the situation demands. 4. Created the new Top Bar for accessing the admin section. This Top Bar is displayed only when you log on. 5. Added the UIkit(http://getuikit.com/) to the system in order to create the Top Bar easily. In order to help you try this result, I have created a distribution for the demonstration. Please download the following link and try. http://www.trybase.com/~dengen/log/files/geeklog-demo.tar.gz After installation, please change the theme to Denim2. It is still rough around the edges, and there are some known issues. In order to try UIkit, please refer to the admin screen of the Static Page plugin. Please send your comments on this thread. Thanks -- Yoshinori Tahara - dengen _______________________________________________ geeklog-devel mailing list geeklog-devel at lists.geeklog.net https://pairlist8.pair.net/mailman/listinfo/geeklog-devel From taharaxp at gmail.com Mon Dec 8 19:47:36 2014 From: taharaxp at gmail.com (Yoshinori Tahara) Date: Tue, 9 Dec 2014 09:47:36 +0900 Subject: [geeklog-devel] Proposal about improving the admin section In-Reply-To: <002f01d01241$9adccc00$d0966400$@cogeco.net> References: <002f01d01241$9adccc00$d0966400$@cogeco.net> Message-ID: Tom, thanks for your comment. Tom wrote: > 1) Can we include in the top bar a link to the Command and Control Home > page? At first that is what I thought the home link was. For now, if you click on any of the four menu items you are taken to the Command and Control Home page. Tom wrote: > 2) Can we include the site name somewhere? Maybe have a mini header above > the top bar that has the site name. We could also include the link back to > the actual site here and leave the home link on the top bar for the Admin > Home. With the site header we could also include other information as well > like the version of Geeklog installed and maybe a link to the documentation. I gave priority to propose a basic Top Bar. We would need to further improve the feature and style of the Top Bar. Tom wrote: > Looking at the file structure of the Admin theme I noticed that it contains > a lot of template files still that are not needed (archivestorytext, users > directory, etc..). Have you just not cleaned those out yet in your proof of > concept? Yes, I am aware. It will be more optimized. In order to remove these files, we need to modify the preview feature on editting of articles and user profiles. For preview rendering, we will should use the normal theme instead of the admin theme. Thanks -- Yoshinori Tahara - dengen From websitemaster at cogeco.net Tue Dec 9 06:35:11 2014 From: websitemaster at cogeco.net (Tom) Date: Tue, 9 Dec 2014 06:35:11 -0500 Subject: [geeklog-devel] Proposal about improving the admin section In-Reply-To: References: <002f01d01241$9adccc00$d0966400$@cogeco.net> Message-ID: <001501d013a4$31338a50$939a9ef0$@cogeco.net> >> In order to remove these files, we need to modify the preview feature on editting of articles and user profiles. Of course... I forgot about these cases. -----Original Message----- From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Yoshinori Tahara Sent: December-08-14 7:48 PM To: Geeklog Development Subject: Re: [geeklog-devel] Proposal about improving the admin section Tom, thanks for your comment. Tom wrote: > 1) Can we include in the top bar a link to the Command and Control > Home page? At first that is what I thought the home link was. For now, if you click on any of the four menu items you are taken to the Command and Control Home page. Tom wrote: > 2) Can we include the site name somewhere? Maybe have a mini header > above the top bar that has the site name. We could also include the > link back to the actual site here and leave the home link on the top > bar for the Admin Home. With the site header we could also include > other information as well like the version of Geeklog installed and maybe a link to the documentation. I gave priority to propose a basic Top Bar. We would need to further improve the feature and style of the Top Bar. Tom wrote: > Looking at the file structure of the Admin theme I noticed that it > contains a lot of template files still that are not needed > (archivestorytext, users directory, etc..). Have you just not cleaned > those out yet in your proof of concept? Yes, I am aware. It will be more optimized. In order to remove these files, we need to modify the preview feature on editting of articles and user profiles. For preview rendering, we will should use the normal theme instead of the admin theme. Thanks -- Yoshinori Tahara - dengen _______________________________________________ geeklog-devel mailing list geeklog-devel at lists.geeklog.net https://pairlist8.pair.net/mailman/listinfo/geeklog-devel From niemans at nlbox.com Tue Dec 9 11:11:41 2014 From: niemans at nlbox.com (Wim Niemans) Date: Tue, 9 Dec 2014 17:11:41 +0100 Subject: [geeklog-devel] Proposal about improving the admin section In-Reply-To: References: Message-ID: <2DB62B08-AB57-490D-885A-6855B5499129@nlbox.com> Excellent move. Somehow I think that the admin interface should be a plugin or adhere to the plugin API? And for clarity, would there be, besides the generic themes, a directory for admin and one for public in the layout? Will geeklog allow for styling with bootstrap/uikit/others for the center-block only as opposed to the whole site? thanks, dengen. > On 07 Dec 2014, at 07:54, Yoshinori Tahara wrote: > > Hi All, > > I want to ask the opinions of Geeklog developers and users about the > proposal to be described below. > My proposal is about improving the administrator section. > Speaking it plainly, I want to separate the admin section. > > Traditionally, Geeklog's display method of the admin section is > exactly the same as the articles or comments, etc.. > Therefore, all the templates are stored in a single theme directory. > (Except for the plugin templates) > This means that it is easy to understand for admin users, but has also > brought negative effects on the other hand. > > First, the system developers have to develop the admin section screen > while considering the impact to the theme. > But in fact, compatibility of theme has been frequently impaired. > Second, the theme developers have been forced to the development of > admin screen templates. > I also have experience struggling as a theme developer. > > If we separate the admin section from theme, these problems could > quite be solved. > I've actually done this effort. The outline is something like the following. > 1. Created the admin screen dedicated theme. Named "Admin". > 2. Deleted the admin screen dedicated templates from the normal theme. > 3. Fixed the system to selectively use both the admin theme and normal > themes as the situation demands. > 4. Created the new Top Bar for accessing the admin section. This Top > Bar is displayed only when you log on. > 5. Added the UIkit(http://getuikit.com/) to the system in order to > create the Top Bar easily. > > In order to help you try this result, I have created a distribution > for the demonstration. > Please download the following link and try. > http://www.trybase.com/~dengen/log/files/geeklog-demo.tar.gz > > After installation, please change the theme to Denim2. > It is still rough around the edges, and there are some known issues. > In order to try UIkit, please refer to the admin screen of the Static > Page plugin. > Please send your comments on this thread. > > Thanks > > -- > Yoshinori Tahara - dengen > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > https://pairlist8.pair.net/mailman/listinfo/geeklog-devel > From taharaxp at gmail.com Tue Dec 9 21:25:34 2014 From: taharaxp at gmail.com (Yoshinori Tahara) Date: Wed, 10 Dec 2014 11:25:34 +0900 Subject: [geeklog-devel] Proposal about improving the admin section In-Reply-To: <2DB62B08-AB57-490D-885A-6855B5499129@nlbox.com> References: <2DB62B08-AB57-490D-885A-6855B5499129@nlbox.com> Message-ID: Wim, thanks for your comment. Wim Niemans wrote: > Excellent move. Somehow I think that the admin interface > should be a plugin or adhere to the plugin API? I modified core system directly. There was no need to write this change as a plugin. Also, I think there is so far no need to add some plugin API. Wim Niemans wrote: > And for clarity, would there be, besides the generic themes, > a directory for admin and one for public in the layout? We would should consider whether to include the admin theme in the layout directory. For example, we can add a directory named such as admin_layout, and it might be better to include the admin theme in the directory. Wim Niemans wrote: > Will geeklog allow for styling with bootstrap/uikit/others > for the center-block only as opposed to the whole site? No, I am assuming that it may be used by all themes freely. Thanks -- Yoshinori Tahara - dengen From websitemaster at cogeco.net Wed Dec 10 06:25:39 2014 From: websitemaster at cogeco.net (Tom) Date: Wed, 10 Dec 2014 06:25:39 -0500 Subject: [geeklog-devel] Proposal about improving the admin section In-Reply-To: References: <2DB62B08-AB57-490D-885A-6855B5499129@nlbox.com> Message-ID: <001b01d0146c$06de7490$149b5db0$@cogeco.net> I think the admin theme should stay in the layout directory. The directory should be named admin. A few new config options would be required in functions.php (if not found then defaults set) 'admin_theme' => 'admin', // Default is 'admin' and this is specifying the directory in layout for the admin theme 'theme_type' => 'frontend', // Default is 'frontend' and the other option is 'admin'. This specifies what the theme is for and can be used by user preferences etc.. to make sure we display the correct type of themes is select boxes, etc.. Tom -----Original Message----- From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Yoshinori Tahara Sent: December-09-14 9:26 PM To: Geeklog Development Subject: Re: [geeklog-devel] Proposal about improving the admin section Wim, thanks for your comment. Wim Niemans wrote: > Excellent move. Somehow I think that the admin interface should be a > plugin or adhere to the plugin API? I modified core system directly. There was no need to write this change as a plugin. Also, I think there is so far no need to add some plugin API. Wim Niemans wrote: > And for clarity, would there be, besides the generic themes, a > directory for admin and one for public in the layout? We would should consider whether to include the admin theme in the layout directory. For example, we can add a directory named such as admin_layout, and it might be better to include the admin theme in the directory. Wim Niemans wrote: > Will geeklog allow for styling with bootstrap/uikit/others for the > center-block only as opposed to the whole site? No, I am assuming that it may be used by all themes freely. Thanks -- Yoshinori Tahara - dengen _______________________________________________ geeklog-devel mailing list geeklog-devel at lists.geeklog.net https://pairlist8.pair.net/mailman/listinfo/geeklog-devel From taharaxp at gmail.com Thu Dec 11 06:57:13 2014 From: taharaxp at gmail.com (Yoshinori Tahara) Date: Thu, 11 Dec 2014 20:57:13 +0900 Subject: [geeklog-devel] Proposal about improving the admin section In-Reply-To: <001b01d0146c$06de7490$149b5db0$@cogeco.net> References: <2DB62B08-AB57-490D-885A-6855B5499129@nlbox.com> <001b01d0146c$06de7490$149b5db0$@cogeco.net> Message-ID: Tom wrote: > A few new config options would be required in functions.php (if not found > then defaults set) Maybe, they would be useful. -- Yoshinori Tahara - dengen