Find attribute_id
SELECT * FROM eav_attribute where attribute_code = 'is_anchor'
Update all of them with anchor_id from above (usually is ID 51)
UPDATE `catalog_category_entity_int` set value = 1 where attribute_id = 51
| <div class="control-group"> | |
| <label class="control-label">Location</label> | |
| <div class="controls"> | |
| <input name="location" type="text" placeholder="City, State, Country" value=""> | |
| <input name="location_city" type="hidden" value=""> | |
| <input name="location_state" type="hidden" value=""> | |
| <input name="location_country" type="hidden" value=""> | |
| <input name="location_lat" type="hidden"> | |
| <input name="location_lng" type="hidden"> | |
| </div> |
| <? | |
| // Upload image from the filesystem | |
| $ch = curl_init(); | |
| $request = array('appkey'=>'YOUR_APPKEY_HERE', 'photo'=>'@/path/to/image.jpg'); | |
| curl_setopt($ch, CURLOPT_URL, 'https://snapi.sincerely.com/shiplib/upload'); | |
| curl_setopt($ch, CURLOPT_POST, 1); | |
| curl_setopt($ch, CURLOPT_POSTFIELDS, $request); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
| $output = curl_exec($ch); |
| <figure class="flickr"> | |
| <figcaption></figcaption> | |
| </figure> |
| #Random generator ipv6 addresses within your ipv6 network prefix. | |
| #!/usr/local/bin/bash | |
| # Copyright | |
| # Vladislav V. Prodan | |
| # [email protected] | |
| # 2011 | |
| array=( 1 2 3 4 5 6 7 8 9 0 a b c d e f ) |