I have a color attribute with a lot of colors in it.
If I update a value AFTER a specific row(red arrow in image) the value won't save but if I update a value before that specific row then the value gets updated and saves correctly.
I've been trying to figure this out but can't get anywhere.
What might be causing this issue?
I'm using Magento 1.9.1.0
Check PHP configuration (php.ini) and increase max_input_vars. Default value is 1000 which does not seem enough.
You can easily check your PHP configuration with phpinfo();.
Make sure you also check post_max_size setting since so many input fields will increase request size.
Best of luck.
Related
For the last weeks, I am having problems when debugging in IntelliJ (java/groovy) and I am not able to see the values of the different variables.
I see "head", "tail", "accessorder". In each of these entries I can access the key / value of separately. Therefore, in order to see the complete item (e.g hashmap or arraylist), I need to open each entry separately, which is very inefficient.
This description may not be clear, so I include a screenshot of what I currently see.
I have tried the following:
Resetting the settings
Using IntelliJ 2020 version (having deleted the settings and cache)
Using IntelliJ 2021 version (having deleted the settings and cache)
Thank you,
Kat
After having tried #Satyen Shimpi useful reply, I am not able to change the view type in the variables.
I think your settings are showing the Map as Object and you need to change the view settings to Auto.
Following will help you.
The reason you are seeing the head, tail etc is
From Above, you can see that LinkedHashMap is being rendered as Object in View as menu because I had selected Object
And you can solve it by changing View to Auto. Then it will show Map in a way that you are expecting where you don't need to expand each entry.
Note: When you select Auto, it will automatically change to Map. For the same reason, my image has Map checked and not the Auto
It is set by default that when I create input fields and set them to be required, when users don't fill in anything, they got a massage:
Please fill out this field
I am creating a website with Joomla, and this tooltip pops out in every browser displaying the above text. How to change the text.
I tried to look up in Joomla language ini files, but no success. Is there some easy way to change this, or some advice where it could be?
This is not a Joomla string, it's the message displayed by the HTML5 required attribute. To change the message you have to check the loads of suggestions in the following questions:
HTML5 form required attribute. Set custom validation message?
How to change default “please fill out this field” in two field
if you are writing your own component (or module/plugin), it sounds like this is the description - field in the form-xml for your component. If the form is auto-generated from a component-creator, the file should be found in
/(administrator/)components/com_yourcomponent/models/forms
but some more info on where/what you are doing would help.
regards Jonas
I am using TinyMCE as editor on my Joomla website and I have a problem with the maximum font size.
When I insert some text into the TinyMCE editor I can change the font size but the maximum size seems to be: t (36pt), why?
I need to insert larger text into my pages. What can I do to fix?
Tnx
Andrea
There are many ways you could tackle this, but I would try one of these first:
You can change the dropdown font options using the theme_advanced_font_sizes option, in general, it is something like this:
tinyMCE.init({
...
theme_advanced_font_sizes : "10px,12px,14px,16px,24px"
});
For more info on this, look here.
Now, since you're using Joomla, you can try to pass your parameters in an array to the display editor call, like is explained in the official joomla documentation (keep in mind that you need to check this is one of the adjustable parameters) or you could also try to change the setting for the editor you're interested in by adding some javascript to a specific view, but I'm not sure it'll work. It should be something like: tinymce.get('editor_id').settings.theme_advanced_font_sizes="10px,12px,14px,16px,24px";.
Depending on what you want to do, you could also try using tinyMce indepently or duplicating the plugin with your own tweaks, so that it doesn't get overwritten when you update your site.
Don't do anything at all. You can control the appearance of any block by inserting css code directly, just use the code view.
I am stuck working on a gallery, which uses 3 columns and 1 row multiplied alot of times to show a simple and clear gallery.
The problem comes when after publishing, the max-length of articles cut the content, but I can't find the config where I can change it.
This is problem with your template style(or gallery plugin/module gallery style), you have to edit your css file.
Best way is to check gallery with Firebug (mozzila add-in), make necessary changes and then overwrite default style.
Be careful with your updates, that do not overwrite your style.
It was a problem with MySQL.
I just changed "Text" value for "LongText" (on MySQL), so that way I can use a large amount of characters on the same script.
Followed by my last question: Automatically create pages in phpfox
Now I'm trying to assign a list of pre-uploaded images to some pages as their profile picture in phpfox.
After checking data changes in the database, I only realized changes in these two fields:
image_path in table of phpfox_pages (which take a an address to the image file)
user_image in table of phpfox_user (which take a string of "user_id+%s".file_extension)
But by inserting data in these two fields in records for a page that has a default profile pic, it's profile pic would not change.
Is there any other fields or options that I should change?
Look at the file /module/pages/include/service/process.class.php In there look for the function update and around line 442 find this
if ($this->_bHasImage)
This piece of code handles setting an image for the page, notice how it creates three thumbnails, maybe the problem you're having is that you didn't create all the needed thumbs. You also need to update the column image_server_id.
Hope it helps
look phpfox_photo table in that you will find is_profile_photo attribute that is always 1 for the profile picture