The settings for this theme are currently served from a variable. You might want to export them to your .info file.

Аватар пользователя aaegorof aaegorof 28 октября 2013 в 22:29

Добрый день , уважаемые.

1)Существует вопрос:
Установил тему OHM которая подтема Omega
при ее активации появляется следующее:
The settings for this theme are currently served from a variable. You might want to export them to your .info file.

Скажите, как это сделать без использования Drush ?
НАмучался с Drush Так ничего не получилось у меня (почему-то), вроде работает, но пишет что команды такой не видит как export.
Или где это можно почитать?

2)Следующий вопрос:
У меня есть несколько тем созданных отдельно HTML+CSS+JS

Сколько будет стоить перенос и адаптация ее для Друпал?

Комментарии

Аватар пользователя Mneznakomec Mneznakomec 14 декабря 2013 в 10:51

Файл настроек омеги, сохраненный драшем.

name = your_name
description = Please provide a description for your theme.
base theme = omega
screenshot = screenshot.png
engine = phptemplate
core = 7.x

; ========================================
; Stylesheets
; ========================================
stylesheets[all][] = css/your_name.normalize.css
stylesheets[all][] = css/your_name.hacks.css
stylesheets[all][] = css/your_name.styles.css
stylesheets[all][] = css/your_name.no-query.css

; ========================================
; Scripts
; ========================================
scripts[] = js/your_name.behaviors.js

; ========================================
; Settings
; ========================================
settings[toggle_logo] = 1
settings[toggle_name] = 0
settings[toggle_slogan] = 0
settings[toggle_node_user_picture] = 1
settings[toggle_comment_user_picture] = 1
settings[toggle_comment_user_verification] = 1
settings[toggle_favicon] = 1
settings[toggle_main_menu] = 1
settings[toggle_secondary_menu] = 1
settings[omega_toggle_front_page_content] = 1
settings[default_logo] = 1
settings[logo_path] = ""
settings[logo_upload] = ""
settings[default_favicon] = 1
settings[favicon_path] = ""
settings[favicon_upload] = ""
settings[omega_enable_warning] = 1
settings[omega_toggle_extension_development] = 1
settings[omega_rebuild_theme_registry] = 0
settings[omega_rebuild_aggregates] = 0
settings[omega_browser_width_indicator] = 0
settings[omega_livereload] = 0
settings[omega_livereload_script] = http://your_site:35729/livereload.js
settings[omega_livereload_host] = your_site
settings[omega_livereload_port] = 35729
settings[omega_demo_regions] = 0
settings[omega_toggle_extension_compatibility] = 0
settings[omega_conditional_classes_html] = 1
settings[omega_apple_touch] = 1
settings[omega_cleartype] = 1
settings[omega_handheld_friendly] = 1
settings[omega_mobile_optimized] = 1
settings[omega_viewport] = 1
settings[omega_viewport_user_scaleable] = 1
settings[omega_chrome_edge] = 1
settings[omega_internet_explorer_support] = 7
settings[omega_chrome_popup] = 0
settings[omega_chrome_notice] = 0
settings[omega_toggle_extension_assets] = 0
settings[omega_libraries][selectivizr][status] = 0
settings[omega_libraries][respond][status] = 0
settings[omega_libraries][pie][status] = 0
settings[omega_libraries][html5shiv][status] = 0
settings[omega_toggle_extension_layouts] = 1
settings[omega_layout] = simple