the html dialogs

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
parcley
Posts: 37
Joined: Wed Feb 28, 2007 8:39 am

the html dialogs

Post by parcley »

it would be really cool it each of the dialogs to insert various bits of HTML (ie forms, tables, images, hyperlinks, etc.) had a check box that, if checked, automatically escaped all the double quotes ("). so the out put could be

Code: Select all

a href=\"blah.com\" title=\"title\">asdf</a>
or

Code: Select all

a href="blah.com" title="title">asdf</a>
depending on that option being selected or not...

this would be really useful for putting HTML in to php echo statements and the like...

just an idea.


ps - so i just posted it and the html got stripped - i'll try again
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

hey, that's a cool idea.

I use selective find and replace for this now but it seems like something most of us have to do regularly enough that perhaps it will be added to the ever growing list... :)
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

This feature already exists - well, half of it.
Script -> PHP -> Convert HTML to PHP

So, after inserting your HTML, highlight it again and click the 'CHtP' menu option, or the button in the PHP toolbar.
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

oh snap! That's awesome. sooo many features, so little time...
parcley
Posts: 37
Joined: Wed Feb 28, 2007 8:39 am

Post by parcley »

yeah that sorta works...

i've actually changed my mind though i think a better implementation on this is to have a button, all it's own that simply escapes the highlighted text.

right now the 'convert' button/feature uses the echo/print statement.

i think we need a button that simply escapes the string. maybe the 'convert' button has a third option so that the user can choose echo, print, or none and the none is where the string is simply escaped....
Post Reply