Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

wolfeinstein

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

wolfeinstein's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

1

Reputation

  1. Дабы это исключить можно количество возможных минусов сделать зависимым от репутации: чем выше репутация тем больше минусов можешь ляпнуть.
  2. В общем понадобилось мне экспортировать товары в формате xml. Файл шаблона .tpl генерит замечательный xml файл, но ставит ему content-type="text/html". Подскажите, пожалуйста как с этим бороться? файлы создаю в: admin/controller/common admin/language/english/common admin/view/template/common catalog/controller/common catalog/language/english/common catalog/view/theme/default/template/common. Нашел, что за эту строку отвечает 123 строка файла index.php лежащего в корне: $response->addHeader('Content-Type: text/html; charset=utf-8'); Но если менять ее на "...text/xml..." тип контента меняется по всему сайту, что не есть хорошо. Может быть существует более локализованный способ изменить content-type конкретного .tpl?
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.