Блог пользователя - potss

MySQL for Drupal optimization

25 марта 2012 в 13:13

What can I do to optimize a MySQL database for a Drupal website to make it run faster?
Enable Query Caching, Use InnoDB Tables, & Double Check Expected Table Indexes
How to speed up your specific site will depend heavily on the nature of your site and the types of queries you are sending to MySQL. In general, the Drupal schema should include the commands to index the fields that would be most helpful. Your best bet for speeding things up on the MySQL side would be to try enabling MySQL query caching. This should increase speed somewhat. The speed increase you see will depend in part on the types of queries that you usually handle.

Drupal 7 + UberCart or Drupal 7 + Drupal commerce or Drupal 6 + UberCart?

5 октября 2011 в 16:19

Drupal 7 + UberCart or Drupal 7 + Drupal commerce or Drupal 6 + UberCart?
Посоветуйте плз связку если мозно обоснуйте

табы в боди

26 сентября 2011 в 18:45

вообшем ест такой вид контента product

Title
Body
field_description текст
field_features текст
field_specifications текст
field_d фаил

добавляю такой код в боди


<?php
global $node;

$tabs['first'] = array(
  
'title' => t('First'),
  
'type' => 'freetext',
  
'text' => $node->field_description,
);
$tabs['second'] = array(
  
'title' => t('Second'),
  
'type' => 'freetext',
  
'text' => $node->field_features,
);
$tabs['third'] = array(
  
'title' => t('Third'),
  
'type' => 'freetext',
  
'text' => $node->field_specifications,
);
$tabs['fourth'] = array(
  
'title' => t('Four'),
  
'type' => 'freetext',
  
'text' => $node->field_d,
);

$quicktabs['qtid'] = 'product-tabs';
$quicktabs['default_tab'] = 'first';
$quicktabs['hide_empty_tabs'] = FALSE;
$quicktabs['tabs'] = $tabs;
$quicktabs['style'] = 'Basic';
$quicktabs['ajax'] = FALSE;
print 
theme('quicktabs'$quicktabs);
?>

ну соответственно нифига не пашет так как надо делат наверно ни так )
сами табы работают но пустые
хучу чтоб в табах он вивел содержимое дополнительных полей
подскажите плз как сделат
надо чтобы было вот как тут например
http://www.electrovoice.com/product.php?id=14
SPS

Maximum execution time of 30 seconds exceeded

25 сентября 2011 в 11:45

Переодически вылитает ошибка в логе
Maximum execution time of 30 seconds exceeded

хотя настроенно вот так почему ето может быть? спс

<?php
;;;;;;;;;;;;;;;;;;;
Resource Limits ;
;;;;;;;;;;;;;;;;;;;

Табы в выводе продукта вывод полей в табах

19 сентября 2011 в 18:01

Вобшем ест вопрос
Установил Аберкарт залез в тип продакт и добавил несколко полей
Features, Specifications и Downloads
Features и Specifications текст филтред открывает Wysiwyg
Downloads набор файлов
как ето все вместе с основным техтом в Description вывести в табах с боку картинки
вобшем как сдесь http://www.electro-voice.com/product.php?id=55
sps

CCK content_multigroup

2 апреля 2009 в 0:35

http://www.drupal.ru/node/23275

кто-то его уже ковырял?
есть пара вопросов может кто правил?

1. например заголовок поля пишется толко над первой групой полей
а мне надо над каждой

2. по дефолту он сразу дает 2 групы полей как изменит на одну?