Is it true that running a batch class in Sandbox with incredibly simple task takes too long than Production? I've tried @future with the same task and it process my Streaming API immediately. Update: I've never used a Production before. I googled why is my batch apex takes time to ....
CMS, CRM, E-commerce questions and answers
Answers on CMS, CRM, E-commerce questions. WordPress, SharePoint, Drupal, Salesforce, Magento, Tridion, Joomla, Craft CMS, CiviCRM and Sitecore topics.
Site Collection Web Analytics reports numbers are incorrect
We are experiencing problems with the reports from the site collection web analytics. We use SharePoint Server with FAST search on a public facing web site. Our SharePoint solution is only used for searching, not displaying content or anything else. We are using webtrends to log visits and searches on ....
"Invalid username or password" when registering and logging in a user
I'm having a really weird issue with user registration. I've got verification turned off, and logging in after activation turned on, so that when a user registers then checks out, it's a seamless flow. And this works. But the login form at /login does not. Whenever I try to create ....
media library not showing thumbnails after deleting full image
I am using a bit of code, that deletes the unneccessary full images after uploading and adding different sizes. deleting function in functions.php: add_filter( 'wp_generate_attachment_metadata', 'delete_fullsize_image' ); function delete_fullsize_image( $metadata ) { $upload_dir = wp_upload_dir(); $full_image_path = trailingslashit( $upload_dir ) . $metadata; $deleted = unlink( $full_image_path ); return $metadata; } ....
Scheduling Start Date
I have an OOTB publishing workflow on a Pages Library and I am getting issue on scheduling start date. When I put future date and time for Scheduling start date and completes the workflow, it immediately start appearing to visitors with changes. At this time I see that Approval Status ....
Restore system attribute
I've disabled the weight attribute in the database (is_required=0) because we didn't need it, so we didn't have to fill it in at every product. Quite stupid, because now we want to enable table rate shipping weight vs destination. Obviously this doesn't work, because it can't do anything with the ....
How to add dynamic multiselect list in drop down. I want dynamic. when I will add some new value in the table then it will come in drop down
form.php file (but my code is static i want dynamic) $fieldset->addField( 'billingcycle', 'multiselect', ', 'required' => true, // 'values' => $this->_options->getOptionsArray(), // // 'class' => 'billing', 'values' => , , , , ], ] ); ....
Get attibute label option for current store
I have a 'size' attribute with lot of option. For each option, I have translation for each my stores : I want to get the translation label for a product and for a given store. So : I load my product $prod = Mage::getModel('catalog/product')->setStoreId(1)->load($productId); Then I try to get label ....
How to remove a specific word at the beginning of the content and add it to the end of the content
I want to remove any words in the text of posts, before a specific letter (such as :) that comes at the beginning of the text and add that word to the end of the text. for example: » Original text Franky: This is a test. » content after change ....
Retrieve JSON file from JS trough php
I know this question has been asked probably 100 times, but i couldn't find a convincing answer for my situation. Here is my understanding: On PHP side: var obj= json_encode ($array); so then $array is available on admin-ajax.php in Json format, On JS side: $.ajax({ url: ajax_url, data: { action: ....
- WordPress questions and answers
- SharePoint questions and answers
- Drupal questions and answers
- Magento questions and answers
- Salesforce questions and answers
- Joomla questions and answers
- Tridion questions and answers
- Craft CMS questions and answers
- CiviCRM questions and answers
- Sitecore questions and answers