English > General Questions
Blank Screens
jstead:
Great thank you will look into the menu alias stuff, but sounds like manual tweaking them is way to go.
I had commented out the 2 lines for extra fields but nothing changed when clicking the translate button. Only see theother fields options that were there already. Are there any other requirements to have this show or dependant on what extra fields I have set up?
jstead:
Where does uncommenting these 2 lines change? Do they become available in the k2-item translation screen? similar to
image_caption
image_credits etc?
Harald Leithner:
Yes thats the plan, I will check this.
Harald Leithner:
With the Attached File I get 2 new fields with json data, you have to translate the complete array.
jstead:
Thank you Harald,
Had an odd issue where jdiction.xml-bak was still being picked up when uploading the new .xml preventing this fields from showing (is this something with xml files specifically as I use this naming convention all over the place .php-bak, htaccess-bak, etc with no troubles)?
But got it working once left only the one file in the directory.
I ended up adding the this code
--- Code: ---export="false" filter="JComponentHelper::filterText"
--- End code ---
to the 2 lines that were un-commented.
--- Code: ---<field type="textarea" name="extra_fields" export="false" filter="JComponentHelper::filterText">Extra Fields</field>
<field type="textarea" name="extra_fields_search" export="false" filter="JComponentHelper::filterText">Extra Field Search</field>
--- End code ---
export=false was added as the export was "as you mentioned" is in a format that would be easier to manually do than go through the CAT tool, (also there where a lot closing > where missing from the </target and </source for the extra fields when exported. (not all but majority))
I also added the filter, as one of the custom fields is an image tag that was being stripped on saving. This fixed it.
Thank you again for the great support.
Navigation
[0] Message Index
[*] Previous page
Go to full version