Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Gaelen

Members
  • Joined

  • Last visited

Everything posted by Gaelen

  1. looks like a pretty simple div/float setup. many different ways to do it but should be pretty simple.
  2. I realized that about 30min after I posted this, got it all working great now! thanks
  3. A hosted solution probably wont get much traction here. most of us are pretty dependent on modifying the core to get it to do what we want. I know I have a version of wordpress and drupal installed locally at all times which I couldnt do with something hosted.
  4. I've been looking for somewhere to set the id, but as far as I can see it's created upon making a new table... however I cant figure out where to add a new table to create the same id. I've created 3 new tables but they are not being populated once I add a manufactiurer
  5. I'm having an issue getting the manufacturer_id to set in each table when I insert a new one. For some reason it only sets in the original table and I cant figure out why. public function addManufacturer($data) { $this->db->query("INSERT INTO " . DB_PREFIX . "manufacturer SET name = '" . $this->db->escape($data['name']) . "', sort_order = '" . (int)$data['sort_order'] . "'"); $manufacturer_id = $this->db->getLastId(); if (isset($data['image'])) { $this->db->query("UPDATE " . DB_PREFIX . "manufacturer SET image = '" . $this->db->escape($data['image']) . "' WHERE manufacturer_id = '" . (int)$manufacturer_id . "'"); } if ($data['map']) { $this->db->query("INSERT INTO " . DB_PREFIX . "manufacturer_contact SET contact = '" . $this->db->escape($data['contact']) . "', phone = '" . $this->db->escape($data['phone']) . "', email = '" . $this->db->escape($data['email']) . "', address = '" . $this->db->escape($data['address']) . "', country = '" . $this->db->escape($data['country']) . "', code = '" . $this->db->escape($data['code']) . "', account = '" . $this->db->escape($data['account']) . "', rep_phone = '" . $this->db->escape($data['rep_phone']) . "', rep_cell = '" . $this->db->escape($data['rep_cell']) . "', account = '" . $this->db->escape($data['account']) . "', fax = '" . $this->db->escape($data['fax']) . "', csr_name = '" . $this->db->escape($data['csr_name']) . "', csr_phone = '" . $this->db->escape($data['csr_phone']) . "', csr_email = '" . $this->db->escape($data['csr_email']) . "', csr_fax = '" . $this->db->escape($data['csr_fax']) . "', map = '" . (int)$data['map'] . "' WHERE manufacturer_id = '" . (int)$manufacturer_id . "'"); }
  6. Gaelen replied to Gaelen's topic in Server Side
    no one?
  7. I'm not sure what you mean by work on clients projects...
  8. I'm still thinking you mean a theme but that's me I develop all my CMS sites on my local using http://www.apachefriends.org/en/xampp.html it allows you to run everything as if it was a server so you can test without having a live site. Is that what you were after?
  9. you're trying to develop your own theme for wordpress? I think that's what you're getting at. If that is the case I'd suggest digging through the stock one that comes with it and see where things change. That's how I learned
  10. what do you mean by design multiple pages?
  11. Gaelen posted a topic in Server Side
    I've run into a bit of a problem adding a new table in the DB, so far nothing I have tried has worked and I cant see why... manufacturer.tpl <tr> <td><?php echo $entry_contact; ?></td> <td><input type="text" name="contact" size="50" value="<?php echo $contact; ?>" size="10" /></td> </tr> admin/model/catalog/manufacturer.php (line 36) if (isset($data['contact'])) { $this->db->query("UPDATE " . DB_PREFIX . "manufacturer_contact SET contact = '" . $this->db->escape($data['contact']) . "' WHERE manufacturer_id = '" . (int)$manufacturer_id . "'"); } admin/controllerl/catalog/manufacturer.php (line 354) if (isset($this->request->post['contact'])) { $this->data['contact'] = $this->request->post['contact']; } elseif (!empty($manufacturer_info)) { $this->data['contact'] = $manufacturer_info['contact']; } else { $this->data['contact'] = ``; } This is the error I'm getting if anyone can point out what im missing I would be very greatful
  12. i would if it wasnt across a hwy...
  13. I'd love that kei truck! hahaha I have a 89 Nissan 180sx (Drift car) and a 98 BMW M roadster with a Dinan S/C on it. plus the sentra
  14. Well i drive 3km to work... but I go racing/drifting almost every weekend so i build the cars to go fast. if i didnt do that I'd probably have a 660cc kei truck
  15. hahah smallest motor I own is a 2.0L and it has a turbo on it so it's no better 2.0T, 2.5L and a 3.2L S/C.... I like fast cars
  16. I've gotten something to return now... although it returns "array" $this->cart->getProducts('canada') $this->cart->canada returned nothing at all progress I guess
  17. your math might be a bit off... most hybrids dont even get that. unless your in a diesel or a 1L gas
  18. yes... because converting to gallons is SOOOOOOOO difficult...... nope it's upkept very well. always gotten that kind of mileage i average 24mpg (US Gallon) which is a smaller gallon i believe
  19. link didn't really work... if you're doing just design you wont really need to know any CSS/HTML as you're mainly doing the design portion. I've found both dribble and forrst to be great for finding inspirations on designs
  20. <?php class ModelShippingCanada extends Model { public function getQuote($address) { $this->load->language('shipping/canada'); $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "zone_to_geo_zone WHERE geo_zone_id = '" . (int)$this->config->get('canada_geo_zone_id') . "' AND country_id = '" . (int)$address['country_id'] . "' AND (zone_id = '" . (int)$address['zone_id'] . "' OR zone_id = '0')"); if ($this->config->get('canada_geo_zone_id') && $this->cart->getProducts('canada')) { $status = false; } else { $status = true; } $method_data = array(); if ($status) { $quote_data = array(); $quote_data['canada'] = array( 'code' => 'canada.canada', 'title' => $this->language->get('text_description'), 'cost' => 0.00, 'tax_class_id' => 0, 'text' => $this->currency->format(0.00) ); $method_data = array( 'code' => 'canada', 'title' => $this->language->get('text_title'), 'quote' => $quote_data, 'sort_order' => $this->config->get('canada_sort_order'), 'error' => false ); } return $method_data; } } ?>
  21. I do love these questions kind of like asking how much you charge for a car? figure out more of what you need and you'll find you're better off in the long run.
  22. ok so I found a line that will access it, but still cant get it to be true only when set to 1 if ($this->config->get('canada_geo_zone_id') && $this->cart->getProducts('canada'))
  23. insert random "I work for food" comment here. Are you looking for help with the design? what would we get out of this in return?
  24. we use Liters here... not gallons.
  25. I go off what I get not what my car is rated at. the testing they do is kinda silly. hard pressed to find one not RATED at 40mpg. actual mpg has always been significantly lower for me. maybe its just my driving style but everyone in the office here is on the same page as me. 40mpg is no where near what we get in our cars.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.