Jump to content

IPS4: Better Template Editing


gmaister22

Recommended Posts

Posted

Template editing improvements: tabs, ctrl-s, auto tabbing
The template editor in the admin CP is now easier to code directly within with a few changes:
  • Pressing tab will now insert an actual tab.
  • You can save the template using ctrl+s (or cmd+s).
  • When you press enter on a line that starts with whitespace, the next line will automatically start with that amount of whitespace. (Basically, this keeps your tab depth.)
  • If you highlight multiple lines, you can use tab or shift-tab to indent or outdent all of the selected lines automatically.

http://xenforo.com/community/threads/more-assorted-things.50098/

Something like that would be awesomely awesome :)

Posted

http://xenforo.com/community/threads/more-assorted-things.50098/

Something like that would be awesomely awesome :smile:

That would be nice but I'd take the ability to edit actual files in a text editor any day of the week.

  • Management
Posted

Version 4's template system is much easier for a novice. I am no designer and it makes much more sense to me than 3's does :)

Posted

Something I find annoying is the fact is if I'm doing a quick change in a template and I do just "CTRL" it automatically thinks I've made an change to the template which I haven't . Would be great to see that not happen in IPB4 :X

Posted

That would be nice but I'd take the ability to edit actual files in a text editor any day of the week.

You can already do that with WebDAV template editing.

Posted

You can already do that with WebDAV template editing.

I've already discussed with Mark about the time it takes to save files using WebDAV making it unusable. It's quicker to save templates in the ACP.

Posted

I've already discussed with Mark about the time it takes to save files using WebDAV making it unusable. It's quicker to save templates in the ACP.

Then a THIRD (and final...there are no others I'm aware of) option would be to enable IN_DEV, export the master template directories, create a new skin directory under skin_cache, edit masterMap.php to use that for IN_DEV, and edit the files directly out of that folder. It's a lot more tedious, but it is a true disk-based template file system. It's how we develop the software, and how addon authors would add new skin files for applications typically.

Posted

I've already discussed with Mark about the time it takes to save files using WebDAV making it unusable. It's quicker to save templates in the ACP.


Don't worry, I've not forgotten :smile:

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...