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.

Confusion from users with Notes field

More
9 years 1 day ago #40773 by vinny
vinny replied the topic: Confusion from users with Notes field
Hi - the notes field can be used for several things; for instance on our extensions testimonials, we use it to state where the testimonial came from. The Joomla Extensions Directory JED, a customer, website, etc. You can see an example of the notes field in use here .

We'd be happy to make it optional - I've added it to our 'todo' list for future releases. In the meantime you can hide the field by editing your 'com_reportcard/views/form/tmpl/edit.php' file (or create an override for that file) and comment out or delete the following:

<div class="control-group">
                            <div class="control-label">
                                <?php echo $this->form->getLabel('notes'); ?>
                            </div>
                            <div class="controls">
                                <?php echo $this->form->getInput('notes'); ?>
                            </div>
                        </div>

Let us know any 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
9 years 1 day ago #40776 by Pumice
Pumice replied the topic: Confusion from users with Notes field
Thanks Vinny
Dumb question, but how do I comment out this bit of the PHP code? I tried using /** and */ but that didn't seem to work (sorry, I'm not very familiar with PHP syntax)

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

More
9 years 18 hours ago #40780 by tim
tim replied the topic: Confusion from users with Notes field
Hi Pumice- the
/* comment */
syntax is used for php code only. The code posted above is mixed HTML and PHP.

To comment it you'd probably do something like this (untested):
<!--
<div class="control-group">
<div class="control-label">
  <?php //echo $this->form->getLabel('notes'); ?>
</div>
<div class="controls">
  <?php //echo $this->form->getInput('notes'); ?>
</div>
</div>
-->

Note how the double slash is used to comment out the PHP echo statements, and the HTML block is put in an HTML comment block using
<!-- comment -->

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

More
9 years 14 hours ago #40790 by Pumice
Pumice replied the topic: Confusion from users with Notes field
Thanks TIm
That's done the trick A couple of other minor things that puzzle me, that you might be able to shed some light on:-

1. The drop down box for Category seems to show just the tip of the first category in its 'blank' form (until one clicks on it) ...

2. What is the blank box just above the editor ? Or am I imagining it? (See attached)

They could be artefacts of the Joomla theme that I'm using ?
kind regards
George
Attachments:

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

More
9 years 13 hours ago #40791 by tim
tim replied the topic: Confusion from users with Notes field
Hi-- those are style quirks, probably due to your template's styles overriding WF / Joomla styles. If you switch to protostar, do they still exist? If not, post a link to your site and we should be able to advise how to change the styles so they work.

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

More
9 years 13 hours ago #40792 by vinny
vinny replied the topic: Confusion from users with Notes field
Hi - to answer your questions:

1. This is due to the template css; you should be able to fix by adding the following to your template or reportcard.css:
.chzn-container-multi .chzn-choices li.search-field input[type="text"]{padding: 0px 5px;}

2. Have you set your primary color option in the RC configuration? The blank box you see is actually supposed to be a header bar, and the background color will be the 'primary' accent set in the RC configuration. It looks like currently your primary accent color is '#fd6262' so the header is barely visible. Setting the primary accent to something different should make it visible; otherwise you can hide or edit that box.

Just let us know how it goes. 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.

Moderators: vinny
Time to create page: 0.242 seconds