This topic is locked
[SOLVED]

 Customize Style On Add New Or Edit Record Page

4/30/2013 5:31:44 PM
PHPRunner General questions
G
grin968 author

I'm new to PHPRunner and trying to change the design (style) of new or edit existing record page.

For example I don't like the background color (or image) of cell of the field name is different from the one for value cell.

What is the right way to do it within framework?

C
cgphp 4/30/2013
G
grin968 author 4/30/2013

Well,

I need to change background of cells in Add/Edit page. I used Fancy with Aqua color scheme as the base and started to adjust it.

I have gradient color for field name column and flat for values.

in Customize Style: I couldn't find of the option for the change. Neither of globals, containers or both menus have it.

PreExisting color schemas do not fit my needs.
Should I change it somewhere in color schema file in text editor?
Thank you for your help.

Sergey Kornilov admin 4/30/2013

Could you post a screenshot that explains what color you trying to change?

G
grin968 author 5/1/2013

The image below is what I get so far with styles and schemas.


I want to replace gradient color with flat and add grid on the table.

Sergey Kornilov admin 5/1/2013

Style Editor->Add page->Containers

Click this container in preview, then Background->Plain->Gradient->None (first square)

G
grin968 author 5/1/2013

Well, this changes the gradient on the cell containing the fields table. Not the cells in fields table.

How about those marked on the image below?

Sergey Kornilov admin 5/2/2013

I'm afraid I do not understand the description and there is no image.

G
grin968 author 5/2/2013

Sorry..

Here is an image

Sergey Kornilov admin 5/2/2013

This is exactly what my suggestion does - it changes the style of those fields names.
Probably you can post another screenshot of PHPRunner style editor where we can see what happens with the page preview when you follow my suggestion.

G
grin968 author 5/2/2013

Sergey,
Here is step-by-step walkthrough with screenshots:

  1. Initial: editor


2. In style editor, containers tab, gradient. Internal table with field names and values is grayed out. Does it means it will not be affected by the change?


3. In style editor, containers tab, gradient changed to none


4. Exited from style editor to editor's style/schema selector


As a result the gradient is changed only at the cell containing field's table. Not the field names cells.

C
cgphp 5/2/2013

When you are in the "Container" section, click on a field name ("Contact" for example) and you will see new available options for the "Background" list.

G
grin968 author 5/2/2013

Just a simple click?

And it solves the problem! Thanks!
And one more question, can I set the borders between rows in that table?

C
cgphp 5/2/2013

There is the "Border" option for that.

G
grin968 author 5/2/2013

It defines the border around container (the table in my case). What's about rows within the table?