This topic is locked

Using GIF's instead of Field Labels

9/6/2014 4:51:16 AM
PHPRunner General questions
S
swanside author

On my project I have four fields.
Exported

Finished

Printed

Paid
I want to use icons and not text for these fields.

How can I do this?
Cheers

Paul.

S
swanside author 9/6/2014



... icon as link ...
http://www.asprunner.com/forums/topic/19120-icon-instead-of-link/


I dont want to use it as a link, I want to replace the headers on the top of the list page


HJB 9/6/2014

That very wished feature is shipped by default within PHPR 7.1 <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=75597&image=1&table=forumreplies' class='bbc_emoticon' alt='B)' />

S
swanside author 9/7/2014



That very wished feature is shipped by default within PHPR 7.1 <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=75599&image=1&table=forumreplies' class='bbc_emoticon' alt='B)' />


Cheers.

Thats the version i have. Looks like I will have to go to the manual!!

HJB 9/7/2014

... shortest way to fly into the right manual's location is this: Type in "link attributes" within the search field of the help pages, then only "Formatting Options ..." (as a search result appears), after click on same found link drill to roughly the mid of the then coming page until the head line "link attributes" appears and then look at "icon" change inside the help text, and you'r done! Enjoy! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=75600&image=1&table=forumreplies' class='bbc_emoticon' alt=':blink:' />
P.S. Sorry, forgot that you want to change FIELD LABELS rather than FIELD CONTENT (numbers or strings) into GIF's, so the above lines do NOT really hit the topic at all, yet, fact remains that you want to visualize to provide better oversight in regard to the table content (a picture saying sometimes more than thousand words), so, by some extent such conditional formatting can jump on "per row" basis rather than "by label".

S
swanside author 9/7/2014



... shortest way to fly into the right manual's location is this: Type in "link attributes" within the search field of the help pages, then only "Formatting Options ..." (as a search result appears), after click on same found link drill to roughly the mid of the then coming page until the head line "link attributes" appears and then look at "icon" change inside the help text, and you'r done! Enjoy! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=75601&image=1&table=forumreplies' class='bbc_emoticon' alt=':blink:' />





Ar, I can see how to add the icons and format the Table fields, but I want to change the actual text of the individual table fileds within the table itself.
Hence I have the following fields, the bold ones are the ones I want to show Icons for within the project?

Does that make any sense?
CREATE TABLE IF NOT EXISTS job (

Order_Date datetime DEFAULT NULL,

AttendBy date DEFAULT NULL,

End_Date date DEFAULT NULL,

File_No varchar(20) NOT NULL,

Job_No mediumint(7) NOT NULL AUTO_INCREMENT,

CustomerId int(10) NOT NULL,

Contract text NOT NULL,

Job_Description text,

VAT varchar(10) NOT NULL,

_**Invoice_Printed**_ enum('-1','0','1') DEFAULT NULL,

Invoice_Printing_Date date DEFAULT NULL,

Invoice_Tax_Date date DEFAULT NULL,

_**Payment_Received**_ enum('-1','0','1') DEFAULT NULL,

_**Job_Finished**_ enum('-1','0','1') DEFAULT NULL,

CustomerRef varchar(50) DEFAULT NULL,

Payment_Due_date date DEFAULT NULL,

Payment_Date date DEFAULT NULL,

Note longtext,

EngineerId int(255) DEFAULT NULL,

LocationId int(10) NOT NULL,

JobTypeId int(255) DEFAULT NULL,

Exported enum('0','1') DEFAULT NULL,

Logged_By char(20) DEFAULT NULL,

PhoneNumber char(20) DEFAULT NULL,

ResponseCatagories char(10) DEFAULT NULL,

CallerName char(50) DEFAULT NULL,

CustomerEmail varchar(500) DEFAULT NULL,

PRIMARY KEY (Job_No),

KEY CustomerId (CustomerId),

KEY LocationId (LocationId)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT AUTO_INCREMENT=1039574 ;

HJB 9/7/2014

Got your point ..., seems as if this your matter is a time consuming and manual coding job case in regard to CONDITIONAL FORMATTING(Tutorial - http://xlinesoft.com/blog/2011/01/03/tutorial_conditional_formatting/ ) where your focus should be on some manually coded lines in regard to STRING comparison (rather than of figures mentioned within the tutorial...) within the comments section underneath the tutorial. HTH <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=75602&image=1&table=forumreplies' class='bbc_emoticon' alt=':unsure:' />
P.S. Made mistake, you talk about FIELD LABELS, so, step into the visual editor, point your cursor on the place where the wished graphical labeling should happen and switch into HMTL code mode in the aim to replace the string oriented code into graphical one. Problem: Any time you are going to refreshing your project, such "manual coding" would get lost. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=75602&image=2&table=forumreplies' class='bbc_emoticon' alt=':(' />