Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - Erwin

1
General Discussion / Re: New release?
I'm sorry but this is REALLY REALLY bad marketing: make an announcement far far up front about a new release and then one month after that date there's still no new release. I understand that they want to deliver a product that's good, but don't make promises you can't keep or are prone to not being kept (Murphy's Law anyone? Yes, laws 1, 2 and 3).
2
General Discussion / Re: New release?
This is dumb...

And then visiting and seeing this:

But... the day is still young: 1h45m left <tick tock><tick tock>
4
Questions / Re: Navbar Top Right is kind of centered - how to align to the 'real' right?
Thank you @willvin :)

I noticed that when using document.ready and doing some rearranging on the screen, that the user sees the elements jumping from one place to the other. Because the page is first loaded and then redrawn. In this case of the menu allignment, the change is small so it's hardly noticeable. But with other elements it looks weird. Is there another way to do this?
For example, is it possible to use jquery remove or toggle classes (and others like append) and put the final display 'on hold' and only when the "new" screen is ready, then let the screen show?
11
Bugs / bug in dynamic menu component
There's a HUGE bug in dynamic menu component.
If Dynamic Menu component is added first to the page, it allows to use Menu Datasource.
After selecting the data (table name, menu value, menu label, order by) the items FilterPage, FilterField, MenuLabel are automatically filled.
Here's the problem (two of them) :
MenuLabel is filled with HTML and CSS tags. That in itself is not a problem if I can edit the item.
However, I cannot -- so I can never change the text color.
When using the dropdown of MenuLabel, it shows a list of tables and not of record fields from the table (like Filter Field correctly does).

Workaround?
Use Menu Datasource ONLY and DO NOT touch the MenuLabel item.
12
Questions / Re: Using a field value in page title and page header.
As a suggestion for the next version of PHPRad, I would welcome some kind of indicator (or documentation) what each field, property, setting and component accept as input. These being, plain text, HTML, PHP script with or without the <?php tag, JavaScript or SQL query.
Now for some of these it’s stated in the description box but others aren’t as clear or obvious.
Cheers!
14
Bugs / bug or quirk on Safari after modal close of Add page
I think I found a quirk on Safari after modal close of Add page.

Situation:
On clients/View page I have a subpage financials/list and a modal component with subpage financials/add.
clients/View shows info about 1 client record, ajax is active.
financials/list shows all records of that 1 client.
 
What happens?
To add a new financial record for that client, I click on modal button. Modal opens, new data can be entered, click submit.
On Chrome and Edge, the record is added, the modal closes, backdrop is removed, the clients/View is refreshed, the financials/list subpage shows new record. All is well.
On Safari, the record is added, the modal closes, THE BACKDROP REMAINS, the clients/View is refreshed, the financials/list subpage shows new record. The backdrop only goes away after refreshing the page.

What should happen?
On Safari same behaviour as Chrome.

How does this happen?
I think because the modal is still busy getting closed (in particular the fade out), then the page is refreshed and the modal still tries to clean up after itself. But because the modal is gone, it cannot remove itself completely from view and the backdrop remains.

Possible quick and dirty fixes:
Edit the file \app\views\partials\clients\view.php and remove the fade from the class tag of that particular modal.

Alternative:
Add
Code: [Select]
.fade
{
transition: opacity 0s linear !important;
}
to custom CSS. This changes the duration from 15s to 0s. However, note that this now applies to all modals!