This topic is locked
[SOLVED]

 PHPR 5.2 New Button

1/26/2010 10:19:00 AM
PHPRunner General questions
A
aalekizoglou author

In PHPR 5.2 the insert new button in visual editor inserts
<INPUT id=New_Button1 value=TestButton type=button typeid="ib">
Maybe you can insert a class type for this as well, e.g. class=button so that we can style the new buttons as we can do for the whole interface using the css.
If i change the class in the html mode of the visual editor, then every time i change something to the visual editor the new button get back it's properties therefore losing the class property.
Regards,

J
Jane 1/27/2010

Athanasios,
thank you for this suggestion.

We'll add it to our list.
BTW you can change all parameters for this button except id.

A
aalekizoglou author 1/27/2010

Jane thank you for your reply,
is there somewhere in the source code of PHPR that I can change the default properties of the new buttons inserted, so that I can add that?
Also please note that the properties of the new button gets back to its default every time I click on button's properties to alter the code. Of course I understand that I can change the code from the events as well.
Regards,

D
Dale 1/27/2010

I have done these type of changes. The source files to change are in phprunner/source directory. add.php, edit.php, list.php, etc etc.

These files are used when building your project pages. Down side is, if you upgrade or reinstall your phprunner app the modified files will be overwritten.

A
aalekizoglou author 1/27/2010

DaleM,
I use ExamDiff for examining text files between versions, so I can keep up with changes I make. But what i was talking about is the default properties of buttons inserted with the visual editor. I am not sure those are defined in the .php files.