IProperty

Intellectual Property is a full-featured real estate extension for the Joomla! CMS

IPReserve

IPReserve is a reservation extension for IProperty.

IReport

Need to keep track of your IProperty stats? Meet IReport - a reporting tool for IProperty!

Work Force

Work Force is a staff listing extension for the Joomla! CMS. Show off your employees with style!

Report Card

Report Card is a testimonials extension for the Joomla! CMS. What are people saying about your company or product?

UTransport

Ultra Transport is a full-featured vehicle listing extension for the Joomla! CMS

Project Log

Project Log is a project management extension for the Joomla! CMS. The best part is, it's totally free!

Forums

Have pre-sales questions or need support for an existing subscription? Look no further - we have active support forums and pride ourselves on friendly and timely response!

The Thinkery

Not finding what you're looking for? Don't hesitate to contact us!

Before Posting...

Before posting questions in the forums, please be sure to read the FAQs by clicking on the FAQs link in the sidebar product menu. You must be logged in and have a valid subscription to access the SUPPORT FORUMS.
×
Support Policy Notice

As outlined in our Rules section (though never closely followed by our staff!), effective immediately we will no longer be taking time to provide customizations of our products.

Status

More
7 years 3 months ago #20690 by shirran
shirran created the topic: Status
Hi Vinny
Is it possible to add/change the selection/colour in the staus field (drop down box)?
Trev

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #20703 by vinny
vinny replied the topic: Re: Status
Hi Trev - can you post a screen shot showing what you'd like to edit; I'm not sure I understand. It's definitely possible but I'll need to know more details before I can give any suggestions. Thanks.

Vinny - The Thinkery
Good reviews on the JED make us work harder :) | IProperty | Work Force | Report Card

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #20713 by shirran
shirran replied the topic: Re: Status
Sorry Vinny I get ahead of myself it is the 'status' field where you choose 'in progress', 'on hold' or 'completed'
I wanted to change the choices to 'material ordered', 'in progress' and 'on hold' with maybee a diferent choice of colours?
Thanks
Trev
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #20716 by vinny
vinny replied the topic: Re: Status
Ok, thanks for the explanation and screenshot. Unfortunately, since ProjectLog uses the JHTML option to create the drop down options, there's no option to add a css class to individual options in order to add custom sytyles for each option; even if there were a class for each, not all browsers support this (especially buggy in IE of course!).

You could easily add a background color to the entire select box but other than that, you'd probably be best using javascript to change the colors of each option, which would take a major re-write of the statusSelect() function in the 'com_projectlog/helpers/html.helper.php' file.

To change the background of the entire select box, you could just add the following to your template or projectlog.css:
select#status{background: #ff0000 !important;} /*red background*/

Also, to change 'Complete' to 'Material Ordered' you can make this modification to the language files. [url=index.php?view=items&cid=3%3Aprojectlog&id=30%3Ahow-do-i-change-the-component-text&option=com_quickfaq&Itemid=73]See more here[/url].

Let me know questions. Thanks.

Vinny - The Thinkery
Good reviews on the JED make us work harder :) | IProperty | Work Force | Report Card

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #20731 by shirran
shirran replied the topic: Re: Status
Thanks once again
If I wanted to add another selection to the drop down box apart from adding to the language fie what else would i need to do?

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #20745 by vinny
vinny replied the topic: Re: Status
Hi - you would need to edit the following:

1. 'com_projectlog/helpers/html.helper.php' file 'statusSelect()' function
2. 'com_projectlog/models/cat.php' and 'admin/com_projectlog/models/projects.php' files 'changeStatus()' function
3. 'com_projectlog/views/cat/tmpl/default.php' and 'admin/com_projectlog/views/projects/tmpl/default.php' files (search for status switch)

You'll just need to add your new status to the changeStatus() functions in the models and switch cases in the views - the html.helper.php file function just creates the drop down selection so add your new option there as well. Hope this helps.

Vinny - The Thinkery
Good reviews on the JED make us work harder :) | IProperty | Work Force | Report Card

Please Log in or Create an account to join the conversation.

Moderators: vinny
Time to create page: 0.261 seconds