dudikoph képe

Semmi komoly, egy átlagos drupal, nem túl sok látogatóval. Köszi, megnézem azt, amit írtál.

0
0
hajnalbela képe

A TLS beállítás nem nagyon szerepel admin/settings/smtp oldalon. A php-mailert is telepítettem, viszont a használata közben ezt a hibát kaptam:

Fatal error: Cannot make non static method PHPMailer::RFCDate() static in class DrupalPHPMailer in C:\AppServ\www\modules\phpmailer\includes\phpmailer.class.inc on line 146

0
0

Üdvözlettel: Hajnal Béla begin_of_the_skype_highlighting     end_of_the_skype_highlighting

drifter képe

Filefield? Alapból az is "szűkszavú", de tartozik hozzá leírás, és sminkből előhozhatod a föltöltés dátumát is, ikont is stb.

0
0
Nagy Gusztáv képe

Taxonomy Image

Nem ismerem, de hátha jó.

Off: Nekem most jutott eszembe ez a megoldás. És hidd el, itt nem szokás a másikon röhögni. Aki tud, az segít.

0
0

Nagy Gusztáv

Nagy Gusztáv képe

Nem vettem észre.

0
0

Nagy Gusztáv

hosszu.kalman képe

Use encrypted protocol: legördülőben ott van: no, ssl, tls.

A hibaüzenet: melyik PHPMailer-t töltötted le?
A modul oldalán ugye ez van: "IMPORTANT: On a weekly basis we have support requests all on the same issue, so please SEARCH before creating an issue, and before that check which version of PHPMailer you're using. Versions higher than 2.2.1 are NOT SUPPORTED."

0
0
kalmarr képe

Ok

A teljes template.php.

Kíváncsi vagyok mi lehet, mert az oldalukon működik (ez bosszant :( ).

<?php
function theme324_menu_local_task($link, $active = FALSE) {
  return '<li '. ($active ? 'class="active" ' : '') .'><span><span>'. $link ."</span></span></li>\n";
}
 
function theme324_l($text, $path, $options = array()) {
  // Merge in defaults.
  $options += array(
      'attributes' => array(),
      'html' => TRUE,
    );
 
  // Append active class.
  if ($path == $_GET['q'] || ($path == '<front>' && drupal_is_front_page())) {
    if (isset($options['attributes']['class'])) {
      $options['attributes']['class'] .= ' active';
    }
    else {
      $options['attributes']['class'] = 'active';
    }
  }
 
  // Remove all HTML and PHP tags from a tooltip. For best performance, we act only
  // if a quick strpos() pre-check gave a suspicion (because strip_tags() is expensive).
  if (isset($options['attributes']['title']) && strpos($options['attributes']['title'], '<') !== FALSE) {
    $options['attributes']['title'] = strip_tags($options['attributes']['title']);
  }
 
  return '<a href="'. check_url(url($path, $options)) .'"'. drupal_attributes($options['attributes']) .'>'. ($options['html'] ? $text : check_plain($text)) .'</a>';
}
 
/**
* Override theme_links to include <span> in list.
*/
function theme324_links($links, $attributes = array('class' => 'links')) {
 $output = '';
  if (count($links) > 0) {
    $output = '<ul'. drupal_attributes($attributes) .'>';
    $num_links = count($links);
    $i = 1;
    foreach ($links as $key => $link) {
      $class = '';
      // Automatically add a class to each link and also to each LI
      if (isset($link['attributes']) && isset($link['attributes']['class'])) {
        $link['attributes']['class'] .= ' ' . $key;
        $class = $key;
      }
      else {
        $link['attributes']['class'] = $key;
        $class = $key;
      }
      // Add first and last classes to the list of links to help out themers.
      $extra_class = '';
      if ($i == 1) {
        $extra_class .= 'first ';
      }
      if ($i == $num_links) {
        $extra_class .= 'last ';
      }
      // Add class active to active li
      $current = '';
      if (strstr($class, 'active')) {
        $current = ' active';
      }
      $output .= '<li class="'. $extra_class . $class . $current .'">';
      // Is the title HTML?
      $html = isset($link['html']) && $link['html'];
      // Initialize fragment and query variables.
      $link['query'] = isset($link['query']) ? $link['query'] : NULL;
      $link['fragment'] = isset($link['fragment']) ? $link['fragment'] : NULL;
      if (isset($link['href'])) {
        $spanned_title = "<span ". drupal_attributes($link['attributes']) ."><span>".$link['title']."</span></span>";
// In the line above, you could take out the drupal_attributes var and specify your class
 
       $output .= theme324_l($spanned_title, $link['href'], $link['attributes'], $link['query'], $link['fragment']);
      } else if ($link['title']) {
        //Some links are actually not links, but we wrap these in <span> for adding title and class attributes
        if (!$html) {
          $link['title'] = check_plain($link['title']);
        }
        $output .= '<span'. drupal_attributes($link['attributes']) .'>'. $link['title'] .'</span>';
      }
      $i++;
      $output .= "</li>\n";
    }
    $output .= '</ul>';
  }
  return $output;
}
 
function custom_login_block() {
  $form = array(
    '#action' => url($_GET['q'], array('query' => drupal_get_destination())),
    '#id' => 'user-login-form',
    '#validate' => user_login_default_validators(),
    '#submit' => array('user_login_submit'),
  );
  $form['name'] = array('#type' => 'textfield',
    '#title' => t('Username'),
    '#maxlength' => USERNAME_MAX_LENGTH,
    '#size' => 15,
    '#required' => TRUE,
  );
  $form['pass'] = array('#type' => 'password',
    '#title' => t('Password'),
    '#maxlength' => 60,
    '#size' => 15,
    '#required' => TRUE,
  );
  $form['submit'] = array('#type' => 'submit', '#value' => t('Login'), );
  $items = array();
  if (variable_get('user_register', 1)) {
    $items[] = l(t('create new account'), 'user/register', array('title' => t('Create a new user account.')));
  }
  $items[] = l(t('request new password'), 'user/password', array('title' => t('Request new password via e-mail.')));
  $form['links'] = array('#value' => theme('item_list', $items));
  return $form;
}
function theme324_user_bar() {
 global $user;
 $output = '';
 if (!$user->uid) {
   $output .= drupal_get_form('custom_login_block');
 }
 else {
   $output .= t('<p class="user-info">Hi !user, welcome back.</p>', array('!user' => theme('username', $user)));
   $output .= theme('item_list', array(
     l(t('Your account'), 'user/'.$user->uid, array('title' => t('Edit your account'))),
     l(t('Sign out'), 'logout')));
 }
 $output = '<div id="user-bar">'.$output.'</div>';
 return $output;
}
?>
0
0
hosszu.kalman képe

Megnéztem és smink szinten nem jelentkezik a hiba. Milyen modulokat tettél fel?

0
0
hosszu.kalman képe

waffen képe

Sziasztok, látom, egy ideje halott ez a topik, de nem akartam újat indítani. Most csinálom az első drupalos oldalam, és alapvetően nincs bajom az ékezetes karakterek megjelenésével, mert mind jól jelenik meg az oldalon, viszont az oldal kódolása UTF-8 a fejléc szerint, a forrás meg tele van &uacute és hasonló cuccokkal. Sőt már a szerkesztőben is a szöveg beírásakor, ha source nézetre váltok.

Ez az fckeditornak valami fícsöre, vagy mit lehetne csinálni, hogy a kódban is rendes utf-8 karakterek legyenek?

Köszi előre is a segítséget.

0
0