News:

Looking for documentation? Take a look on our wiki

Main Menu

Custom fields table, move the valuta sign before the price field

Started by Kuubs, January 16, 2020, 09:42:42 AM

Previous topic - Next topic

Kuubs

Hello,

Is it possible to move the valuta sign from the end of the field to the front of the field?


Jörgen

Why would You do that?
This looks like something from the backend, customers never will see this !
But of course can You modify the BE admin views as well as the FE views.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Kuubs

Quote from: Jörgen on January 16, 2020, 12:17:21 PM
Why would You do that?
This looks like something from the backend, customers never will see this !
But of course can You modify the BE admin views as well as the FE views.

Jörgen @ Kreativ Fotografi

Because it's clearer for the administrator that way.

I tried looking at the BE views but it seems to me that this is done via javascript, but I cannot find where the "design" is located

Jörgen

This should be done by normal Joomla template overrides. Since you do not tell us where You have taken this image it is hard to tell you where to look.
The URL usually displays the html view. That is a good place to start.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Studio 42

€ is always displayed after, only $ is displayed before, so i do not understand why this is not clear ?

Jörgen

This is for an ADMINISTRATOR if he does not understand if the currency sign does not sit in the right position who will ?
Fixing this is IMHO a waste of time, but as I said before make an override of the VM view in BE, simple Joomla override coding.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Kuubs

Quote from: Jörgen on January 16, 2020, 14:37:29 PM
This should be done by normal Joomla template overrides. Since you do not tell us where You have taken this image it is hard to tell you where to look.
The URL usually displays the html view. That is a good place to start.

Jörgen @ Kreativ Fotografi

The image is taken in the new article virtuemart backend, and then when you select a custom field in a dropdown, the table row thats been added is where it is taken.

Jörgen

Quote from: Jörgen on January 16, 2020, 14:37:29 PM
The URL usually displays the html view. That is a good place to start.
Here is an example, Look out for view and task.:
/administrator/index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id=1887


Start here:
https://forum.joomla.org/viewtopic.php?t=895566


Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Kuubs

Quote from: Jörgen on January 18, 2020, 10:42:28 AM
Quote from: Jörgen on January 16, 2020, 14:37:29 PM
The URL usually displays the html view. That is a good place to start.
Here is an example, Look out for view and task.:
/administrator/index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id=1887


Start here:
https://forum.joomla.org/viewtopic.php?t=895566


Jörgen @ Kreativ Fotografi

I understand but it looks like the rows are added via javascript