Jump to content

igi008

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • First Name
    Igor
  • Last Name
    Hula

igi008's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Yes I agree with vekia. Is possible to change attribute "legend" in "ps_image_lang" table in prestashop database. (You can easy find ID of photos with browser developer tool.)
  2. I think, both of them are correct (I preffer second way most). But your problem could be with new version of module (actual is 2.2.0 - updated 2 days ago - I had problems after update, I am using older version yet) You can try version 2.1.0 and way described in my post above (updated yrejk's post). In my case works good.
  3. You need change file: modules/blocktopmenu/blocktopmenu.php foreach ($pages as $page) { $cms = new CMS($page['id_cms'], (int)$id_lang); $links = $cms->getLinks((int)$id_lang, array((int)$cms->id)); $selected = ($this->page_name == 'cms' && ((int)Tools::getValue('id_cms') == $page['id_cms'])) ? ' class="sfHoverForce"' : ''; if (strpos($cms->meta_description, 'REDIRECT:') !== False) { $this->_menu .= '<li '.$selected.'>'; $this->_menu .= '<a href="'.str_replace("REDIRECT:", "", $cms->meta_description).'">'.$cms->meta_title.'</a>'; $this->_menu .= '</li>'; } else { $this->_menu .= '<li '.$selected.'>'; $this->_menu .= '<a href="'.$links[0]['link'].'">'.$cms->meta_title.'</a>'; $this->_menu .= '</li>'; } } Don't forget, if you need deactivate top category item link of CMS menu to list of CMS articles, you need change too this section (only remove code inside href): case 'CMS_CAT': $category = new CMSCategory((int)$id, (int)$id_lang); if (count($category)) { $this->_menu .= '<li><a href="" title="'.$category->name.'">'.$category->name.'</a>'; $this->getCMSMenuItems($category->id); $this->_menu .= '</li>'.PHP_EOL; } break;
×
×
  • Create New...