Indicator of the sticked / future / expired entries
Posted: 10 June 2008 05:37 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  175
Joined  05-25-2002

I’m thinking about an Control Panel extension which will be change entry row color in the Edit Tab, when the entry is sticked and/or expired and/or future.  I’m looking for a clever solution, how to indicate status of these properties directly on Edit Tab. I don’t want add next column to Edit Tab (there is lot of information now), so color indication will be better. What are you thinking? Is there any hook for that which push me right way?

 Signature 

+ CM faviconizEE
+ CM Nice URL
+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor

Profile
 
 
Posted: 10 June 2008 06:29 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  168
Joined  07-22-2004

You might want to have a look at this hook; edit_entries_modify_tablerow.

 Signature 

ExpressionEngineer - custom solutions for EE

I EE

Profile
 
 
Posted: 10 June 2008 06:32 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  175
Joined  05-25-2002

ExpressionEngineer: Thank you!

 Signature 

+ CM faviconizEE
+ CM Nice URL
+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor

Profile
 
 
Posted: 10 June 2008 06:35 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  168
Joined  07-22-2004

Thanks!

Please let us know how it goes,
I’m sure you’re not the only one in here who has though about this.

 Signature 

ExpressionEngineer - custom solutions for EE

I EE

Profile
 
 
Posted: 09 July 2008 08:45 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  150
Joined  03-06-2008

I am looking to customize the entry row and found this hook edit_entries_modify_tablerow as well.  However, how useful is this hook in this current form? The only pass-in parameter is the HTML content data, not the entry’s record.  How am I suppose to rewrite the entry row without any info to play with?  It would be painful if I have to extract data from the pre-formatted HTML row….

Profile
 
 
Posted: 11 July 2008 05:45 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  305
Joined  04-12-2008
How am I suppose to rewrite the entry row without any info to play with?  It would be painful if I have to extract data from the pre-formatted HTML row.... 

I’m afraid you have to play with it as it is, which means using preg_replace to put your stuff in or make any changes.

 Signature 

gridonic | Twitter


URL Field Extension
Required Category Extension
DC FreeForm GeoIP Extension
DC Template Manager

Profile