Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#81 2016-06-04 01:43:27

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 975
Website

Re: Improvements to editor (write page, code pages)

@Bloke

By the way – just an upfront thanks for the incredible amount of time and effort you have put into the new release, and the upcoming releases, as well as to the rest of the devs and contributors!

The new branch w/ unlimited custom fields sounds really good. And yes, it sounds like it make custom content types possible – which is part of what I’ve been hoping would be opening up. It’s exciting times for Textpattern.

Tying cf to Sections, etc – would be excellent – a very nice smart ui feature.

Ax echoed more succinctly the intent of my post when he said “I find the two boxes, body and excerpt, not ideal. For some purposes, you would rather like to have three, or five, or only one, and with a header and ordering of your own choice.”

Sometimes maybe you don’t want any of the pre-existing content pages. You just want a simple page with 5 custom fields. No body, no excerpt. Maybe even no title.

I think right now that would require a lot of hiding using bot_write_tab_customize, or css mods under the new hive admin theme, or smd_tabber and mem_form and/or zem_contact_reborn, and perhaps on occasion some additional hacking . .

I just keep imagining something more elegant for creating custom content page.

smd_tabber works well enough but mem_form can be a tough plugin to grasp at times – or maybe it’s just me who has had problems working the bugs out.

So I dream of nice tag like <txp:input cf=“my_shiny_new_custom_field” />. Perhaps an attribute that allows you to tie into content types and ui elements added by other plugins. Then that can be used on smd_tabber to build a custom content page.

Last edited by maverick (2016-06-04 10:27:10)

Offline

#82 2016-06-04 09:41:18

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,662
Website

Re: Improvements to editor (write page, code pages)

Everything Mav said. Including a huge appreciation for your efforts, Stef, on bringing Txp custom fields into the modern age. Can’t wait to test the 4.7 concepts.

Last edited by Destry (2016-06-06 09:28:15)

Offline

#83 2016-06-05 22:15:36

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,035
Website

Re: Improvements to editor (write page, code pages)

maverick wrote #299481:

Perhaps we go beyond just draggable panels (which is a good start!) and begin to think about making it an option for developers to design an entire admin page with just the custom fields they want; without having to hide a bunch of stuff with CSS and plugins.

maverick wrote #299500:

I just keep imagining something more elegant for creating custom content page.

smd_tabber works well enough but mem_form can be a tough plugin to grasp at times – or maybe it’s just me who has had problems working the bugs out.

So I dream of nice tag like <txp:input cf=“my_shiny_new_custom_field” />. Perhaps an attribute that allows you to tie into content types and ui elements added by other plugins. Then that can be used on smd_tabber to build a custom content page.

Yes, that echoes my thoughts exactly. Drag and drop and positioning is nice and looks cool in a cms demo video but – for the most part – you’re not changing things around often. Most entry panes are set once and then stay that way. And as it is (mostly) the developer who sets up what goes where, it would be very txp-like to have admin-pane templates in which it would be possible to define one’s one data entry and entry-list panes, and be able to remove those cases from the regular articles list. The new “partials” setup for the write tab is already a step towards that modularisation of admin ui items.


TXP Builders – finely-crafted code, design and txp

Offline

#84 2020-12-09 00:50:25

Myusername
Member
Registered: 2019-12-12
Posts: 96

Re: Improvements to editor (write page, code pages)

It has been years since this topic was last commented on. How are current users thinking about this? Do you still consider adding a javascript editor to Textpattern textareas?

I’m using version 4.8.4 of Textpattern, and unfortunately plugins like smd_textile_bar are not working as they should. Although, in some previous versions of txp I remember using it successfully. I believe that it is not something serious to resolve.

Anyway, I started using “MarkItUp”, and since then I use it every time I create a website on Textpattern. It is the closest to the ideal, and it is very easy to configure according to my needs. You can easily add an “output_form” to the article, for example. I would say that this is the main reason why I use it, sometimes I use so many forms for images, videos and slides that it is difficult to remember when publishing.

When it comes to the editor on the tabs “pages”, “forms” and “styles”, it’s complicated haha. I particularly find it necessary to install any editor before starting to write something straight through the Textpattern admin. I usually use ACE, despite having some bugs.

Does anyone here usually develop directly by the Textpattern admin without any editor installed?

Offline

#85 2020-12-09 18:33:33

etc
Developer
Registered: 2010-11-11
Posts: 4,076
Website

Re: Improvements to editor (write page, code pages)

Myusername wrote #327369:

I’m using version 4.8.4 of Textpattern, and unfortunately plugins like smd_textile_bar are not working as they should. Although, in some previous versions of txp I remember using it successfully.

Have you reported it to Stef (Bloke)?

Offline

#86 2020-12-10 05:14:50

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,467
Website

Re: Improvements to editor (write page, code pages)

Also, do you have the latest one installed?


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#87 2020-12-10 07:45:38

Myusername
Member
Registered: 2019-12-12
Posts: 96

Re: Improvements to editor (write page, code pages)

colak wrote #327396:

Also, do you have the latest one installed?

No. I downloaded it from his website. The latest version seems to work fine;)

Offline

#88 2020-12-10 08:30:39

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,035
Website

Re: Improvements to editor (write page, code pages)

Out of interest, can you show us how you’re embedding MarkItUp in Textpattern? Is that one of kuopassa’s plugins?


TXP Builders – finely-crafted code, design and txp

Offline

#89 2020-12-10 09:45:25

Myusername
Member
Registered: 2019-12-12
Posts: 96

Re: Improvements to editor (write page, code pages)

jakob wrote #327402:

Out of interest, can you show us how you’re embedding MarkItUp in Textpattern? Is that one of kuopassa’s plugins?

I just created a plugin to load the necessary files in the write tab. I made some small changes to the CSS and that’s it.

Here is /textile/set.js with some forms included, if you are interested in seeing it.

Edit: Sometimes I use write_tab_customize, if it is installed.

Last edited by Myusername (2020-12-10 09:56:38)

Offline

#90 2020-12-10 09:55:07

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,994
Website

Re: Improvements to editor (write page, code pages)

Myusername wrote #327399:

No. I downloaded it from his website. The latest version seems to work fine;)

Yay cool. As you’ve found, my website usually houses the latest released versions, which don’t include upcoming fixes. So if you find something doesn’t work in a released version, my GitHub repo is the place to go to access the latest PHP.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

Board footer

Powered by FluxBB