News:

Looking for documentation? Take a look on our wiki

Main Menu

customfieldsSorted array setter

Started by Prvul, November 06, 2013, 04:26:18 AM

Previous topic - Next topic

Prvul

I did a search in entire joomla installation for 'customfieldsSorted' string inside *.php and those are the results:

com_virtuemart/views/productdetails/view.html.php
com_virtuemart/views/productdetails/tmpl/default_customfields.php
com_virtuemart/views/productdetails/tmpl/default.php

all of them just use allready prepared customfieldsSorted array in this fashion
foreach ($this->product->customfieldsSorted[$this->position] as $field) {...}

I want to reorder custom fields. Custom field order number doesn't work so I would like to hack the "setter" of this array in order to get the ordering that I need, and without the need to have the redundant code inside views.

Where is this piece of code hidden?

This is driving me mad  :-\