Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-04-09 17:43:27

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Behaviours or Scripts Tab...

I know we all want to keep the interface simple. But a lot of web developers refer not only to seperating content from presentation but also from behaviours.

Wouldn’t it be nice to have a Behaviours tab that functioned like the style tab, where you could internally manage javascripts?

I’d like that, how about you? =P

Offline

#2 2005-11-23 16:37:26

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: Behaviours or Scripts Tab...

I agree with mrdale. JS behaviours are a dire necessity for a web admin. Having something like that would eases up things and also help us carry js files along with the database. I have infact made a plugin-request <a href=“http://forum.textpattern.com/viewtopic.php?pid=87659#p87659”>over here</a>.


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#3 2005-11-28 16:49:20

Mike Montgomery
Member
Registered: 2005-11-28
Posts: 29
Website

Re: Behaviours or Scripts Tab...

I agree that a “Behavior” tab would be great, so that each layer has a tab:
Page (content)
Style (CSS)
Behavior (javascript)

This would help people to use scripts that are unobtrusive, rather than inline.

Offline

#4 2006-10-09 23:28:08

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: Behaviours or Scripts Tab...

under Presentation, I’d be happy with a ‘Javascript’ tab – that works like ‘Style’

a few small .js files are the only things I have to manage outside the Txp interface …

(granted many people work differently, or are dealing with complex scripts)

Offline

#5 2006-11-30 18:14:28

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Behaviours or Scripts Tab...

Crosspost stm_javascript now gives you a javascript tab in the presentations area. seems to work nicely.

You need to edit line #16; remove the double quotes after </script> to make it work properly.

Offline

#6 2006-12-01 08:27:04

monsta
Archived Plugin Author
From: Nierstein
Registered: 2006-12-01
Posts: 3
Website

Re: Behaviours or Scripts Tab...

You need to edit line #16; remove the double quotes after </script> to make it work properly.

stm_javascript was updated

Offline

Board footer

Powered by FluxBB