PDA

View Full Version : Changing text/adding text on 'tasks' and 'projects'


slickplaid
24-02-05, 05:58 AM
I am trying to change such things as "Start Date [box with date]" and "Finish Date [box with date]" to something different. I tried changing the text in the "System Admin/Translation Management" and nothing seems to change. I get a successful propt at the top saying that the changes were saved, but nothing seems to be different on the "tasks" or "projects" pages. All permissions are set to read/write for all on the entire "locales" directory (and files/folders under). Am I going about this the right way to change these portions of text? When I view the page which should have been changed I am refreshing and clearing cache and what not, so no problems in that area.

Also, I would like to add a couple fields such as instead of just having start and finish date, i'd like to have three date fields named Recieve Date, Closing Date, and Complete Date, respectively. Also changing a drop down menu to hold a Type list (new, replacement, removal, etc), Delivery quantity box (could just change one of the original text input boxes, since most aren't needed or have to be changed for our company) and another drop down for something like a builder list for who's building area it is.

A lot of change, but I'm relatively proficient in php, just trying to figure out someone else's program is a headache in itself.

Thanks,
slick

caseydk
24-02-05, 07:36 AM
You can rename fields by making your own translation. This is the easiest way.

For the other things, you'll probably want the "view.php" and "tasks.php" in the tasks module as a place to start.

slickplaid
25-02-05, 08:24 AM
Ok, first off... did you read my problem? Not trying to sound condensending or anything, but... I tried using the translation tool to change the text and it doesnt seem to save (I seem to have the same problem with setting the global currency setting)... once again all perms are set correctly ...even too lax with chmod 777.... but yeah... as for the second portion.. how does "wanting the view.php and tasks.php in the tasks module" even give me a place to start to add additional fields to add addtl sql data? (i can code that, just need to know what the format is for adding something, what dependencies i need to figure out, etc)

I'm going to do a fresh install to see if any problems are fixed, but I still need a more detailed answer for the second portion of my problem/question.

Thanks,
slick

caseydk
26-02-05, 01:31 AM
Wow, good to meet you too.

I meant actually copying the entire translation and customizing it to your hearts' content. Then you just select the Translation that you want. You could even have different "translations" customized for the jargon of individual groups.

If you want to add/replace/remove fields on the task display, you edit "view.php".
If you want to add/replace/remove fields on the task add/edit screen, you edit "addedit.php".
If you want to add/replace/remove fields on the task listing screen, you edit "tasks.php".
And the table that stores the task information is named "tasks".
This naming convention is relatively straightforward and standard across all of the modules.

I believe that that v2.0 is more powerful in this regard and information on this can be found on the Documentation Site under "Custom Field".

You might consider checking there first if you need additional assistance.