Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#31 2016-09-12 18:11:25
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Hive 4.6 and beyond
etc wrote #301384:
Why isn’t it ok as plugin? I respect everyone’s choice, but wouldn’t use a script that listens to all keystrokes if I had choice.
I don’t mean the plugin as it is, but its functionality or what it does.
Offline
Re: Hive 4.6 and beyond
GugUser wrote #301385:
I don’t mean the plugin as it is, but its functionality or what it does.
Ah, ok then, the speed was my only concern. But some people object that you’ll need to scroll the whole page to go back to top. I agree UI should be as customizable as possible, but this is themes territory for me.
Offline
Re: Hive 4.6 and beyond

This is what and beyond looks like to me.
Going this route breaks a ton of admin-side plugins, I know.
Quandary, a state of perplexity or uncertainty over what to do in a difficult situation.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Hive 4.6 and beyond
Whilst undeniably pretty, that would require rewriting the admin side from scratch. Bootstrap is also very large, and cumbersome if you want to deviate from what you are given. The better approach would be to incorporate features from that into what we already have (we already use Bootstrap’s navigation menu script, for example).
Offline
Re: Hive 4.6 and beyond
philwareham wrote #301397:
Whilst undeniably pretty, that would require rewriting the admin side from scratch.
Yeah, that’s the breaks a ton of admin-side plugins route.
Bootstrap is also very large, and cumbersome if you want to deviate from what you are given.
You can generate custom builds of bootstrap, and I’ll cross the deviate bridge when and if I come to it.
The better approach would be to incorporate features from that into what we already have (we already use Bootstrap’s navigation menu script, for example).
I’m thinking along the lines of being given all these nifty tools to play with.
The INSPINIA Responsive Admin Theme is an excellent example of such a tool chest. I don’t need all of it for a TXP admin, but it’s nice to have prebuilt widget examples a copy/paste away. Scrolling down the page to the Credits, you come upon a who’s who of open source widgetry at your disposal, nicely interfaced into the admin theme.
INSPINIA costs $1,000 for an extended license, which let’s you use it on any project you’d like. I don’t find it expensive, for the knowledge you are being handed.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Hive 4.6 and beyond
I know how to use Bootstrap thanks.
I’ve just purchased a copy of INSPINIA for reference purposes and the production code is 32MB – that includes 10MB of JavaScript and 66 external JavaScript libraries, each with their own differing licenses (some MIT, some Apache, some BSD, and that’s just the handful I’ve checked so far). Since we are GPLv2 licensed we wouldn’t be able to include and distribute any Apache licensed code for a start, so those would have to be stripped out. It’s a lawsuit waiting to happen if we use this as-is, basically.
Since a lot of INSPINIA is bundles of other open source JavaScript, font and CSS libraries (see the chart scripts, file uploader, Bootstrap, etc.) we can cherry pick those ourselves if desired from the original authors without having to scrap the admin side and starting again from scratch, forgoing backwards compatibility.
But by all means, fork Textpattern and rewrite for INSPINIA – I would be very keen to see an implementation of it.
Offline
Re: Hive 4.6 and beyond
philwareham wrote #301401:
Yes, I ran into this last summer, made me feel like I was on the right track.
I’ve just purchased a copy of INSPINIA for reference purposes and the production code is 32MB – that includes 10MB of JavaScript and 66 external JavaScript libraries, each with their own differing licenses (some MIT, some Apache, some BSD, and that’s just the handful I’ve checked so far). Since we are GPLv2 licensed we wouldn’t be able to include and distribute any Apache licensed code for a start, so those would have to be stripped out. It’s a lawsuit waiting to happen if we use this as-is, basically.
Yes, I also sent $18 via PayPal to get a peek under the hood.
Yes, I know of the licensing issues. Wonder how that works for front-of-site Themes?
Since a lot of INSPINIA is bundles of other open source JavaScript, font and CSS libraries (see the chart scripts, file uploader, Bootstrap, etc.) we can cherry pick those ourselves if desired from the original authors without having to scrap the admin side and starting again from scratch, forgoing backwards compatibility.
I’m using INSPINIA as a learning experience.
But by all means, fork Textpattern and rewrite for INSPINIA – I would be very keen to see an implementation of it.
The laboratory is being stocked for the experiments.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Offline
Re: Hive 4.6 and beyond
philwareham wrote #301403:
Cool. I will pick that theme apart and see what we can benefit from – mainly it’s the JS files I am interested in (chart.js and dropzone for a start).
Yeah, all this talk of drag and drop in the thread and I was staring at the examples for Dropzone.
I also came upon Summernote in the Theme, a WYSIWYG Editor that I had done some tests with last summer, and I had really liked.
Essentially someone did the leg work for us, scouring the web, reading the docs, and implementing it. Saves development time, and isn’t that what all these tools like Grunt and SASS do?
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Hive 4.6 and beyond
Oh, one last thing, I’m going for separate Desktop and Mobile themes.
A designer advised me that it was the best approach to take.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Hive 4.6 and beyond
hcgtv wrote #301407:
Oh, one last thing, I’m going for separate Desktop and Mobile themes.
A designer advised me that it was the best approach to take.
Honestly, I wouldn’t bother. We are planning customised panels in 4.7 with localStorage to save the settings, which will cover this better than a dedicated mobile admin theme.
Offline
Re: Hive 4.6 and beyond
philwareham wrote #301408:
Honestly, I wouldn’t bother. We are planning customised panels in 4.7 with localStorage to save the settings, which will cover this better than a dedicated mobile admin theme.
That sounds good but if I’m on Mobile, I’m not going to be hacking Pages and Forms, maybe a quick edit on a footer form or something, more often I’ll be working with content.
My vision for Pages and Forms is for an IDE like experience. Let’s use PHPCrossRef as an example, when you mouse over a PHP function, you get a popup. When viewing a Page in the admin, I can see a user mousing over txp:output_form and a popup appears showing the Form’s code. Syntax highlighting comes to mind, something I wouldn’t want on Mobile to keep the experience optimal.
But first things first, Desktop beast mode.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Hive 4.6 and beyond
hcgtv wrote #301409:
When viewing a Page in the admin, I can see a user mousing over txp:output_form and a popup appears showing the Form’s code.
Playing with summernote, there is the ability to create a Custom button.
So a user highlights the form name in the textarea of a Page, then clicks the Custom toolbar button to get a popup of the form, no need to open another tab to the Forms panel.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline