browsercms_s3 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +165 -0
- data/README.markdown +64 -0
- data/app/controllers/application_controller.rb +14 -0
- data/app/controllers/cms/application_controller.rb +78 -0
- data/app/controllers/cms/attachments_controller.rb +11 -0
- data/app/controllers/cms/base_controller.rb +13 -0
- data/app/controllers/cms/cache_controller.rb +22 -0
- data/app/controllers/cms/categories_controller.rb +2 -0
- data/app/controllers/cms/category_types_controller.rb +5 -0
- data/app/controllers/cms/connectors_controller.rb +63 -0
- data/app/controllers/cms/content_block_controller.rb +285 -0
- data/app/controllers/cms/content_controller.rb +257 -0
- data/app/controllers/cms/content_types_controller.rb +7 -0
- data/app/controllers/cms/dashboard_controller.rb +10 -0
- data/app/controllers/cms/dynamic_views_controller.rb +65 -0
- data/app/controllers/cms/email_messages_controller.rb +14 -0
- data/app/controllers/cms/error_handling.rb +25 -0
- data/app/controllers/cms/file_blocks_controller.rb +2 -0
- data/app/controllers/cms/groups_controller.rb +26 -0
- data/app/controllers/cms/home_controller.rb +5 -0
- data/app/controllers/cms/html_blocks_controller.rb +2 -0
- data/app/controllers/cms/image_blocks_controller.rb +2 -0
- data/app/controllers/cms/links_controller.rb +67 -0
- data/app/controllers/cms/page_route_conditions_controller.rb +2 -0
- data/app/controllers/cms/page_route_options_controller.rb +56 -0
- data/app/controllers/cms/page_route_requirements_controller.rb +2 -0
- data/app/controllers/cms/page_routes_controller.rb +45 -0
- data/app/controllers/cms/pages_controller.rb +131 -0
- data/app/controllers/cms/portlet_controller.rb +12 -0
- data/app/controllers/cms/portlets_controller.rb +40 -0
- data/app/controllers/cms/redirects_controller.rb +19 -0
- data/app/controllers/cms/resource_controller.rb +108 -0
- data/app/controllers/cms/routes_controller.rb +23 -0
- data/app/controllers/cms/section_nodes_controller.rb +40 -0
- data/app/controllers/cms/sections_controller.rb +130 -0
- data/app/controllers/cms/sessions_controller.rb +64 -0
- data/app/controllers/cms/tags_controller.rb +9 -0
- data/app/controllers/cms/tasks_controller.rb +52 -0
- data/app/controllers/cms/toolbar_controller.rb +12 -0
- data/app/controllers/cms/users_controller.rb +100 -0
- data/app/helpers/application_helper.rb +3 -0
- data/app/helpers/cms/application_helper.rb +169 -0
- data/app/helpers/cms/form_builder.rb +101 -0
- data/app/helpers/cms/form_tag_helper.rb +32 -0
- data/app/helpers/cms/menu_helper.rb +158 -0
- data/app/helpers/cms/page_helper.rb +68 -0
- data/app/helpers/cms/path_helper.rb +48 -0
- data/app/helpers/cms/section_nodes_helper.rb +13 -0
- data/app/helpers/cms/template_support.rb +21 -0
- data/app/models/abstract_file_block.rb +17 -0
- data/app/models/attachment.rb +226 -0
- data/app/models/category.rb +40 -0
- data/app/models/category_type.rb +34 -0
- data/app/models/connector.rb +80 -0
- data/app/models/content_type.rb +95 -0
- data/app/models/content_type_group.rb +3 -0
- data/app/models/dynamic_view.rb +80 -0
- data/app/models/email_message.rb +31 -0
- data/app/models/email_message_mailer.rb +11 -0
- data/app/models/file_block.rb +21 -0
- data/app/models/group.rb +30 -0
- data/app/models/group_permission.rb +7 -0
- data/app/models/group_section.rb +4 -0
- data/app/models/group_type.rb +12 -0
- data/app/models/group_type_permission.rb +4 -0
- data/app/models/guest_user.rb +39 -0
- data/app/models/html_block.rb +40 -0
- data/app/models/image_block.rb +22 -0
- data/app/models/link.rb +35 -0
- data/app/models/page.rb +286 -0
- data/app/models/page_partial.rb +22 -0
- data/app/models/page_route.rb +58 -0
- data/app/models/page_route_condition.rb +2 -0
- data/app/models/page_route_option.rb +3 -0
- data/app/models/page_route_requirement.rb +2 -0
- data/app/models/page_template.rb +48 -0
- data/app/models/permission.rb +10 -0
- data/app/models/portlet.rb +157 -0
- data/app/models/redirect.rb +4 -0
- data/app/models/section.rb +147 -0
- data/app/models/section_node.rb +93 -0
- data/app/models/site.rb +41 -0
- data/app/models/tag.rb +62 -0
- data/app/models/tagging.rb +9 -0
- data/app/models/task.rb +67 -0
- data/app/models/user.rb +143 -0
- data/app/models/user_group_membership.rb +4 -0
- data/app/portlets/dynamic_portlet.rb +7 -0
- data/app/portlets/email_page_portlet.rb +24 -0
- data/app/portlets/login_portlet.rb +10 -0
- data/app/portlets/tag_cloud_portlet.rb +13 -0
- data/app/views/cms/blocks/_hidden_fields.html.erb +10 -0
- data/app/views/cms/blocks/_toolbar.html.erb +9 -0
- data/app/views/cms/blocks/_toolbar_for_collection.html.erb +26 -0
- data/app/views/cms/blocks/_toolbar_for_member.html.erb +38 -0
- data/app/views/cms/blocks/edit.html.erb +25 -0
- data/app/views/cms/blocks/index.html.erb +127 -0
- data/app/views/cms/blocks/new.html.erb +21 -0
- data/app/views/cms/blocks/show.html.erb +40 -0
- data/app/views/cms/blocks/usages.html.erb +44 -0
- data/app/views/cms/blocks/versions.html.erb +90 -0
- data/app/views/cms/cache/show.html.erb +12 -0
- data/app/views/cms/categories/_form.html.erb +36 -0
- data/app/views/cms/category_types/_form.html.erb +1 -0
- data/app/views/cms/connectors/new.html.erb +71 -0
- data/app/views/cms/content/no_page.html.erb +37 -0
- data/app/views/cms/content/show.html.erb +21 -0
- data/app/views/cms/content_types/index.html.erb +14 -0
- data/app/views/cms/dashboard/_page_drafts.html.erb +49 -0
- data/app/views/cms/dashboard/_tasks.html.erb +54 -0
- data/app/views/cms/dashboard/index.html.erb +15 -0
- data/app/views/cms/dynamic_views/_form.html.erb +11 -0
- data/app/views/cms/dynamic_views/edit.html.erb +3 -0
- data/app/views/cms/dynamic_views/index.html.erb +52 -0
- data/app/views/cms/dynamic_views/new.html.erb +3 -0
- data/app/views/cms/email_messages/index.html.erb +39 -0
- data/app/views/cms/email_messages/show.html.erb +57 -0
- data/app/views/cms/file_blocks/_form.html.erb +30 -0
- data/app/views/cms/file_blocks/render.html.erb +5 -0
- data/app/views/cms/form_builder/_cms_date_picker.html.erb +12 -0
- data/app/views/cms/form_builder/_cms_datetime_select.html.erb +12 -0
- data/app/views/cms/form_builder/_cms_drop_down.html.erb +19 -0
- data/app/views/cms/form_builder/_cms_file_field.html.erb +32 -0
- data/app/views/cms/form_builder/_cms_tag_list.html.erb +15 -0
- data/app/views/cms/form_builder/_cms_text_area.html.erb +13 -0
- data/app/views/cms/form_builder/_cms_text_editor.html.erb +18 -0
- data/app/views/cms/form_builder/_cms_text_field.html.erb +12 -0
- data/app/views/cms/groups/_form.html.erb +45 -0
- data/app/views/cms/groups/_permissions.html.erb +37 -0
- data/app/views/cms/groups/_sections.html.erb +19 -0
- data/app/views/cms/groups/edit.html.erb +4 -0
- data/app/views/cms/groups/index.html.erb +58 -0
- data/app/views/cms/groups/new.html.erb +4 -0
- data/app/views/cms/html_blocks/_form.html.erb +3 -0
- data/app/views/cms/html_blocks/render.html.erb +1 -0
- data/app/views/cms/image_blocks/_form.html.erb +30 -0
- data/app/views/cms/image_blocks/render.html.erb +1 -0
- data/app/views/cms/links/_form.html.erb +13 -0
- data/app/views/cms/links/destroy.js.rjs +2 -0
- data/app/views/cms/links/edit.html.erb +14 -0
- data/app/views/cms/links/new.html.erb +15 -0
- data/app/views/cms/menus/_menu.html.erb +9 -0
- data/app/views/cms/menus/_menu_item.html.erb +11 -0
- data/app/views/cms/page_routes/_form.html.erb +11 -0
- data/app/views/cms/page_routes/edit.html.erb +3 -0
- data/app/views/cms/page_routes/index.html.erb +56 -0
- data/app/views/cms/page_routes/new.html.erb +3 -0
- data/app/views/cms/page_routes/show.html.erb +14 -0
- data/app/views/cms/pages/_edit_connector.html.erb +19 -0
- data/app/views/cms/pages/_edit_container.html.erb +11 -0
- data/app/views/cms/pages/_form.html.erb +46 -0
- data/app/views/cms/pages/edit.html.erb +23 -0
- data/app/views/cms/pages/new.html.erb +33 -0
- data/app/views/cms/pages/versions.html.erb +91 -0
- data/app/views/cms/redirects/_form.html.erb +15 -0
- data/app/views/cms/redirects/edit.html.erb +3 -0
- data/app/views/cms/redirects/index.html.erb +50 -0
- data/app/views/cms/redirects/new.html.erb +3 -0
- data/app/views/cms/routes/index.html.erb +40 -0
- data/app/views/cms/section_nodes/_link.html.erb +11 -0
- data/app/views/cms/section_nodes/_node.html.erb +34 -0
- data/app/views/cms/section_nodes/_page.html.erb +14 -0
- data/app/views/cms/section_nodes/_section.html.erb +12 -0
- data/app/views/cms/section_nodes/_section_node.html.erb +10 -0
- data/app/views/cms/section_nodes/index.html.erb +31 -0
- data/app/views/cms/sections/_form.html.erb +59 -0
- data/app/views/cms/sections/_page.html.erb +4 -0
- data/app/views/cms/sections/_section.html.erb +8 -0
- data/app/views/cms/sections/destroy.js.rjs +2 -0
- data/app/views/cms/sections/edit.html.erb +10 -0
- data/app/views/cms/sections/file_browser.xml.builder +14 -0
- data/app/views/cms/sections/index.html.erb +23 -0
- data/app/views/cms/sections/new.html.erb +21 -0
- data/app/views/cms/sessions/new.html.erb +32 -0
- data/app/views/cms/shared/_admin_sidebar.html.erb +30 -0
- data/app/views/cms/shared/_exception.html.erb +6 -0
- data/app/views/cms/shared/_pagination.html.erb +31 -0
- data/app/views/cms/shared/_version_conflict_diff.html.erb +11 -0
- data/app/views/cms/shared/_version_conflict_error.html.erb +6 -0
- data/app/views/cms/shared/access_denied.html.erb +3 -0
- data/app/views/cms/shared/error.html.erb +40 -0
- data/app/views/cms/tags/_form.html.erb +1 -0
- data/app/views/cms/tags/render.html.erb +53 -0
- data/app/views/cms/tasks/new.html.erb +36 -0
- data/app/views/cms/toolbar/index.html.erb +12 -0
- data/app/views/cms/users/_form.html.erb +12 -0
- data/app/views/cms/users/_groups.html.erb +12 -0
- data/app/views/cms/users/_password.html.erb +8 -0
- data/app/views/cms/users/_toolbar.html.erb +22 -0
- data/app/views/cms/users/_user_fields.html.erb +20 -0
- data/app/views/cms/users/change_password.html.erb +21 -0
- data/app/views/cms/users/edit.html.erb +16 -0
- data/app/views/cms/users/index.html.erb +62 -0
- data/app/views/cms/users/new.html.erb +13 -0
- data/app/views/cms/users/show.html.erb +50 -0
- data/app/views/layouts/_cms_toolbar.html.erb +54 -0
- data/app/views/layouts/_page_toolbar.html.erb +118 -0
- data/app/views/layouts/application.html.erb +11 -0
- data/app/views/layouts/cms/_footer.erb +4 -0
- data/app/views/layouts/cms/_head.html.erb +21 -0
- data/app/views/layouts/cms/administration.html.erb +51 -0
- data/app/views/layouts/cms/application.html.erb +25 -0
- data/app/views/layouts/cms/content_library.html.erb +94 -0
- data/app/views/layouts/cms/dashboard.html.erb +16 -0
- data/app/views/layouts/cms/login.html.erb +30 -0
- data/app/views/layouts/cms/section_nodes.html.erb +20 -0
- data/app/views/layouts/cms/thickbox.html.erb +24 -0
- data/app/views/layouts/cms/toolbar.html.erb +23 -0
- data/app/views/portlets/dynamic/_form.html.erb +3 -0
- data/app/views/portlets/email_page/_form.html.erb +7 -0
- data/app/views/portlets/email_page/render.html.erb +17 -0
- data/app/views/portlets/login/_form.html.erb +6 -0
- data/app/views/portlets/login/render.html.erb +27 -0
- data/app/views/portlets/portlets/_form.html.erb +19 -0
- data/app/views/portlets/tag_cloud/_form.html.erb +4 -0
- data/app/views/portlets/tag_cloud/render.html.erb +5 -0
- data/browsercms.gemspec +1317 -0
- data/db/demo/data.rb +97 -0
- data/db/demo/page_partials/_footer.html.erb +6 -0
- data/db/demo/page_partials/_header.html.erb +24 -0
- data/db/demo/page_templates/home_page.html.erb +49 -0
- data/db/demo/page_templates/sub_page.html.erb +37 -0
- data/db/migrate/20080815014337_browsercms_3_0_0.rb +274 -0
- data/db/migrate/20081114172307_load_seed_data.rb +92 -0
- data/doc/app/classes/AbstractFileBlock.html +146 -0
- data/doc/app/classes/ActiveRecord/ConnectionAdapters/SchemaStatements.html +242 -0
- data/doc/app/classes/ActiveRecord.html +105 -0
- data/doc/app/classes/ActiveSupport/Cache/FileStore.html +146 -0
- data/doc/app/classes/ActiveSupport/Cache.html +111 -0
- data/doc/app/classes/ActiveSupport.html +111 -0
- data/doc/app/classes/ActsAsList/ClassMethods.html +202 -0
- data/doc/app/classes/ActsAsList/InstanceMethods.html +510 -0
- data/doc/app/classes/ActsAsList.html +147 -0
- data/doc/app/classes/ApplicationController.html +119 -0
- data/doc/app/classes/ApplicationHelper.html +112 -0
- data/doc/app/classes/Attachment.html +726 -0
- data/doc/app/classes/Category.html +230 -0
- data/doc/app/classes/CategoryType.html +214 -0
- data/doc/app/classes/Cms/Acts/ContentBlock/MacroMethods/InstanceMethods.html +140 -0
- data/doc/app/classes/Cms/Acts/ContentBlock/MacroMethods.html +165 -0
- data/doc/app/classes/Cms/Acts/ContentBlock.html +146 -0
- data/doc/app/classes/Cms/Acts.html +111 -0
- data/doc/app/classes/Cms/ApplicationController.html +418 -0
- data/doc/app/classes/Cms/ApplicationHelper.html +814 -0
- data/doc/app/classes/Cms/AttachmentsController.html +154 -0
- data/doc/app/classes/Cms/Authentication/Controller.html +702 -0
- data/doc/app/classes/Cms/Authentication/Model/ClassMethods.html +246 -0
- data/doc/app/classes/Cms/Authentication/Model/InstanceMethods.html +412 -0
- data/doc/app/classes/Cms/Authentication/Model.html +165 -0
- data/doc/app/classes/Cms/Authentication.html +116 -0
- data/doc/app/classes/Cms/BaseController.html +113 -0
- data/doc/app/classes/Cms/Behaviors/Archiving/InstanceMethods.html +220 -0
- data/doc/app/classes/Cms/Behaviors/Archiving/MacroMethods.html +175 -0
- data/doc/app/classes/Cms/Behaviors/Archiving.html +147 -0
- data/doc/app/classes/Cms/Behaviors/Attaching/InstanceMethods.html +670 -0
- data/doc/app/classes/Cms/Behaviors/Attaching/MacroMethods.html +188 -0
- data/doc/app/classes/Cms/Behaviors/Attaching.html +160 -0
- data/doc/app/classes/Cms/Behaviors/Categorizing/ClassMethods.html +105 -0
- data/doc/app/classes/Cms/Behaviors/Categorizing/InstanceMethods.html +140 -0
- data/doc/app/classes/Cms/Behaviors/Categorizing/MacroMethods.html +178 -0
- data/doc/app/classes/Cms/Behaviors/Categorizing.html +148 -0
- data/doc/app/classes/Cms/Behaviors/ClassMethods.html +272 -0
- data/doc/app/classes/Cms/Behaviors/Connecting/ClassMethods.html +188 -0
- data/doc/app/classes/Cms/Behaviors/Connecting/InstanceMethods.html +312 -0
- data/doc/app/classes/Cms/Behaviors/Connecting/MacroMethods.html +184 -0
- data/doc/app/classes/Cms/Behaviors/Connecting.html +148 -0
- data/doc/app/classes/Cms/Behaviors/DynamicAttributes/InstanceMethods.html +181 -0
- data/doc/app/classes/Cms/Behaviors/DynamicAttributes/MacroMethods.html +243 -0
- data/doc/app/classes/Cms/Behaviors/DynamicAttributes.html +285 -0
- data/doc/app/classes/Cms/Behaviors/FlushCacheOnChange/InstanceMethods.html +142 -0
- data/doc/app/classes/Cms/Behaviors/FlushCacheOnChange/MacroMethods.html +175 -0
- data/doc/app/classes/Cms/Behaviors/FlushCacheOnChange.html +178 -0
- data/doc/app/classes/Cms/Behaviors/Hiding/ClassMethods.html +105 -0
- data/doc/app/classes/Cms/Behaviors/Hiding/InstanceMethods.html +220 -0
- data/doc/app/classes/Cms/Behaviors/Hiding/MacroMethods.html +176 -0
- data/doc/app/classes/Cms/Behaviors/Hiding.html +148 -0
- data/doc/app/classes/Cms/Behaviors/InstanceMethods.html +234 -0
- data/doc/app/classes/Cms/Behaviors/Pagination/ClassMethods.html +252 -0
- data/doc/app/classes/Cms/Behaviors/Pagination/Collection.html +437 -0
- data/doc/app/classes/Cms/Behaviors/Pagination/InvalidPage.html +146 -0
- data/doc/app/classes/Cms/Behaviors/Pagination.html +151 -0
- data/doc/app/classes/Cms/Behaviors/Publishing/ClassMethods.html +105 -0
- data/doc/app/classes/Cms/Behaviors/Publishing/InstanceMethods.html +333 -0
- data/doc/app/classes/Cms/Behaviors/Publishing/MacroMethods.html +180 -0
- data/doc/app/classes/Cms/Behaviors/Publishing.html +179 -0
- data/doc/app/classes/Cms/Behaviors/Rendering/MacroMethods.html +186 -0
- data/doc/app/classes/Cms/Behaviors/Rendering.html +179 -0
- data/doc/app/classes/Cms/Behaviors/Searching/ClassMethods.html +164 -0
- data/doc/app/classes/Cms/Behaviors/Searching/MacroMethods.html +188 -0
- data/doc/app/classes/Cms/Behaviors/Searching.html +147 -0
- data/doc/app/classes/Cms/Behaviors/SoftDeleting/ClassMethods.html +217 -0
- data/doc/app/classes/Cms/Behaviors/SoftDeleting/InstanceMethods.html +247 -0
- data/doc/app/classes/Cms/Behaviors/SoftDeleting/MacroMethods.html +205 -0
- data/doc/app/classes/Cms/Behaviors/SoftDeleting.html +148 -0
- data/doc/app/classes/Cms/Behaviors/Taggable/ClassMethods.html +164 -0
- data/doc/app/classes/Cms/Behaviors/Taggable/InstanceMethods.html +197 -0
- data/doc/app/classes/Cms/Behaviors/Taggable/MacroMethods.html +182 -0
- data/doc/app/classes/Cms/Behaviors/Taggable.html +148 -0
- data/doc/app/classes/Cms/Behaviors/Userstamping/ClassMethods.html +105 -0
- data/doc/app/classes/Cms/Behaviors/Userstamping/InstanceMethods.html +143 -0
- data/doc/app/classes/Cms/Behaviors/Userstamping/MacroMethods.html +181 -0
- data/doc/app/classes/Cms/Behaviors/Userstamping.html +148 -0
- data/doc/app/classes/Cms/Behaviors/Versioning/ClassMethods.html +237 -0
- data/doc/app/classes/Cms/Behaviors/Versioning/InstanceMethods.html +685 -0
- data/doc/app/classes/Cms/Behaviors/Versioning/MacroMethods.html +290 -0
- data/doc/app/classes/Cms/Behaviors/Versioning.html +148 -0
- data/doc/app/classes/Cms/Behaviors.html +235 -0
- data/doc/app/classes/Cms/CacheController.html +174 -0
- data/doc/app/classes/Cms/Caching.html +171 -0
- data/doc/app/classes/Cms/CategoriesController.html +113 -0
- data/doc/app/classes/Cms/CategoryTypesController.html +148 -0
- data/doc/app/classes/Cms/ConnectorsController.html +215 -0
- data/doc/app/classes/Cms/ContentBlockController.html +1175 -0
- data/doc/app/classes/Cms/ContentController.html +313 -0
- data/doc/app/classes/Cms/ContentTypesController.html +148 -0
- data/doc/app/classes/Cms/DashboardController.html +151 -0
- data/doc/app/classes/Cms/DataLoader.html +182 -0
- data/doc/app/classes/Cms/DynamicViewsController.html +359 -0
- data/doc/app/classes/Cms/EmailMessagesController.html +172 -0
- data/doc/app/classes/Cms/ErrorHandling.html +172 -0
- data/doc/app/classes/Cms/Errors/AccessDenied.html +146 -0
- data/doc/app/classes/Cms/Errors.html +111 -0
- data/doc/app/classes/Cms/Extensions/ActionView/Base.html +141 -0
- data/doc/app/classes/Cms/Extensions/ActionView.html +111 -0
- data/doc/app/classes/Cms/Extensions/ActiveRecord/Base.html +144 -0
- data/doc/app/classes/Cms/Extensions/ActiveRecord/Errors.html +140 -0
- data/doc/app/classes/Cms/Extensions/ActiveRecord.html +116 -0
- data/doc/app/classes/Cms/Extensions/Hash.html +175 -0
- data/doc/app/classes/Cms/Extensions/Integer.html +146 -0
- data/doc/app/classes/Cms/Extensions/NilClass.html +212 -0
- data/doc/app/classes/Cms/Extensions/String.html +212 -0
- data/doc/app/classes/Cms/Extensions.html +140 -0
- data/doc/app/classes/Cms/FileBlocksController.html +113 -0
- data/doc/app/classes/Cms/FormBuilder.html +312 -0
- data/doc/app/classes/Cms/FormTagHelper.html +245 -0
- data/doc/app/classes/Cms/GroupsController.html +225 -0
- data/doc/app/classes/Cms/HomeController.html +148 -0
- data/doc/app/classes/Cms/HtmlBlocksController.html +113 -0
- data/doc/app/classes/Cms/ImageBlocksController.html +113 -0
- data/doc/app/classes/Cms/LinksController.html +341 -0
- data/doc/app/classes/Cms/MenuHelper.html +330 -0
- data/doc/app/classes/Cms/PageHelper.html +292 -0
- data/doc/app/classes/Cms/PageRouteConditionsController.html +113 -0
- data/doc/app/classes/Cms/PageRouteOptionsController.html +355 -0
- data/doc/app/classes/Cms/PageRouteRequirementsController.html +113 -0
- data/doc/app/classes/Cms/PageRoutesController.html +284 -0
- data/doc/app/classes/Cms/PagesController.html +331 -0
- data/doc/app/classes/Cms/PathHelper.html +268 -0
- data/doc/app/classes/Cms/PortletController.html +150 -0
- data/doc/app/classes/Cms/PortletsController.html +301 -0
- data/doc/app/classes/Cms/RedirectsController.html +172 -0
- data/doc/app/classes/Cms/ResourceController.html +616 -0
- data/doc/app/classes/Cms/Routes.html +303 -0
- data/doc/app/classes/Cms/RoutesController.html +164 -0
- data/doc/app/classes/Cms/SectionNodesController.html +272 -0
- data/doc/app/classes/Cms/SectionNodesHelper.html +145 -0
- data/doc/app/classes/Cms/SectionsController.html +542 -0
- data/doc/app/classes/Cms/SessionsController.html +270 -0
- data/doc/app/classes/Cms/TagsController.html +152 -0
- data/doc/app/classes/Cms/TasksController.html +221 -0
- data/doc/app/classes/Cms/ToolbarController.html +153 -0
- data/doc/app/classes/Cms/UsersController.html +405 -0
- data/doc/app/classes/Cms.html +638 -0
- data/doc/app/classes/Connector.html +350 -0
- data/doc/app/classes/ContentType.html +448 -0
- data/doc/app/classes/ContentTypeGroup.html +111 -0
- data/doc/app/classes/DynamicPortlet.html +148 -0
- data/doc/app/classes/DynamicView.html +411 -0
- data/doc/app/classes/EmailMessage.html +228 -0
- data/doc/app/classes/EmailMessageMailer.html +150 -0
- data/doc/app/classes/EmailPagePortlet.html +184 -0
- data/doc/app/classes/FileBlock.html +202 -0
- data/doc/app/classes/Group.html +170 -0
- data/doc/app/classes/GroupPermission.html +111 -0
- data/doc/app/classes/GroupSection.html +111 -0
- data/doc/app/classes/GroupType.html +111 -0
- data/doc/app/classes/GroupTypePermission.html +111 -0
- data/doc/app/classes/GuestUser.html +347 -0
- data/doc/app/classes/HtmlBlock.html +170 -0
- data/doc/app/classes/ImageBlock.html +202 -0
- data/doc/app/classes/InitialData.html +171 -0
- data/doc/app/classes/Link.html +249 -0
- data/doc/app/classes/LoginPortlet.html +151 -0
- data/doc/app/classes/Page.html +954 -0
- data/doc/app/classes/PagePartial.html +201 -0
- data/doc/app/classes/PageRoute.html +335 -0
- data/doc/app/classes/PageRouteCondition.html +113 -0
- data/doc/app/classes/PageRouteOption.html +111 -0
- data/doc/app/classes/PageRouteRequirement.html +113 -0
- data/doc/app/classes/PageTemplate.html +278 -0
- data/doc/app/classes/Permission.html +111 -0
- data/doc/app/classes/Portlet.html +738 -0
- data/doc/app/classes/Redirect.html +111 -0
- data/doc/app/classes/Section.html +580 -0
- data/doc/app/classes/SectionNode.html +410 -0
- data/doc/app/classes/Sequence.html +146 -0
- data/doc/app/classes/Site.html +253 -0
- data/doc/app/classes/Tag.html +292 -0
- data/doc/app/classes/TagCloudPortlet.html +176 -0
- data/doc/app/classes/Tagging.html +146 -0
- data/doc/app/classes/Task.html +288 -0
- data/doc/app/classes/User.html +618 -0
- data/doc/app/classes/UserGroupMembership.html +111 -0
- data/doc/app/created.rid +1 -0
- data/doc/app/files/app/controllers/application_controller_rb.html +109 -0
- data/doc/app/files/app/controllers/cms/application_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/attachments_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/base_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/cache_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/categories_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/category_types_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/connectors_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/content_block_controller_rb.html +107 -0
- data/doc/app/files/app/controllers/cms/content_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/content_types_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/dashboard_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/dynamic_views_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/email_messages_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/error_handling_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/file_blocks_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/groups_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/home_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/html_blocks_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/image_blocks_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/links_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/page_route_conditions_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/page_route_options_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/page_route_requirements_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/page_routes_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/pages_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/portlet_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/portlets_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/redirects_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/resource_controller_rb.html +108 -0
- data/doc/app/files/app/controllers/cms/routes_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/section_nodes_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/sections_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/sessions_controller_rb.html +107 -0
- data/doc/app/files/app/controllers/cms/tags_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/tasks_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/toolbar_controller_rb.html +101 -0
- data/doc/app/files/app/controllers/cms/users_controller_rb.html +101 -0
- data/doc/app/files/app/helpers/application_helper_rb.html +108 -0
- data/doc/app/files/app/helpers/cms/application_helper_rb.html +107 -0
- data/doc/app/files/app/helpers/cms/form_builder_rb.html +101 -0
- data/doc/app/files/app/helpers/cms/form_tag_helper_rb.html +101 -0
- data/doc/app/files/app/helpers/cms/menu_helper_rb.html +101 -0
- data/doc/app/files/app/helpers/cms/page_helper_rb.html +101 -0
- data/doc/app/files/app/helpers/cms/path_helper_rb.html +101 -0
- data/doc/app/files/app/helpers/cms/section_nodes_helper_rb.html +101 -0
- data/doc/app/files/app/models/abstract_file_block_rb.html +101 -0
- data/doc/app/files/app/models/attachment_rb.html +109 -0
- data/doc/app/files/app/models/category_rb.html +101 -0
- data/doc/app/files/app/models/category_type_rb.html +101 -0
- data/doc/app/files/app/models/connector_rb.html +101 -0
- data/doc/app/files/app/models/content_type_group_rb.html +101 -0
- data/doc/app/files/app/models/content_type_rb.html +101 -0
- data/doc/app/files/app/models/dynamic_view_rb.html +101 -0
- data/doc/app/files/app/models/email_message_mailer_rb.html +101 -0
- data/doc/app/files/app/models/email_message_rb.html +101 -0
- data/doc/app/files/app/models/file_block_rb.html +101 -0
- data/doc/app/files/app/models/group_permission_rb.html +101 -0
- data/doc/app/files/app/models/group_rb.html +101 -0
- data/doc/app/files/app/models/group_section_rb.html +101 -0
- data/doc/app/files/app/models/group_type_permission_rb.html +101 -0
- data/doc/app/files/app/models/group_type_rb.html +101 -0
- data/doc/app/files/app/models/guest_user_rb.html +101 -0
- data/doc/app/files/app/models/html_block_rb.html +101 -0
- data/doc/app/files/app/models/image_block_rb.html +101 -0
- data/doc/app/files/app/models/link_rb.html +101 -0
- data/doc/app/files/app/models/page_partial_rb.html +101 -0
- data/doc/app/files/app/models/page_rb.html +101 -0
- data/doc/app/files/app/models/page_route_condition_rb.html +101 -0
- data/doc/app/files/app/models/page_route_option_rb.html +101 -0
- data/doc/app/files/app/models/page_route_rb.html +101 -0
- data/doc/app/files/app/models/page_route_requirement_rb.html +101 -0
- data/doc/app/files/app/models/page_template_rb.html +101 -0
- data/doc/app/files/app/models/permission_rb.html +101 -0
- data/doc/app/files/app/models/portlet_rb.html +101 -0
- data/doc/app/files/app/models/redirect_rb.html +101 -0
- data/doc/app/files/app/models/section_node_rb.html +101 -0
- data/doc/app/files/app/models/section_rb.html +101 -0
- data/doc/app/files/app/models/site_rb.html +101 -0
- data/doc/app/files/app/models/tag_rb.html +101 -0
- data/doc/app/files/app/models/tagging_rb.html +101 -0
- data/doc/app/files/app/models/task_rb.html +101 -0
- data/doc/app/files/app/models/user_group_membership_rb.html +101 -0
- data/doc/app/files/app/models/user_rb.html +108 -0
- data/doc/app/files/app/portlets/dynamic_portlet_rb.html +101 -0
- data/doc/app/files/app/portlets/email_page_portlet_rb.html +101 -0
- data/doc/app/files/app/portlets/login_portlet_rb.html +101 -0
- data/doc/app/files/app/portlets/tag_cloud_portlet_rb.html +101 -0
- data/doc/app/files/doc/README_FOR_APP.html +127 -0
- data/doc/app/files/lib/acts_as_list_rb.html +101 -0
- data/doc/app/files/lib/browsercms_rb.html +113 -0
- data/doc/app/files/lib/cms/acts/content_block_rb.html +101 -0
- data/doc/app/files/lib/cms/authentication/controller_rb.html +101 -0
- data/doc/app/files/lib/cms/authentication/model_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/archiving_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/attaching_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/categorizing_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/connecting_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/dynamic_attributes_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/flush_cache_on_change_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/hiding_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/pagination_rb.html +107 -0
- data/doc/app/files/lib/cms/behaviors/publishing_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/rendering_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/searching_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/soft_deleting_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/taggable_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/userstamping_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors/versioning_rb.html +101 -0
- data/doc/app/files/lib/cms/behaviors_rb.html +147 -0
- data/doc/app/files/lib/cms/caching_rb.html +101 -0
- data/doc/app/files/lib/cms/data_loader_rb.html +101 -0
- data/doc/app/files/lib/cms/extensions/action_view/base_rb.html +101 -0
- data/doc/app/files/lib/cms/extensions/active_record/base_rb.html +101 -0
- data/doc/app/files/lib/cms/extensions/active_record/connection_adapters/abstract/schema_statements_rb.html +101 -0
- data/doc/app/files/lib/cms/extensions/active_record/errors_rb.html +101 -0
- data/doc/app/files/lib/cms/extensions/active_support/cache/file_store_rb.html +101 -0
- data/doc/app/files/lib/cms/extensions/hash_rb.html +101 -0
- data/doc/app/files/lib/cms/extensions/integer_rb.html +101 -0
- data/doc/app/files/lib/cms/extensions/nil_rb.html +101 -0
- data/doc/app/files/lib/cms/extensions/string_rb.html +101 -0
- data/doc/app/files/lib/cms/extensions_rb.html +101 -0
- data/doc/app/files/lib/cms/init_rb.html +101 -0
- data/doc/app/files/lib/cms/routes_rb.html +101 -0
- data/doc/app/files/lib/initial_data_rb.html +101 -0
- data/doc/app/files/lib/sequence_rb.html +101 -0
- data/doc/app/fr_class_index.html +205 -0
- data/doc/app/fr_file_index.html +152 -0
- data/doc/app/fr_method_index.html +738 -0
- data/doc/app/index.html +24 -0
- data/doc/app/rdoc-style.css +208 -0
- data/doc/guides/html/build_it_yourself.html +175 -0
- data/doc/guides/html/building_modules.html +193 -0
- data/doc/guides/html/deployment_guide.html +181 -0
- data/doc/guides/html/designer_guide.html +163 -0
- data/doc/guides/html/developer_guide.html +308 -0
- data/doc/guides/html/files/javascripts/code_highlighter.js +188 -0
- data/doc/guides/html/files/javascripts/guides.js +7 -0
- data/doc/guides/html/files/javascripts/highlighters.js +90 -0
- data/doc/guides/html/files/stylesheets/main.css +441 -0
- data/doc/guides/html/files/stylesheets/reset.css +43 -0
- data/doc/guides/html/files/stylesheets/style.css +13 -0
- data/doc/guides/html/files/stylesheets/syntax.css +31 -0
- data/doc/guides/html/getting_started.html +181 -0
- data/doc/guides/html/images/bg.png +0 -0
- data/doc/guides/html/images/bottom_cap.png +0 -0
- data/doc/guides/html/images/browsercms_logo.png +0 -0
- data/doc/guides/html/images/dot.png +0 -0
- data/doc/guides/html/images/icons/README +5 -0
- data/doc/guides/html/images/icons/callouts/1.png +0 -0
- data/doc/guides/html/images/icons/callouts/10.png +0 -0
- data/doc/guides/html/images/icons/callouts/11.png +0 -0
- data/doc/guides/html/images/icons/callouts/12.png +0 -0
- data/doc/guides/html/images/icons/callouts/13.png +0 -0
- data/doc/guides/html/images/icons/callouts/14.png +0 -0
- data/doc/guides/html/images/icons/callouts/15.png +0 -0
- data/doc/guides/html/images/icons/callouts/2.png +0 -0
- data/doc/guides/html/images/icons/callouts/3.png +0 -0
- data/doc/guides/html/images/icons/callouts/4.png +0 -0
- data/doc/guides/html/images/icons/callouts/5.png +0 -0
- data/doc/guides/html/images/icons/callouts/6.png +0 -0
- data/doc/guides/html/images/icons/callouts/7.png +0 -0
- data/doc/guides/html/images/icons/callouts/8.png +0 -0
- data/doc/guides/html/images/icons/callouts/9.png +0 -0
- data/doc/guides/html/images/icons/caution.png +0 -0
- data/doc/guides/html/images/icons/example.png +0 -0
- data/doc/guides/html/images/icons/home.png +0 -0
- data/doc/guides/html/images/icons/important.png +0 -0
- data/doc/guides/html/images/icons/next.png +0 -0
- data/doc/guides/html/images/icons/note.png +0 -0
- data/doc/guides/html/images/icons/prev.png +0 -0
- data/doc/guides/html/images/icons/tip.png +0 -0
- data/doc/guides/html/images/icons/up.png +0 -0
- data/doc/guides/html/images/icons/warning.png +0 -0
- data/doc/guides/html/images/top_cap.png +0 -0
- data/doc/guides/html/images/top_cap_content.png +0 -0
- data/doc/guides/html/index.html +168 -0
- data/doc/guides/html/installing_modules.html +181 -0
- data/doc/guides/html/user_guide.html +266 -0
- data/lib/acts_as_list.rb +256 -0
- data/lib/browsercms.rb +12 -0
- data/lib/cms/acts/content_block.rb +31 -0
- data/lib/cms/authentication/controller.rb +195 -0
- data/lib/cms/authentication/model.rb +116 -0
- data/lib/cms/behaviors/archiving.rb +43 -0
- data/lib/cms/behaviors/attaching.rb +184 -0
- data/lib/cms/behaviors/categorizing.rb +31 -0
- data/lib/cms/behaviors/connecting.rb +99 -0
- data/lib/cms/behaviors/dynamic_attributes.rb +367 -0
- data/lib/cms/behaviors/flush_cache_on_change.rb +33 -0
- data/lib/cms/behaviors/hiding.rb +46 -0
- data/lib/cms/behaviors/pagination.rb +209 -0
- data/lib/cms/behaviors/publishing.rb +123 -0
- data/lib/cms/behaviors/rendering.rb +157 -0
- data/lib/cms/behaviors/searching.rb +49 -0
- data/lib/cms/behaviors/soft_deleting.rb +77 -0
- data/lib/cms/behaviors/taggable.rb +57 -0
- data/lib/cms/behaviors/userstamping.rb +37 -0
- data/lib/cms/behaviors/versioning.rb +265 -0
- data/lib/cms/behaviors.rb +33 -0
- data/lib/cms/caching.rb +20 -0
- data/lib/cms/data_loader.rb +28 -0
- data/lib/cms/extensions/action_view/base.rb +13 -0
- data/lib/cms/extensions/active_record/base.rb +16 -0
- data/lib/cms/extensions/active_record/connection_adapters/abstract/schema_statements.rb +88 -0
- data/lib/cms/extensions/active_record/errors.rb +12 -0
- data/lib/cms/extensions/active_support/cache/file_store.rb +9 -0
- data/lib/cms/extensions/hash.rb +21 -0
- data/lib/cms/extensions/integer.rb +16 -0
- data/lib/cms/extensions/nil.rb +19 -0
- data/lib/cms/extensions/string.rb +19 -0
- data/lib/cms/extensions.rb +4 -0
- data/lib/cms/init.rb +106 -0
- data/lib/cms/routes.rb +136 -0
- data/lib/initial_data.rb +30 -0
- data/lib/sequence.rb +6 -0
- data/lib/tasks/cms.rake +39 -0
- data/lib/tasks/db.rake +71 -0
- data/lib/tasks/dev.rake +20 -0
- data/public/fckeditor/editor/css/behaviors/disablehandles.htc +15 -0
- data/public/fckeditor/editor/css/behaviors/showtableborders.htc +36 -0
- data/public/fckeditor/editor/css/fck_editorarea.css +110 -0
- data/public/fckeditor/editor/css/fck_internal.css +199 -0
- data/public/fckeditor/editor/css/fck_showtableborders_gecko.css +49 -0
- data/public/fckeditor/editor/css/images/block_address.png +0 -0
- data/public/fckeditor/editor/css/images/block_blockquote.png +0 -0
- data/public/fckeditor/editor/css/images/block_div.png +0 -0
- data/public/fckeditor/editor/css/images/block_h1.png +0 -0
- data/public/fckeditor/editor/css/images/block_h2.png +0 -0
- data/public/fckeditor/editor/css/images/block_h3.png +0 -0
- data/public/fckeditor/editor/css/images/block_h4.png +0 -0
- data/public/fckeditor/editor/css/images/block_h5.png +0 -0
- data/public/fckeditor/editor/css/images/block_h6.png +0 -0
- data/public/fckeditor/editor/css/images/block_p.png +0 -0
- data/public/fckeditor/editor/css/images/block_pre.png +0 -0
- data/public/fckeditor/editor/css/images/fck_anchor.gif +0 -0
- data/public/fckeditor/editor/css/images/fck_flashlogo.gif +0 -0
- data/public/fckeditor/editor/css/images/fck_hiddenfield.gif +0 -0
- data/public/fckeditor/editor/css/images/fck_pagebreak.gif +0 -0
- data/public/fckeditor/editor/css/images/fck_plugin.gif +0 -0
- data/public/fckeditor/editor/dialog/common/fck_dialog_common.css +85 -0
- data/public/fckeditor/editor/dialog/common/fck_dialog_common.js +311 -0
- data/public/fckeditor/editor/dialog/common/images/locked.gif +0 -0
- data/public/fckeditor/editor/dialog/common/images/reset.gif +0 -0
- data/public/fckeditor/editor/dialog/common/images/unlocked.gif +0 -0
- data/public/fckeditor/editor/dialog/fck_about/logo_fckeditor.gif +0 -0
- data/public/fckeditor/editor/dialog/fck_about/logo_fredck.gif +0 -0
- data/public/fckeditor/editor/dialog/fck_about/sponsors/spellchecker_net.gif +0 -0
- data/public/fckeditor/editor/dialog/fck_about.html +161 -0
- data/public/fckeditor/editor/dialog/fck_anchor.html +220 -0
- data/public/fckeditor/editor/dialog/fck_button.html +104 -0
- data/public/fckeditor/editor/dialog/fck_checkbox.html +104 -0
- data/public/fckeditor/editor/dialog/fck_colorselector.html +172 -0
- data/public/fckeditor/editor/dialog/fck_div.html +364 -0
- data/public/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +113 -0
- data/public/fckeditor/editor/dialog/fck_docprops.html +600 -0
- data/public/fckeditor/editor/dialog/fck_flash/fck_flash.js +300 -0
- data/public/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +50 -0
- data/public/fckeditor/editor/dialog/fck_flash.html +152 -0
- data/public/fckeditor/editor/dialog/fck_form.html +109 -0
- data/public/fckeditor/editor/dialog/fck_hiddenfield.html +115 -0
- data/public/fckeditor/editor/dialog/fck_image/fck_image.js +512 -0
- data/public/fckeditor/editor/dialog/fck_image/fck_image_preview.html +72 -0
- data/public/fckeditor/editor/dialog/fck_image.html +258 -0
- data/public/fckeditor/editor/dialog/fck_link/fck_link.js +893 -0
- data/public/fckeditor/editor/dialog/fck_link.html +295 -0
- data/public/fckeditor/editor/dialog/fck_listprop.html +120 -0
- data/public/fckeditor/editor/dialog/fck_paste.html +346 -0
- data/public/fckeditor/editor/dialog/fck_radiobutton.html +104 -0
- data/public/fckeditor/editor/dialog/fck_replace.html +648 -0
- data/public/fckeditor/editor/dialog/fck_select/fck_select.js +194 -0
- data/public/fckeditor/editor/dialog/fck_select.html +180 -0
- data/public/fckeditor/editor/dialog/fck_smiley.html +111 -0
- data/public/fckeditor/editor/dialog/fck_source.html +68 -0
- data/public/fckeditor/editor/dialog/fck_specialchar.html +121 -0
- data/public/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html +0 -0
- data/public/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js +87 -0
- data/public/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html +153 -0
- data/public/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +148 -0
- data/public/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +199 -0
- data/public/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +181 -0
- data/public/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +461 -0
- data/public/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html +71 -0
- data/public/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +49 -0
- data/public/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js +272 -0
- data/public/fckeditor/editor/dialog/fck_spellerpages.html +70 -0
- data/public/fckeditor/editor/dialog/fck_table.html +298 -0
- data/public/fckeditor/editor/dialog/fck_tablecell.html +257 -0
- data/public/fckeditor/editor/dialog/fck_template/images/template1.gif +0 -0
- data/public/fckeditor/editor/dialog/fck_template/images/template2.gif +0 -0
- data/public/fckeditor/editor/dialog/fck_template/images/template3.gif +0 -0
- data/public/fckeditor/editor/dialog/fck_template.html +242 -0
- data/public/fckeditor/editor/dialog/fck_textarea.html +94 -0
- data/public/fckeditor/editor/dialog/fck_textfield.html +136 -0
- data/public/fckeditor/editor/dtd/fck_dtd_test.html +41 -0
- data/public/fckeditor/editor/dtd/fck_xhtml10strict.js +116 -0
- data/public/fckeditor/editor/dtd/fck_xhtml10transitional.js +140 -0
- data/public/fckeditor/editor/fckdebug.html +153 -0
- data/public/fckeditor/editor/fckdialog.html +812 -0
- data/public/fckeditor/editor/fckeditor.html +317 -0
- data/public/fckeditor/editor/fckeditor.original.html +424 -0
- data/public/fckeditor/editor/filemanager/browser/default/browser.css +87 -0
- data/public/fckeditor/editor/filemanager/browser/default/browser.html +200 -0
- data/public/fckeditor/editor/filemanager/browser/default/frmactualfolder.html +95 -0
- data/public/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html +114 -0
- data/public/fckeditor/editor/filemanager/browser/default/frmfolders.html +198 -0
- data/public/fckeditor/editor/filemanager/browser/default/frmresourceslist.html +169 -0
- data/public/fckeditor/editor/filemanager/browser/default/frmresourcetype.html +68 -0
- data/public/fckeditor/editor/filemanager/browser/default/frmupload.html +115 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/ButtonArrow.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/Folder.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/Folder32.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/FolderOpened.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/FolderOpened32.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/FolderUp.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/ai.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/avi.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/bmp.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/cs.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/default.icon.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/dll.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/doc.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/exe.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/fla.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/gif.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/htm.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/html.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/jpg.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/js.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/mdb.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/mp3.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/pdf.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/png.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/ppt.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/rdp.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/swf.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/swt.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/txt.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/vsd.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/xls.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/xml.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/32/zip.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/ai.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/avi.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/bmp.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/cs.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/default.icon.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/dll.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/doc.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/exe.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/fla.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/gif.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/htm.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/html.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/jpg.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/js.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/mdb.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/mp3.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/pdf.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/png.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/ppt.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/rdp.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/swf.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/swt.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/txt.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/vsd.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/xls.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/xml.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/icons/zip.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/images/spacer.gif +0 -0
- data/public/fckeditor/editor/filemanager/browser/default/js/common.js +88 -0
- data/public/fckeditor/editor/filemanager/browser/default/js/fckxml.js +147 -0
- data/public/fckeditor/editor/images/anchor.gif +0 -0
- data/public/fckeditor/editor/images/arrow_ltr.gif +0 -0
- data/public/fckeditor/editor/images/arrow_rtl.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/angel_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/angry_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/broken_heart.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/cake.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/confused_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/cry_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/devil_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/embaressed_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/envelope.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/heart.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/kiss.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/lightbulb.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/omg_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/regular_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/sad_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/shades_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/teeth_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/thumbs_down.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/thumbs_up.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/tounge_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif +0 -0
- data/public/fckeditor/editor/images/smiley/msn/wink_smile.gif +0 -0
- data/public/fckeditor/editor/images/spacer.gif +0 -0
- data/public/fckeditor/editor/js/fckadobeair.js +176 -0
- data/public/fckeditor/editor/js/fckeditorcode_gecko.js +108 -0
- data/public/fckeditor/editor/js/fckeditorcode_ie.js +109 -0
- data/public/fckeditor/editor/lang/_translationstatus.txt +78 -0
- data/public/fckeditor/editor/lang/af.js +526 -0
- data/public/fckeditor/editor/lang/ar.js +526 -0
- data/public/fckeditor/editor/lang/bg.js +526 -0
- data/public/fckeditor/editor/lang/bn.js +526 -0
- data/public/fckeditor/editor/lang/bs.js +526 -0
- data/public/fckeditor/editor/lang/ca.js +526 -0
- data/public/fckeditor/editor/lang/cs.js +526 -0
- data/public/fckeditor/editor/lang/da.js +526 -0
- data/public/fckeditor/editor/lang/de.js +526 -0
- data/public/fckeditor/editor/lang/el.js +526 -0
- data/public/fckeditor/editor/lang/en-au.js +526 -0
- data/public/fckeditor/editor/lang/en-ca.js +526 -0
- data/public/fckeditor/editor/lang/en-uk.js +526 -0
- data/public/fckeditor/editor/lang/en.js +526 -0
- data/public/fckeditor/editor/lang/eo.js +526 -0
- data/public/fckeditor/editor/lang/es.js +526 -0
- data/public/fckeditor/editor/lang/et.js +526 -0
- data/public/fckeditor/editor/lang/eu.js +527 -0
- data/public/fckeditor/editor/lang/fa.js +526 -0
- data/public/fckeditor/editor/lang/fi.js +526 -0
- data/public/fckeditor/editor/lang/fo.js +526 -0
- data/public/fckeditor/editor/lang/fr-ca.js +526 -0
- data/public/fckeditor/editor/lang/fr.js +526 -0
- data/public/fckeditor/editor/lang/gl.js +526 -0
- data/public/fckeditor/editor/lang/gu.js +526 -0
- data/public/fckeditor/editor/lang/he.js +526 -0
- data/public/fckeditor/editor/lang/hi.js +526 -0
- data/public/fckeditor/editor/lang/hr.js +526 -0
- data/public/fckeditor/editor/lang/hu.js +526 -0
- data/public/fckeditor/editor/lang/it.js +526 -0
- data/public/fckeditor/editor/lang/ja.js +526 -0
- data/public/fckeditor/editor/lang/km.js +526 -0
- data/public/fckeditor/editor/lang/ko.js +526 -0
- data/public/fckeditor/editor/lang/lt.js +526 -0
- data/public/fckeditor/editor/lang/lv.js +526 -0
- data/public/fckeditor/editor/lang/mn.js +526 -0
- data/public/fckeditor/editor/lang/ms.js +526 -0
- data/public/fckeditor/editor/lang/nb.js +526 -0
- data/public/fckeditor/editor/lang/nl.js +526 -0
- data/public/fckeditor/editor/lang/no.js +526 -0
- data/public/fckeditor/editor/lang/pl.js +526 -0
- data/public/fckeditor/editor/lang/pt-br.js +526 -0
- data/public/fckeditor/editor/lang/pt.js +526 -0
- data/public/fckeditor/editor/lang/ro.js +526 -0
- data/public/fckeditor/editor/lang/ru.js +526 -0
- data/public/fckeditor/editor/lang/sk.js +526 -0
- data/public/fckeditor/editor/lang/sl.js +526 -0
- data/public/fckeditor/editor/lang/sr-latn.js +526 -0
- data/public/fckeditor/editor/lang/sr.js +526 -0
- data/public/fckeditor/editor/lang/sv.js +526 -0
- data/public/fckeditor/editor/lang/th.js +526 -0
- data/public/fckeditor/editor/lang/tr.js +526 -0
- data/public/fckeditor/editor/lang/uk.js +526 -0
- data/public/fckeditor/editor/lang/vi.js +526 -0
- data/public/fckeditor/editor/lang/zh-cn.js +526 -0
- data/public/fckeditor/editor/lang/zh.js +526 -0
- data/public/fckeditor/editor/plugins/autogrow/fckplugin.js +99 -0
- data/public/fckeditor/editor/plugins/bbcode/_sample/sample.config.js +26 -0
- data/public/fckeditor/editor/plugins/bbcode/_sample/sample.html +67 -0
- data/public/fckeditor/editor/plugins/bbcode/fckplugin.js +123 -0
- data/public/fckeditor/editor/plugins/dragresizetable/fckplugin.js +524 -0
- data/public/fckeditor/editor/plugins/placeholder/fck_placeholder.html +105 -0
- data/public/fckeditor/editor/plugins/placeholder/fckplugin.js +187 -0
- data/public/fckeditor/editor/plugins/placeholder/lang/de.js +27 -0
- data/public/fckeditor/editor/plugins/placeholder/lang/en.js +27 -0
- data/public/fckeditor/editor/plugins/placeholder/lang/es.js +27 -0
- data/public/fckeditor/editor/plugins/placeholder/lang/fr.js +27 -0
- data/public/fckeditor/editor/plugins/placeholder/lang/it.js +27 -0
- data/public/fckeditor/editor/plugins/placeholder/lang/pl.js +27 -0
- data/public/fckeditor/editor/plugins/placeholder/placeholder.gif +0 -0
- data/public/fckeditor/editor/plugins/simplecommands/fckplugin.js +29 -0
- data/public/fckeditor/editor/plugins/tablecommands/fckplugin.js +33 -0
- data/public/fckeditor/editor/skins/_fckviewstrips.html +121 -0
- data/public/fckeditor/editor/skins/default/fck_dialog.css +402 -0
- data/public/fckeditor/editor/skins/default/fck_dialog_ie6.js +110 -0
- data/public/fckeditor/editor/skins/default/fck_editor.css +464 -0
- data/public/fckeditor/editor/skins/default/fck_strip.gif +0 -0
- data/public/fckeditor/editor/skins/default/images/dialog.sides.gif +0 -0
- data/public/fckeditor/editor/skins/default/images/dialog.sides.png +0 -0
- data/public/fckeditor/editor/skins/default/images/dialog.sides.rtl.png +0 -0
- data/public/fckeditor/editor/skins/default/images/sprites.gif +0 -0
- data/public/fckeditor/editor/skins/default/images/sprites.png +0 -0
- data/public/fckeditor/editor/skins/default/images/toolbar.arrowright.gif +0 -0
- data/public/fckeditor/editor/skins/default/images/toolbar.buttonarrow.gif +0 -0
- data/public/fckeditor/editor/skins/default/images/toolbar.collapse.gif +0 -0
- data/public/fckeditor/editor/skins/default/images/toolbar.end.gif +0 -0
- data/public/fckeditor/editor/skins/default/images/toolbar.expand.gif +0 -0
- data/public/fckeditor/editor/skins/default/images/toolbar.separator.gif +0 -0
- data/public/fckeditor/editor/skins/default/images/toolbar.start.gif +0 -0
- data/public/fckeditor/editor/skins/office2003/fck_dialog.css +402 -0
- data/public/fckeditor/editor/skins/office2003/fck_dialog_ie6.js +110 -0
- data/public/fckeditor/editor/skins/office2003/fck_editor.css +476 -0
- data/public/fckeditor/editor/skins/office2003/fck_strip.gif +0 -0
- data/public/fckeditor/editor/skins/office2003/images/dialog.sides.gif +0 -0
- data/public/fckeditor/editor/skins/office2003/images/dialog.sides.png +0 -0
- data/public/fckeditor/editor/skins/office2003/images/dialog.sides.rtl.png +0 -0
- data/public/fckeditor/editor/skins/office2003/images/sprites.gif +0 -0
- data/public/fckeditor/editor/skins/office2003/images/sprites.png +0 -0
- data/public/fckeditor/editor/skins/office2003/images/toolbar.arrowright.gif +0 -0
- data/public/fckeditor/editor/skins/office2003/images/toolbar.bg.gif +0 -0
- data/public/fckeditor/editor/skins/office2003/images/toolbar.buttonarrow.gif +0 -0
- data/public/fckeditor/editor/skins/office2003/images/toolbar.collapse.gif +0 -0
- data/public/fckeditor/editor/skins/office2003/images/toolbar.end.gif +0 -0
- data/public/fckeditor/editor/skins/office2003/images/toolbar.expand.gif +0 -0
- data/public/fckeditor/editor/skins/office2003/images/toolbar.separator.gif +0 -0
- data/public/fckeditor/editor/skins/office2003/images/toolbar.start.gif +0 -0
- data/public/fckeditor/editor/skins/silver/fck_dialog.css +402 -0
- data/public/fckeditor/editor/skins/silver/fck_dialog_ie6.js +110 -0
- data/public/fckeditor/editor/skins/silver/fck_editor.css +473 -0
- data/public/fckeditor/editor/skins/silver/fck_strip.gif +0 -0
- data/public/fckeditor/editor/skins/silver/images/dialog.sides.gif +0 -0
- data/public/fckeditor/editor/skins/silver/images/dialog.sides.png +0 -0
- data/public/fckeditor/editor/skins/silver/images/dialog.sides.rtl.png +0 -0
- data/public/fckeditor/editor/skins/silver/images/sprites.gif +0 -0
- data/public/fckeditor/editor/skins/silver/images/sprites.png +0 -0
- data/public/fckeditor/editor/skins/silver/images/toolbar.arrowright.gif +0 -0
- data/public/fckeditor/editor/skins/silver/images/toolbar.buttonarrow.gif +0 -0
- data/public/fckeditor/editor/skins/silver/images/toolbar.buttonbg.gif +0 -0
- data/public/fckeditor/editor/skins/silver/images/toolbar.collapse.gif +0 -0
- data/public/fckeditor/editor/skins/silver/images/toolbar.end.gif +0 -0
- data/public/fckeditor/editor/skins/silver/images/toolbar.expand.gif +0 -0
- data/public/fckeditor/editor/skins/silver/images/toolbar.separator.gif +0 -0
- data/public/fckeditor/editor/skins/silver/images/toolbar.start.gif +0 -0
- data/public/fckeditor/fckconfig.js +364 -0
- data/public/fckeditor/fckdebug.html +153 -0
- data/public/fckeditor/fckdialog.html +812 -0
- data/public/fckeditor/fckeditor.html +317 -0
- data/public/fckeditor/fckeditor.js +328 -0
- data/public/fckeditor/fckeditor.original.html +424 -0
- data/public/fckeditor/fckpackager.xml +262 -0
- data/public/fckeditor/fckstyles.xml +111 -0
- data/public/fckeditor/fcktemplates.xml +103 -0
- data/public/images/cms/administration/user_browser_bg.gif +0 -0
- data/public/images/cms/bg.png +0 -0
- data/public/images/cms/bl_curve.png +0 -0
- data/public/images/cms/bottom_cap.png +0 -0
- data/public/images/cms/bottom_cap_content.png +0 -0
- data/public/images/cms/browse.gif +0 -0
- data/public/images/cms/browser_media_logo.png +0 -0
- data/public/images/cms/browsercms_logo.png +0 -0
- data/public/images/cms/buttons/button.png +0 -0
- data/public/images/cms/buttons/button_bg.png +0 -0
- data/public/images/cms/buttons/button_cap.png +0 -0
- data/public/images/cms/buttons/button_cap_h.png +0 -0
- data/public/images/cms/buttons/button_cap_off.gif +0 -0
- data/public/images/cms/buttons/button_cap_off_middle.gif +0 -0
- data/public/images/cms/buttons/button_h.png +0 -0
- data/public/images/cms/buttons/button_left_bg.png +0 -0
- data/public/images/cms/buttons/button_off.png +0 -0
- data/public/images/cms/buttons/button_off_middle.png +0 -0
- data/public/images/cms/buttons/delete_x.png +0 -0
- data/public/images/cms/buttons/delete_x_disabled.png +0 -0
- data/public/images/cms/buttons/delete_x_h.png +0 -0
- data/public/images/cms/buttons/sm_button.gif +0 -0
- data/public/images/cms/buttons/sm_button_2.gif +0 -0
- data/public/images/cms/buttons/sm_button_2_h.gif +0 -0
- data/public/images/cms/buttons/sm_button_h.gif +0 -0
- data/public/images/cms/containers/add.gif +0 -0
- data/public/images/cms/containers/alpha.png +0 -0
- data/public/images/cms/containers/beta.png +0 -0
- data/public/images/cms/containers/delete.gif +0 -0
- data/public/images/cms/containers/down.gif +0 -0
- data/public/images/cms/containers/edit.gif +0 -0
- data/public/images/cms/containers/up.gif +0 -0
- data/public/images/cms/containers/view.gif +0 -0
- data/public/images/cms/content_bg.gif +0 -0
- data/public/images/cms/dashboard/bottom_cap.png +0 -0
- data/public/images/cms/dashboard/bottom_cap_content.png +0 -0
- data/public/images/cms/dashboard/header_bg.gif +0 -0
- data/public/images/cms/dashboard/header_left_bg.gif +0 -0
- data/public/images/cms/dashboard/table_header_bg.gif +0 -0
- data/public/images/cms/dashboard/top_cap.png +0 -0
- data/public/images/cms/dashed.gif +0 -0
- data/public/images/cms/datepicker/clear.gif +0 -0
- data/public/images/cms/datepicker/close.gif +0 -0
- data/public/images/cms/dk_button_l.gif +0 -0
- data/public/images/cms/dk_button_r.gif +0 -0
- data/public/images/cms/dot.png +0 -0
- data/public/images/cms/draft_status.gif +0 -0
- data/public/images/cms/gray_long_bg.gif +0 -0
- data/public/images/cms/icons/actions/add.png +0 -0
- data/public/images/cms/icons/actions/config.png +0 -0
- data/public/images/cms/icons/actions/connect.png +0 -0
- data/public/images/cms/icons/actions/delete.png +0 -0
- data/public/images/cms/icons/actions/down.png +0 -0
- data/public/images/cms/icons/actions/edit.png +0 -0
- data/public/images/cms/icons/actions/folder.png +0 -0
- data/public/images/cms/icons/actions/folder_add.png +0 -0
- data/public/images/cms/icons/actions/folder_delete.png +0 -0
- data/public/images/cms/icons/actions/folder_edit.png +0 -0
- data/public/images/cms/icons/actions/folder_move.png +0 -0
- data/public/images/cms/icons/actions/folder_open.png +0 -0
- data/public/images/cms/icons/actions/history.png +0 -0
- data/public/images/cms/icons/actions/home.png +0 -0
- data/public/images/cms/icons/actions/left.png +0 -0
- data/public/images/cms/icons/actions/link.png +0 -0
- data/public/images/cms/icons/actions/page.png +0 -0
- data/public/images/cms/icons/actions/page_add.png +0 -0
- data/public/images/cms/icons/actions/page_edit.png +0 -0
- data/public/images/cms/icons/actions/page_move.png +0 -0
- data/public/images/cms/icons/actions/redo.png +0 -0
- data/public/images/cms/icons/actions/refresh.png +0 -0
- data/public/images/cms/icons/actions/right.png +0 -0
- data/public/images/cms/icons/actions/root_folder.png +0 -0
- data/public/images/cms/icons/actions/root_link.png +0 -0
- data/public/images/cms/icons/actions/root_page.png +0 -0
- data/public/images/cms/icons/actions/undo.png +0 -0
- data/public/images/cms/icons/actions/up.png +0 -0
- data/public/images/cms/icons/actions/view.png +0 -0
- data/public/images/cms/icons/file_types/doc.png +0 -0
- data/public/images/cms/icons/file_types/file.png +0 -0
- data/public/images/cms/icons/file_types/gif.png +0 -0
- data/public/images/cms/icons/file_types/htm.png +0 -0
- data/public/images/cms/icons/file_types/pdf.png +0 -0
- data/public/images/cms/icons/file_types/ppt.png +0 -0
- data/public/images/cms/icons/file_types/swf.png +0 -0
- data/public/images/cms/icons/file_types/txt.png +0 -0
- data/public/images/cms/icons/file_types/xls.png +0 -0
- data/public/images/cms/icons/file_types/xml.png +0 -0
- data/public/images/cms/icons/file_types/zip.png +0 -0
- data/public/images/cms/icons/status/archived.gif +0 -0
- data/public/images/cms/icons/status/draft.gif +0 -0
- data/public/images/cms/icons/status/hidden.gif +0 -0
- data/public/images/cms/icons/status/locked.gif +0 -0
- data/public/images/cms/icons/status/published.gif +0 -0
- data/public/images/cms/icons/status/unlocked.gif +0 -0
- data/public/images/cms/icons/user.png +0 -0
- data/public/images/cms/login_bg.jpg +0 -0
- data/public/images/cms/login_bottom.jpg +0 -0
- data/public/images/cms/login_top.gif +0 -0
- data/public/images/cms/lt_button_bg.gif +0 -0
- data/public/images/cms/lt_button_l.gif +0 -0
- data/public/images/cms/lt_button_r.gif +0 -0
- data/public/images/cms/menu/block_cap_h.gif +0 -0
- data/public/images/cms/menu/bottom_cap.png +0 -0
- data/public/images/cms/menu/bottom_cap_menu.png +0 -0
- data/public/images/cms/menu/bottom_cap_menu_first.png +0 -0
- data/public/images/cms/menu/menu_header_first_bg.gif +0 -0
- data/public/images/cms/menu/selected_block_cap.gif +0 -0
- data/public/images/cms/menu/top_cap.png +0 -0
- data/public/images/cms/menu/top_cap_menu_header.png +0 -0
- data/public/images/cms/menu.png +0 -0
- data/public/images/cms/menu_h.gif +0 -0
- data/public/images/cms/menu_header.png +0 -0
- data/public/images/cms/menu_open.png +0 -0
- data/public/images/cms/menu_open_bg.gif +0 -0
- data/public/images/cms/nav/on_bg.gif +0 -0
- data/public/images/cms/nav.png +0 -0
- data/public/images/cms/nav_admin.gif +0 -0
- data/public/images/cms/nav_admin_h.gif +0 -0
- data/public/images/cms/nav_admin_on.gif +0 -0
- data/public/images/cms/nav_cap.png +0 -0
- data/public/images/cms/nav_cap_h.gif +0 -0
- data/public/images/cms/nav_content_library.gif +0 -0
- data/public/images/cms/nav_content_library_h.gif +0 -0
- data/public/images/cms/nav_content_library_on.gif +0 -0
- data/public/images/cms/nav_dash.gif +0 -0
- data/public/images/cms/nav_dash_h.gif +0 -0
- data/public/images/cms/nav_dash_on.gif +0 -0
- data/public/images/cms/nav_h.gif +0 -0
- data/public/images/cms/nav_sitemap.gif +0 -0
- data/public/images/cms/nav_sitemap_h.gif +0 -0
- data/public/images/cms/nav_sitemap_on.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_bg.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_bg.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_draft_bg.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_draft_l.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_draft_r.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_l.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_published_bg.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_published_l.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_published_r.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_r.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_l.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_r.gif +0 -0
- data/public/images/cms/page_toolbar/status_draft_bg.gif +0 -0
- data/public/images/cms/page_toolbar/status_draft_l.gif +0 -0
- data/public/images/cms/page_toolbar/status_l.gif +0 -0
- data/public/images/cms/page_toolbar/status_published_bg.gif +0 -0
- data/public/images/cms/page_toolbar/status_published_l.gif +0 -0
- data/public/images/cms/page_toolbar/visual_editor_bg.gif +0 -0
- data/public/images/cms/page_toolbar/visual_editor_end.gif +0 -0
- data/public/images/cms/page_toolbar/visual_editor_r.gif +0 -0
- data/public/images/cms/page_toolbar/visual_editor_state_bg.gif +0 -0
- data/public/images/cms/pages/add_connectable.gif +0 -0
- data/public/images/cms/pages/connect_connectable.gif +0 -0
- data/public/images/cms/pages/container_border.gif +0 -0
- data/public/images/cms/pages/container_border_l.gif +0 -0
- data/public/images/cms/pages/container_border_r.gif +0 -0
- data/public/images/cms/pages/delete_connectable.gif +0 -0
- data/public/images/cms/pages/down_connectable.gif +0 -0
- data/public/images/cms/pages/down_connectable_disabled.gif +0 -0
- data/public/images/cms/pages/edit_connectable.gif +0 -0
- data/public/images/cms/pages/edit_connectable_2.gif +0 -0
- data/public/images/cms/pages/show_connectable.gif +0 -0
- data/public/images/cms/pages/up_connectable.gif +0 -0
- data/public/images/cms/pages/up_connectable_disabled.gif +0 -0
- data/public/images/cms/pagination/first.gif +0 -0
- data/public/images/cms/pagination/first_h.gif +0 -0
- data/public/images/cms/pagination/input.gif +0 -0
- data/public/images/cms/pagination/last.gif +0 -0
- data/public/images/cms/pagination/last_h.gif +0 -0
- data/public/images/cms/pagination/next.gif +0 -0
- data/public/images/cms/pagination/next_h.gif +0 -0
- data/public/images/cms/pagination/previous.gif +0 -0
- data/public/images/cms/pagination/previous_h.gif +0 -0
- data/public/images/cms/published_status.gif +0 -0
- data/public/images/cms/search.png +0 -0
- data/public/images/cms/search_submit.gif +0 -0
- data/public/images/cms/search_submit_h.gif +0 -0
- data/public/images/cms/searchbox_gradient.gif +0 -0
- data/public/images/cms/select_bg.gif +0 -0
- data/public/images/cms/select_bg_2.gif +0 -0
- data/public/images/cms/sitemap/bottom_cap.png +0 -0
- data/public/images/cms/sitemap/buffer_caps.png +0 -0
- data/public/images/cms/sitemap/contract.png +0 -0
- data/public/images/cms/sitemap/corners.gif +0 -0
- data/public/images/cms/sitemap/corners_hover.gif +0 -0
- data/public/images/cms/sitemap/divider.gif +0 -0
- data/public/images/cms/sitemap/expand.png +0 -0
- data/public/images/cms/sitemap/gradient.gif +0 -0
- data/public/images/cms/sitemap/gray_contract.png +0 -0
- data/public/images/cms/sitemap/gray_expand.png +0 -0
- data/public/images/cms/sitemap/no_contents.png +0 -0
- data/public/images/cms/sitemap/site_root_cap.png +0 -0
- data/public/images/cms/sitemap/tooltip.gif +0 -0
- data/public/images/cms/sitemap/top_cap_content.png +0 -0
- data/public/images/cms/solid.gif +0 -0
- data/public/images/cms/table/bl.gif +0 -0
- data/public/images/cms/table/br.gif +0 -0
- data/public/images/cms/table/divider.gif +0 -0
- data/public/images/cms/table/td_cap_first_h.gif +0 -0
- data/public/images/cms/table/td_cap_first_s.gif +0 -0
- data/public/images/cms/table/td_cap_last_h.gif +0 -0
- data/public/images/cms/table/td_cap_last_s.gif +0 -0
- data/public/images/cms/table/td_last_bg.gif +0 -0
- data/public/images/cms/table/th_bg.gif +0 -0
- data/public/images/cms/table/th_divider.gif +0 -0
- data/public/images/cms/table/th_last_bg.gif +0 -0
- data/public/images/cms/table/tl.gif +0 -0
- data/public/images/cms/table/tr.gif +0 -0
- data/public/images/cms/table/tr_bg.gif +0 -0
- data/public/images/cms/thickbox/loadingAnimation.gif +0 -0
- data/public/images/cms/thickbox/macFFBgHack.png +0 -0
- data/public/images/cms/toolbar_bg.png +0 -0
- data/public/images/cms/top_cap.png +0 -0
- data/public/images/cms/top_cap_content.png +0 -0
- data/public/images/cms/top_cap_menu_header.png +0 -0
- data/public/images/cms/user_search_submit.gif +0 -0
- data/public/images/cms/usercontrols_bg.png +0 -0
- data/public/images/cms/usercontrols_bg_cap.png +0 -0
- data/public/javascripts/cms/application.js +148 -0
- data/public/javascripts/cms/editor.js +56 -0
- data/public/javascripts/cms/sitemap.js +438 -0
- data/public/javascripts/jquery-ui.js +591 -0
- data/public/javascripts/jquery.contextMenu.js +211 -0
- data/public/javascripts/jquery.cookie.js +96 -0
- data/public/javascripts/jquery.dimensions.js +119 -0
- data/public/javascripts/jquery.js +11 -0
- data/public/javascripts/jquery.selectbox-0.5.js +209 -0
- data/public/javascripts/jquery.taglist.js +136 -0
- data/public/javascripts/jquery.thickbox.js +10 -0
- data/public/site/customconfig.js +1 -0
- data/public/stylesheets/cms/administration.css +91 -0
- data/public/stylesheets/cms/application.css +166 -0
- data/public/stylesheets/cms/block.css +26 -0
- data/public/stylesheets/cms/buttons.css +120 -0
- data/public/stylesheets/cms/content_library.css +139 -0
- data/public/stylesheets/cms/content_types.css +4 -0
- data/public/stylesheets/cms/dashboard.css +118 -0
- data/public/stylesheets/cms/data_table.css +156 -0
- data/public/stylesheets/cms/date_picker.css +73 -0
- data/public/stylesheets/cms/form_layout.css +283 -0
- data/public/stylesheets/cms/jquery.contextMenu.css +61 -0
- data/public/stylesheets/cms/login.css +78 -0
- data/public/stylesheets/cms/menu.css +116 -0
- data/public/stylesheets/cms/nav.css +99 -0
- data/public/stylesheets/cms/page_toolbar.css +135 -0
- data/public/stylesheets/cms/reset.css +46 -0
- data/public/stylesheets/cms/selectbox.css +56 -0
- data/public/stylesheets/cms/sitemap.css +390 -0
- data/public/stylesheets/cms/taglist.css +18 -0
- data/public/stylesheets/cms/thickbox.css +163 -0
- data/public/themes/blue_steel/images/logo.jpg +0 -0
- data/public/themes/blue_steel/images/splash.jpg +0 -0
- data/public/themes/blue_steel/stylesheets/style.css +257 -0
- data/rails/init.rb +3 -0
- data/rails_generators/browser_cms/USAGE +2 -0
- data/rails_generators/browser_cms/browser_cms_generator.rb +35 -0
- data/rails_generators/browser_cms/templates/README +1 -0
- data/rails_generators/browser_cms_demo_site/USAGE +1 -0
- data/rails_generators/browser_cms_demo_site/browser_cms_demo_site_generator.rb +63 -0
- data/rails_generators/browser_cms_demo_site/templates/migration.rb +21 -0
- data/rails_generators/content_block/USAGE +32 -0
- data/rails_generators/content_block/content_block_generator.rb +69 -0
- data/rails_generators/content_block/templates/_form.html.erb +22 -0
- data/rails_generators/content_block/templates/content_block.rb +27 -0
- data/rails_generators/content_block/templates/controller.rb +2 -0
- data/rails_generators/content_block/templates/functional_test.erb +11 -0
- data/rails_generators/content_block/templates/migration.rb +38 -0
- data/rails_generators/content_block/templates/render.html.erb +14 -0
- data/rails_generators/content_block/templates/unit_test.erb +9 -0
- data/rails_generators/portlet/USAGE +37 -0
- data/rails_generators/portlet/portlet_generator.rb +31 -0
- data/rails_generators/portlet/templates/_form.html.erb +6 -0
- data/rails_generators/portlet/templates/portlet.rb +7 -0
- data/rails_generators/portlet/templates/render.html.erb +1 -0
- data/rails_generators/portlet/templates/unit_test.erb +9 -0
- data/templates/blank.rb +36 -0
- data/templates/demo.rb +28 -0
- data/templates/module.rb +945 -0
- data/test/custom_assertions.rb +68 -0
- data/test/factories.rb +109 -0
- data/test/functional/cms/cache_controller_test.rb +14 -0
- data/test/functional/cms/categories_controller_test.rb +25 -0
- data/test/functional/cms/connectors_controller_test.rb +60 -0
- data/test/functional/cms/content_block_controller_test.rb +120 -0
- data/test/functional/cms/content_controller_test.rb +434 -0
- data/test/functional/cms/content_types_controller_test.rb +18 -0
- data/test/functional/cms/dashboard_controller_test.rb +17 -0
- data/test/functional/cms/dynamic_views_controller_test.rb +28 -0
- data/test/functional/cms/file_blocks_controller_test.rb +51 -0
- data/test/functional/cms/groups_controller_test.rb +50 -0
- data/test/functional/cms/home_controller_test.rb +156 -0
- data/test/functional/cms/html_blocks_controller_test.rb +163 -0
- data/test/functional/cms/image_blocks_controller_test.rb +75 -0
- data/test/functional/cms/links_controller_test.rb +148 -0
- data/test/functional/cms/pages_controller_test.rb +220 -0
- data/test/functional/cms/portlets_controller_test.rb +67 -0
- data/test/functional/cms/section_nodes_controller_test.rb +84 -0
- data/test/functional/cms/sections_controller_test.rb +225 -0
- data/test/functional/cms/sessions_controller_test.rb +52 -0
- data/test/functional/cms/toolbar_controller_test.rb +64 -0
- data/test/functional/cms/users_controller_test.rb +231 -0
- data/test/integration/login_test.rb +14 -0
- data/test/test_helper.rb +161 -0
- data/test/test_logging.rb +67 -0
- data/test/unit/behaviors/attaching_test.rb +359 -0
- data/test/unit/behaviors/dynamic_attributes_test.rb +38 -0
- data/test/unit/behaviors/publishable_test.rb +53 -0
- data/test/unit/behaviors/searching_test.rb +102 -0
- data/test/unit/behaviors/taggable_test.rb +109 -0
- data/test/unit/extensions/active_record/base_test.rb +10 -0
- data/test/unit/extensions/hash_test.rb +17 -0
- data/test/unit/extensions/integer_test.rb +10 -0
- data/test/unit/helpers/application_helper_test.rb +29 -0
- data/test/unit/helpers/form_builder_test.rb +17 -0
- data/test/unit/helpers/menu_helper_test.rb +217 -0
- data/test/unit/helpers/page_helper_test.rb +57 -0
- data/test/unit/helpers/path_helper_test.rb +57 -0
- data/test/unit/lib/content_block_test.rb +166 -0
- data/test/unit/lib/generators_test.rb +40 -0
- data/test/unit/lib/routes_test.rb +57 -0
- data/test/unit/models/attachment_test.rb +96 -0
- data/test/unit/models/category_test.rb +40 -0
- data/test/unit/models/category_type_test.rb +8 -0
- data/test/unit/models/connector_test.rb +152 -0
- data/test/unit/models/content_type_test.rb +44 -0
- data/test/unit/models/email_page_portlet_test.rb +14 -0
- data/test/unit/models/file_block_test.rb +211 -0
- data/test/unit/models/group_test.rb +7 -0
- data/test/unit/models/html_block_test.rb +102 -0
- data/test/unit/models/link_test.rb +8 -0
- data/test/unit/models/page_partial_test.rb +29 -0
- data/test/unit/models/page_route_test.rb +29 -0
- data/test/unit/models/page_template_test.rb +37 -0
- data/test/unit/models/page_test.rb +726 -0
- data/test/unit/models/permission_test.rb +10 -0
- data/test/unit/models/portlet_test.rb +21 -0
- data/test/unit/models/section_node_test.rb +92 -0
- data/test/unit/models/sections_test.rb +125 -0
- data/test/unit/models/site_test.rb +50 -0
- data/test/unit/models/task_test.rb +126 -0
- data/test/unit/models/user_test.rb +228 -0
- data/test/unit/schema_statements_test.rb +41 -0
- metadata +1335 -0
@@ -0,0 +1,181 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
5
|
+
<title>How to Install a Module</title>
|
6
|
+
<link rel="stylesheet" type="text/css" href="files/stylesheets/syntax.css" />
|
7
|
+
<script type="text/javascript" src="files/javascripts/code_highlighter.js"></script>
|
8
|
+
<script type="text/javascript" src="files/javascripts/highlighters.js"></script>
|
9
|
+
<style type="text/css">
|
10
|
+
body {
|
11
|
+
background: #FFFFFF url(images/bg.png) repeat-x scroll 0 0;
|
12
|
+
font-family: "Trebuchet MS", Helvetica, Verdana, Arial, sans-serif;
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
#page {
|
18
|
+
margin: 0 auto;
|
19
|
+
text-align: left;
|
20
|
+
width: 1000px;
|
21
|
+
}
|
22
|
+
|
23
|
+
#header {
|
24
|
+
height: 110px;
|
25
|
+
}
|
26
|
+
|
27
|
+
div.top_cap {
|
28
|
+
background: transparent url(images/top_cap.png) no-repeat scroll 0 0;
|
29
|
+
height: 10px;
|
30
|
+
}
|
31
|
+
|
32
|
+
#contentwrap {
|
33
|
+
background: transparent url(images/dot.png) repeat scroll 0 0;
|
34
|
+
float: left;
|
35
|
+
width: 1000px;
|
36
|
+
}
|
37
|
+
|
38
|
+
div.bottom_cap {
|
39
|
+
background: transparent url(images/bottom_cap.png) no-repeat scroll 0 0;
|
40
|
+
height: 9px;
|
41
|
+
}
|
42
|
+
|
43
|
+
div.top_cap_content {
|
44
|
+
background: transparent url(images/top_cap_content.png) no-repeat scroll 0 0;
|
45
|
+
height: 5px;
|
46
|
+
}
|
47
|
+
|
48
|
+
#content {
|
49
|
+
background-color: #FFFFFF;
|
50
|
+
margin: 0 5px;
|
51
|
+
padding: 0 10px;
|
52
|
+
}
|
53
|
+
|
54
|
+
div.title {
|
55
|
+
padding: 20px;
|
56
|
+
}
|
57
|
+
|
58
|
+
div.title h1 {
|
59
|
+
border-bottom: 3px solid #505358;
|
60
|
+
color: #FFFFFF;
|
61
|
+
font-size: 24pt;
|
62
|
+
font-weight: normal;
|
63
|
+
line-height: 1;
|
64
|
+
margin: 0 0 10px;
|
65
|
+
padding-bottom: 10px;
|
66
|
+
}
|
67
|
+
|
68
|
+
td.sidebar {
|
69
|
+
font-size: 8pt;
|
70
|
+
width: 165px;
|
71
|
+
padding: 5px;
|
72
|
+
}
|
73
|
+
|
74
|
+
td.sidebar ol {
|
75
|
+
margin-left: 20px;
|
76
|
+
padding: 0;
|
77
|
+
line-height: 1.5;
|
78
|
+
}
|
79
|
+
|
80
|
+
td.sidebar ol li {
|
81
|
+
margin: 0;
|
82
|
+
padding: 0;
|
83
|
+
}
|
84
|
+
|
85
|
+
td.sidebar ol li ul {
|
86
|
+
list-style-type: none;
|
87
|
+
padding-left: 10px;
|
88
|
+
}
|
89
|
+
|
90
|
+
td.guides {
|
91
|
+
font-size: 10pt;
|
92
|
+
width: 800px;
|
93
|
+
padding: 10px;
|
94
|
+
}
|
95
|
+
|
96
|
+
.code_container {
|
97
|
+
padding: 10px;
|
98
|
+
background: #eee;
|
99
|
+
border: 1px solid #ccc;
|
100
|
+
overflow: auto;
|
101
|
+
width: 760px;
|
102
|
+
}
|
103
|
+
|
104
|
+
pre, code {
|
105
|
+
overflow: auto;
|
106
|
+
white-space:pre;
|
107
|
+
}
|
108
|
+
|
109
|
+
</style>
|
110
|
+
</head>
|
111
|
+
<body>
|
112
|
+
<div id="page">
|
113
|
+
<div id="header">
|
114
|
+
<a href="index.html"><img style="border:0px" src="images/browsercms_logo.png" alt="BrowserCMS"/></a>
|
115
|
+
</div>
|
116
|
+
<div id="main">
|
117
|
+
<div class="top_cap"></div>
|
118
|
+
<div id="contentwrap">
|
119
|
+
<div class="title">
|
120
|
+
<h1>How to Install a Module</h1>
|
121
|
+
</div>
|
122
|
+
<div class="top_cap_content"></div>
|
123
|
+
<div id="content">
|
124
|
+
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
125
|
+
<tr>
|
126
|
+
<td class="sidebar" valign="top">
|
127
|
+
<div id="subCol">
|
128
|
+
<h3 class="chapter"><img src="images/chapters_icon.gif" alt="" />Chapters</h3>
|
129
|
+
<ol class="chapters">
|
130
|
+
<li><a href="#installation">Installation</a><ul><li><a href="#build-and-install-the-gem-from-source">Build and install the gem from source</a></li><li><a href="#adding-the-module-to-your-project">Adding the Module to your project</a></li></ul></li></ol></div>
|
131
|
+
</td>
|
132
|
+
<td class="guides">
|
133
|
+
<h2>How to Install a Module</h2>
|
134
|
+
<p>This guide covers how to download and install a module for BrowserCMS. With BrowserCMS, modules are packaged as Ruby Gems, which contain the code to add new behavior to a BrowserCMS project. Installing a module consists of several steps, including:</p>
|
135
|
+
<ol>
|
136
|
+
<li>Getting the Gem installed</li>
|
137
|
+
<li>Telling BrowserCMS to use that Gem</li>
|
138
|
+
<li>Pulling the module specific code into your project (like migrations)</li>
|
139
|
+
<li>Running migrations</li>
|
140
|
+
</ol>
|
141
|
+
<p>Once you have done the above steps, you should have access to the Content blocks and portlets that each module provides, and you can add them to your pages.</p>
|
142
|
+
<h3 id="installation">1 Installation</h3>
|
143
|
+
<p>This module assumes you are going to be building the module from source code, and installing to a project locally to your computer. Let’s assume you want to install the News module, who’s project name (and gem name) is ‘bcms_news’. If you want to install other modules, just substitute the name of the module you want for ‘bcms_news’.</p>
|
144
|
+
<h4 id="build-and-install-the-gem-from-source">1.1 Build and install the gem from source</h4>
|
145
|
+
<p>This assumes you have the latest copy of the code from github on your machine, in a directory <tt>~/my_projects_dir/bcms_news_dir</tt>.</p>
|
146
|
+
<div class="code_container"><code class="html">$ cd ~/my_projects_dir/bcms_news
|
147
|
+
$ gem build bcms_news.gemspec
|
148
|
+
$ sudo gem install bcms_news-1.0.0.gem</code></div>
|
149
|
+
<p>At this point, the News module gem should be installed as a gem on your system, and can be added to your projects.</p>
|
150
|
+
<h4 id="adding-the-module-to-your-project">1.2 Adding the Module to your project</h4>
|
151
|
+
<p>In your BrowserCMS application, do the following steps.</p>
|
152
|
+
<h5 id="edit-the-confingenvironmentrb-file">1.2.1 Edit the confing/environment.rb file</h5>
|
153
|
+
<div class="code_container"><code class="ruby">config.gem 'browsercms'
|
154
|
+
# Add this next line after the browsercms gem
|
155
|
+
config.gem "bcms_news"</code></div>
|
156
|
+
<h5 id="edit-the-routesrb-file">1.2.2 Edit the routes.rb file</h5>
|
157
|
+
<div class="code_container"><code class="ruby"># Add this route. It must be before the core browser_cms route.
|
158
|
+
map.routes_for_bcms_news
|
159
|
+
map.routes_for_browser_cms</code></div>
|
160
|
+
<h5 id="install-the-new-module-code">1.2.3 Install the new module code</h5>
|
161
|
+
<p>From the root directory of your cms project, run:</p>
|
162
|
+
<div class="code_container"><code class="html">$ script/generate browser_cms</code></div>
|
163
|
+
<p>This will copy all the necessary views and migrations from the gems into your local project. You should messages checking to see if files already exist or were created.</p>
|
164
|
+
<h5 id="run-migrations-and-start-the-server">1.2.4 Run migrations and start the server</h5>
|
165
|
+
<p>Modules will often add new data types, like content blocks, so you need to run the migrations to add them to your project.</p>
|
166
|
+
<div class="code_container"><code class="html">$ rake db:migrate
|
167
|
+
$ script/server</code></div>
|
168
|
+
<h5 id="add-new-content-to-your-site">1.2.5 Add New Content to your Site</h5>
|
169
|
+
<p>Most modules will come with a few new types of content, either a new Content Block and one or more Portlets, which are designed to display those Content Blocks in interesting ways. To discover what new contents have been added, you can look at the Content Library for a new group (like ‘News’) or add a new Portlet, which will list all available portlets in the system.</p>
|
170
|
+
</td>
|
171
|
+
</tr>
|
172
|
+
</table>
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
<br clear="all"/>
|
176
|
+
<div class="bottom_cap"></div>
|
177
|
+
</div>
|
178
|
+
</div>
|
179
|
+
</body>
|
180
|
+
</html>
|
181
|
+
|
@@ -0,0 +1,266 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
5
|
+
<title>User Guide for BrowserCMS</title>
|
6
|
+
<link rel="stylesheet" type="text/css" href="files/stylesheets/syntax.css" />
|
7
|
+
<script type="text/javascript" src="files/javascripts/code_highlighter.js"></script>
|
8
|
+
<script type="text/javascript" src="files/javascripts/highlighters.js"></script>
|
9
|
+
<style type="text/css">
|
10
|
+
body {
|
11
|
+
background: #FFFFFF url(images/bg.png) repeat-x scroll 0 0;
|
12
|
+
font-family: "Trebuchet MS", Helvetica, Verdana, Arial, sans-serif;
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
#page {
|
18
|
+
margin: 0 auto;
|
19
|
+
text-align: left;
|
20
|
+
width: 1000px;
|
21
|
+
}
|
22
|
+
|
23
|
+
#header {
|
24
|
+
height: 110px;
|
25
|
+
}
|
26
|
+
|
27
|
+
div.top_cap {
|
28
|
+
background: transparent url(images/top_cap.png) no-repeat scroll 0 0;
|
29
|
+
height: 10px;
|
30
|
+
}
|
31
|
+
|
32
|
+
#contentwrap {
|
33
|
+
background: transparent url(images/dot.png) repeat scroll 0 0;
|
34
|
+
float: left;
|
35
|
+
width: 1000px;
|
36
|
+
}
|
37
|
+
|
38
|
+
div.bottom_cap {
|
39
|
+
background: transparent url(images/bottom_cap.png) no-repeat scroll 0 0;
|
40
|
+
height: 9px;
|
41
|
+
}
|
42
|
+
|
43
|
+
div.top_cap_content {
|
44
|
+
background: transparent url(images/top_cap_content.png) no-repeat scroll 0 0;
|
45
|
+
height: 5px;
|
46
|
+
}
|
47
|
+
|
48
|
+
#content {
|
49
|
+
background-color: #FFFFFF;
|
50
|
+
margin: 0 5px;
|
51
|
+
padding: 0 10px;
|
52
|
+
}
|
53
|
+
|
54
|
+
div.title {
|
55
|
+
padding: 20px;
|
56
|
+
}
|
57
|
+
|
58
|
+
div.title h1 {
|
59
|
+
border-bottom: 3px solid #505358;
|
60
|
+
color: #FFFFFF;
|
61
|
+
font-size: 24pt;
|
62
|
+
font-weight: normal;
|
63
|
+
line-height: 1;
|
64
|
+
margin: 0 0 10px;
|
65
|
+
padding-bottom: 10px;
|
66
|
+
}
|
67
|
+
|
68
|
+
td.sidebar {
|
69
|
+
font-size: 8pt;
|
70
|
+
width: 165px;
|
71
|
+
padding: 5px;
|
72
|
+
}
|
73
|
+
|
74
|
+
td.sidebar ol {
|
75
|
+
margin-left: 20px;
|
76
|
+
padding: 0;
|
77
|
+
line-height: 1.5;
|
78
|
+
}
|
79
|
+
|
80
|
+
td.sidebar ol li {
|
81
|
+
margin: 0;
|
82
|
+
padding: 0;
|
83
|
+
}
|
84
|
+
|
85
|
+
td.sidebar ol li ul {
|
86
|
+
list-style-type: none;
|
87
|
+
padding-left: 10px;
|
88
|
+
}
|
89
|
+
|
90
|
+
td.guides {
|
91
|
+
font-size: 10pt;
|
92
|
+
width: 800px;
|
93
|
+
padding: 10px;
|
94
|
+
}
|
95
|
+
|
96
|
+
.code_container {
|
97
|
+
padding: 10px;
|
98
|
+
background: #eee;
|
99
|
+
border: 1px solid #ccc;
|
100
|
+
overflow: auto;
|
101
|
+
width: 760px;
|
102
|
+
}
|
103
|
+
|
104
|
+
pre, code {
|
105
|
+
overflow: auto;
|
106
|
+
white-space:pre;
|
107
|
+
}
|
108
|
+
|
109
|
+
</style>
|
110
|
+
</head>
|
111
|
+
<body>
|
112
|
+
<div id="page">
|
113
|
+
<div id="header">
|
114
|
+
<a href="index.html"><img style="border:0px" src="images/browsercms_logo.png" alt="BrowserCMS"/></a>
|
115
|
+
</div>
|
116
|
+
<div id="main">
|
117
|
+
<div class="top_cap"></div>
|
118
|
+
<div id="contentwrap">
|
119
|
+
<div class="title">
|
120
|
+
<h1>User Guide for BrowserCMS</h1>
|
121
|
+
</div>
|
122
|
+
<div class="top_cap_content"></div>
|
123
|
+
<div id="content">
|
124
|
+
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
125
|
+
<tr>
|
126
|
+
<td class="sidebar" valign="top">
|
127
|
+
<div id="subCol">
|
128
|
+
<h3 class="chapter"><img src="images/chapters_icon.gif" alt="" />Chapters</h3>
|
129
|
+
<ol class="chapters">
|
130
|
+
<li><a href="#basic-concepts">Basic Concepts</a><ul></ul></li><li><a href="#common-tasks">Common Tasks</a><ul><li><a href="#logging-into-the-cms">Logging into the <span class="caps">CMS</span></a></li><li><a href="#editing-the-home-page">Editing the home page</a></li><li><a href="#publishing-pages">Publishing pages</a></li><li><a href="#adding-a-new-page">Adding a new page</a></li><li><a href="#adding-new-text-content-to-a-page">Adding new text content to a page</a></li><li><a href="#adding-images-and-files-to-pages">Adding images and files to pages</a></li><li><a href="#finding-a-page-to-edit">Finding a page to edit</a></li><li><a href="#reverting-a-page">Reverting a page</a></li><li><a href="#reorganize-a-sites-navigation">Reorganize a site’s navigation</a></li><li><a href="#setting-up-restricted-sections">Setting up restricted sections</a></li><li><a href="#setting-up-workflow">Setting up Workflow</a></li><li><a href="#using-my-dashboard">Using My Dashboard</a></li><li><a href="#adding-dynamic-content-via-portlets">Adding dynamic content via portlets</a></li></ul></li></ol></div>
|
131
|
+
</td>
|
132
|
+
<td class="guides">
|
133
|
+
<h2>User Guide for BrowserCMS</h2>
|
134
|
+
<h3>What to Expect</h3>
|
135
|
+
<p>This guide covers how to use BrowserCMS to build and manage websites. After reading it, you should understand how to:</p>
|
136
|
+
<ul>
|
137
|
+
<li>Create new pages</li>
|
138
|
+
<li>Organize your site navigation via the sitemap.</li>
|
139
|
+
<li>Place content on pages.</li>
|
140
|
+
<li>Dynamically display content on pages using portlets.</li>
|
141
|
+
<li>Create and assign permissions to users.</li>
|
142
|
+
</ul>
|
143
|
+
<p>This guide is aimed at people who are managing sites using BrowserCMS, as opposed to programmers who want to <a href="developer_guide.html">customize it</a>, or designers who want to <a href="designer_guide.html">create new designs</a> for a site.</p>
|
144
|
+
<h3>What not to expect</h3>
|
145
|
+
<p>This document assumes that users have a working copy of BrowserCMS to play with, either on their local machine, or on a demo site. We don’t cover how to install <span class="caps">CMS</span> here, so see the <a href="getting_started.html">Getting Started</a> Guide in order to get up and running.</p>
|
146
|
+
<p>In addition, an installation of BrowserCMS will have several templates already installed. The ‘theme’ might be the default BrowserCMS theme, or a custom theme designed for a specific client. This document does not cover how to design and create new themes/templates, but focuses on the day to day work that content managers will need to do.</p>
|
147
|
+
<h3 id="basic-concepts">1 Basic Concepts</h3>
|
148
|
+
<p>There are several concepts which underly how BrowserCMS works. To be productive, users of BrowserCMS should ideally understand these ideas:</p>
|
149
|
+
<ul>
|
150
|
+
<li><strong>Pages</strong> – Visitors experience your site primarily via pages. Pages are really compound documents, consisting of more than one editable area of content. The allows for intricate design, without needing to be edited via single giant <span class="caps">HTML</span> area.</li>
|
151
|
+
<li><strong>Content Blocks</strong> – Blocks are the most granular bits of content in a system. Pages usually have one or more blocks of content associated with them. Content blocks can be anything from a simple fragment of <span class="caps">HTML</span>, to a News Article (which might have multiple data fields like name, body and summary), to portlets, which dynamically display other types of content.</li>
|
152
|
+
<li><strong>Portlets</strong> – Sometimes you don’t want to manually place all the content on your site. You want to set up some rules, so that when new content is entered, it appears in multiple places. Portlets are generally how that gets done. Portlets are really just a slightly special version of blocks, which generally query for other blocks, and then format them for display.</li>
|
153
|
+
<li><strong>Sections</strong> – Each page lives in a section. Sections the primary way pages are organized. Menus are usually dynamically constructed based off the hierarchy of sections and pages. Sections also handle security, where individual groups are allowed to see pages within a given section. Sections and pages can be reordered by using the Site Map tab.</li>
|
154
|
+
<li><strong>Templates</strong> – Each page has a template, which handles governs the styles and layout for that page. A template will determine what areas of the page are editable, how many columns it has and how the navigation will work. A website will usually have multiple templates (i.e. Home Page and Subpage) which provide different layout choices for users when they create new pages.</li>
|
155
|
+
<li><strong>Users and Groups</strong> – Security is handled via users and groups. A user might represent a ‘public’ user, who can access some sections of your website (like a ‘Members only section’). Or they might be a ‘<span class="caps">CMS</span>’ user who has the ability to make changes to the content via the <span class="caps">CMS</span> editing tools. Each user can be part of multiple groups, which define what they can do, including editing pages, viewing content or publishing new pages.</li>
|
156
|
+
</ul>
|
157
|
+
<h3 id="common-tasks">2 Common Tasks</h3>
|
158
|
+
<p>This section will cover some of the more frequent tasks that site managers will need to undertake in order to manage their website. For the purposes of this section, all examples assume a locally running copy of BrowserCMS, accessed as http://localhost:3000. A site hosted elsewhere might be running at http://yourcms.yourcompany.com.</p>
|
159
|
+
<h4 id="logging-into-the-cms">2.1 Logging into the <span class="caps">CMS</span></h4>
|
160
|
+
<p>To access that administrative portions of a <span class="caps">CMS</span>, you have to go to the admin login page. To do this, add /cms to your website’s <span class="caps">URL</span>. Working locally, this would be http://localhost:3000. From this page, you can log in with your username and password. For a local site, this will be username = cmsadmin and password = cmsadmin. For a live site, this will have been randomly set during install.</p>
|
161
|
+
<p>After you log in, you will be sent to the dashboard (/cms/dashboard). The details of this page will be covered later, but the dashboard serves a summary of content in various workflow stages. From here, you can jump to other sections of <span class="caps">CMS</span>.</p>
|
162
|
+
<h4 id="editing-the-home-page">2.2 Editing the home page</h4>
|
163
|
+
<p>To understand how editing pages in the <span class="caps">CMS</span> works, let’s jump over to the homepage. The quickest way to do that is to click on the BrowserCMS logo in the top left. This will always take you to the home page for your site. When you visit a page in BrowserCMS, and are logged in as editor, you will see the page exactly as a visiter would, with the addition of a toolbar at the top of the page. This toolbar gives you the tools/buttons necessary to make changes to pages, or jump to other <span class="caps">CMS</span> admin tabs.</p>
|
164
|
+
<h5 id="in-context-editing">2.2.1 In Context Editing</h5>
|
165
|
+
<p>One of the key concepts to make page editing easier in BrowserCMS is called ‘In Context Editing’. It allows you to browse the site as a visitor would, and then edit content directly on the page. By default, you can’t see the editable areas of a page (called ‘Containers’), because the Visual Editor is turned off. To show the containers, click the ‘Turn On’ button on the right side of the toolbar, which turns on the visual editor. You should now see the containers highlighted on the page. The templates for each page determine what areas of the page are editable. Clicking the ‘Turn Off’ button will hide the containers again, giving you a more accurate view of what the finished page will look like.</p>
|
166
|
+
<h5 id="containers">2.2.2 Containers</h5>
|
167
|
+
<p>A container is marked by a box with a grey header, with several buttons on it. Each container has two controls, one to Add new content to that container (The + icon) and another to place existing content into the container. It also has a status indicator which shows if any content blocks in that container are in draft mode. Each container can hold zero or more content blocks.</p>
|
168
|
+
<h5 id="blocks">2.2.3 Blocks</h5>
|
169
|
+
<p>Each block within a container is marked with a grey border, and several buttons. Blocks can be edited, reordered using the up or down arrows, or removed from the page (which does not delete it).</p>
|
170
|
+
<h5 id="making-changes">2.2.4 Making changes</h5>
|
171
|
+
<p>To edit some existing content, pick the block you want to edit, and click the ‘wrench’ icon. This will take you to the edit screen for that block. Most content blocks placed on pages are usually ‘Text’ blocks, which are just pure html content, with a name for organization purposes. On the ‘Edit Text’ page, you can change the name, or use the <span class="caps">WYSIWYG</span> editor to make changes to the content. If you want to edit the source html directly, you can change your editor preference with the toggle to the top right of the editor.</p>
|
172
|
+
<p>Once your edits are complete, you can save your changes using the Save button at the bottom of the page. This will return you to the page, where you can see how your changes look in context to the rest of your page. Your changes won’t be visible on the public site yet, so you can choose to make more changes. See the next section on how to publish changes.</p>
|
173
|
+
<h4 id="publishing-pages">2.3 Publishing pages</h4>
|
174
|
+
<p>The basic rule of publishing is that all changes need to be published before they go live. This allows editors to always see how their page is going to look, before they decide to commit their changes. Any time you alter how a page looks, the <span class="caps">CMS</span> stores a new version of that page and all its content. This happens when you add a new block to a page, make an edit or remove a block from that page. Each time a change is made to content on a page, that page will go into ‘Draft’ status. As an editor, you will see the ‘latest’ version of that page, but the public will continue to see the last ‘published’ version of that page.</p>
|
175
|
+
<p>Each page has a status of either ‘Published’ or ‘Draft’. When you like how your changes look, and want to publish the page, push the ‘Publish’ button in the upper left hand corner of a page. This will makes your changes ‘live’ and visible to the world. When a page is published, each block on that page will also be published.</p>
|
176
|
+
<h4 id="adding-a-new-page">2.4 Adding a new page</h4>
|
177
|
+
<p>To add new pages to a site, click on the Site Map tab from any where within the <span class="caps">CMS</span> admin. The Site Map page shows a tree with all the sections and pages in your site. From here, you can add new pages or sections, choose a page to edit, or reorganize the site using drag and drop to move sections around.</p>
|
178
|
+
<p>To add a new page, click on the ‘My Site’ section at the top of the site map. Then click the ‘Add Page’ button in the toolbar. This will add a new page to the root of the site. There are several fields to fill out the important ones are the name and templates. When you name a page, the <span class="caps">CMS</span> will generate a default relative <span class="caps">URL</span> (a path) for it. You can also choose a template via a drop down, which will show all available templates for the current site.</p>
|
179
|
+
<p>After filling out those two fields, you can click save to create the new page. After saving, you will be taken to that page, which will be blank, not having content blocks selected for it.</p>
|
180
|
+
<h4 id="adding-new-text-content-to-a-page">2.5 Adding new text content to a page</h4>
|
181
|
+
<p>When viewing a page, you can add new content to it. First, make sure the Visual Editor is turned on, so you can see the containers. Find the ‘Add Content’ icon (+) on the container you want to add the new content to. You will then be able to choose what kind of content you want to create. Text is the most frequently used content type, and is essentially just <span class="caps">HTML</span>, including the ability to create links and include images.</p>
|
182
|
+
<p>Choosing Text will take you to the ‘Add New Text’ screen. The first field will prompt you for a ‘name’. This ‘name’ is used to help identify your content later, when you are looking for it in the Content Library. Naming Text blocks after the page they are going on is a common choice. The second field is ‘content’, which allows you to enter formatted text using a rich text (or <span class="caps">WYSIWYG</span>) editor. The editor has buttons for common formating options, like making text bold, copy/pasting of text (including from Microsoft Word) and creating links to other pages.</p>
|
183
|
+
<p>If you like, you can also change your text editor choice from \‘Rich Text\’ to \‘Simple Text’, which will allow you to edit the source <span class="caps">HTML</span> directly. This choice is saved as user preference, so next time you edit content, you will use the same editor you picked.</p>
|
184
|
+
<h4 id="adding-images-and-files-to-pages">2.6 Adding images and files to pages</h4>
|
185
|
+
<p>When creating content for pages, its a common task to add images or link to files (like PDFs) in the body of the text. There are two steps to adding an image or file to a page. First you need to upload the image/file to the content library. The second is to link to or place the image within a Text block. It is possible to directly place an image or file block into a container (via the ‘Add New Content’ option we talked about earlier) but this gives you less control over formating and placement.</p>
|
186
|
+
<h5 id="uploading-files">2.6.1 Uploading files</h5>
|
187
|
+
<p>To add an image or file to the content library, click the ‘Content Library’ tab, and then click the ‘Image’ or ‘File’ menu items on the left hand side. (These content types are under the ‘Core’ module, so you may need to click ‘Core’ to show all the content types) Next click ‘Add New Content’ on the main menu. From here, you can fill in all the details on your image/file, including the file on your local hard drive that you want to upload. One of the choices about creating Image and Files is which section they should be stored in. It’s a good idea to create one or more image/file galleries to keep your files organized.</p>
|
188
|
+
<p>After the file is uploaded, you can then place it on a page using a Text block.</p>
|
189
|
+
<h5 id="placing-an-image">2.6.2 Placing an image</h5>
|
190
|
+
<p>To place an image, first find the text block that you want to edit (or add). Using the ‘Rich Text’ editor, click the ‘Insert/Edit Image’ button. Next click ‘Browse Server’, which will allow you to browse through all the images in your content library. This will popup a window which gives you a sitemap view of your site. You can drill down through the sections, finding which the one where you placed your image. Once you locate the image, click the image name to select it. This will add the path to the image to the ‘Image Properties’, and allow you to preview the image alongside the text. You can alter the image attributes (size and alignment) or just click ‘Ok’ to place the image.</p>
|
191
|
+
<p>At this point, the Rich Text editor should display the image embedded in the text. You can then save the Text block, and see how it looks on your page.</p>
|
192
|
+
<h5 id="placing-a-link-to-a-file">2.6.3 Placing a link to a file</h5>
|
193
|
+
<p>Placing a file is very similar to placing an image. Select the Text block to edit, and click the ‘Insert Link’ button. On the ‘Link’ popup window, click the ‘Browse Server’ button. Using the Site Map browser, choose the file you want to link to, and then select it. This will paste the path to the file into the ‘Link’ window. Click ‘Ok’ to add the link to the Text block.</p>
|
194
|
+
<h4 id="finding-a-page-to-edit">2.7 Finding a page to edit</h4>
|
195
|
+
<p>BrowserCMS features two ways to locate pages to make changes to. The first one is just browsing around the site, using the same navigation that your site users would. The second is the by using the Sitemap.</p>
|
196
|
+
<h5 id="navigating-to-find-pages">2.7.1 Navigating to find pages</h5>
|
197
|
+
<p>When an editor is logged in, they can browse around the site using the same menus and links that a guest would. Each page will appear with a toolbar, which only editors see, which allows you to make changes to pages and their properties.</p>
|
198
|
+
<h5 id="using-the-sitemap-to-find-pages">2.7.2 Using the Sitemap to find pages</h5>
|
199
|
+
<p>The Site Map allows editors to see a more conventional ‘file and folder’ metaphor to browse through the structure of the site. Clicking the ‘Sitemap’ tab will take editors to this view. Once on the sitemap, editors can expand/collapse sections by clicking on the +/- buttons. They can drill down into each section, to locate the page they want to make changes to. Once the page is located, either select the page and click ‘Edit Page’ on the toolbar, or just double click the page name. Both take users to the ‘Edit Page’ view, which allows them to modify the page content.</p>
|
200
|
+
<h4 id="reverting-a-page">2.8 Reverting a page</h4>
|
201
|
+
<p>Mistakes happen. Sometimes you make a change to a page, and you don’t like how it looks, or you just want to go back to last week’s version. To roll back a page to an earlier version, you must first edit that page (either by navigating to or by the sitemap). Select the ‘List Versions’ button from the toolbar. This will show the complete history of the page, along with who made changes, when the change occured, and note about what change happened in that version.</p>
|
202
|
+
<p>To see what an older version looked like, select a version, and click ‘View’ on the toolbar. (Recommended Tip: Open the version in a new tab in your browser, by Ctrl-Click on PC, or Command-Clicking on Mac. This will let you compare several versions side by side.) If you like that version, you can revert to it in two ways.</p>
|
203
|
+
<p>From the ‘List Versions’ page, you can revert by selecting the version, then clicking ‘Revert’. If you are viewing an older version, you can revert by clicking the ‘Revert to This Version’. In both cases, it will restore the page to what it looked like in that version, and will mark the page as ‘Draft’. Once the editor has reviewed the changes, they can publish it.</p>
|
204
|
+
<h5 id="reverting-gotchas">2.8.1 Reverting Gotchas</h5>
|
205
|
+
<p>Reverting can be a bit tricky to understand. The basic challenge comes from the fact that both pages and block have their own versions, and blocks can be shared across pages. Consider the example of two pages, Page A and Page B, which both share a Text Block ‘C’. Every change to ‘C’ will also create a new version of ‘A’ and ‘B’. Reverting page ‘A’ will also likely revert page ‘B’. Since reverting a page puts it into Draft, you now have two pages in draft mode. You need to publish both of them to make their changes live. This might be manageable for two pages, but imagine you had a Text called ‘footer’ which was shared across 20 pages.</p>
|
206
|
+
<p>See `Bulk Publishing’ below for details on how to publish multiple pages at once.</p>
|
207
|
+
<h4 id="reorganize-a-sites-navigation">2.9 Reorganize a site’s navigation</h4>
|
208
|
+
<p>There are two ways that BrowserCMS supports navigation. The first is that navigation is manually added as <span class="caps">HTML</span> to templates. This is suitable for ‘Fixed Space’ navigation, which might need to be exactly 400 pixels wide and contain exactly 4 menu items, potentially using images for buttons. The second is using dynamic navigation, which can easily grow as the site architecture does. This is more suitable for sub-sections of the site. BrowserCMS allows editors to dynamically render menus based off pages in the sitemap.</p>
|
209
|
+
<h5 id="understanding-how-dynamic-navigation-works">2.9.1 Understanding how dynamic navigation works</h5>
|
210
|
+
<p>When developers create templates, they can set up menus so that they dynamically link to pages in the sitemap. Menus will show both pages and sections, and can show go one or more levels deep, which reflects how users are ‘drilling down’ into the site architecture. By default, when an editor adds a page or section to the sitemap, under a specific section, a link to that page will automatically be added to the dynamic navigation. For both pages and sections, you can have the option to ‘Hide from menus’, which you can do by editing the properties of either pages or sections. Hiding a page from a menu means its still accessible to the public (if the user knows the <span class="caps">URL</span>), but just doesn’t appear in the menus.</p>
|
211
|
+
<h5 id="moving-pagessections-in-the-sitemap">2.9.2 Moving pages/sections in the sitemap</h5>
|
212
|
+
<p>When pages and sections are created, they are added last in their parent section. They can be reordered though from the Sitemap, by dragging and dropping. To move a page or section, click-hold and drag the page/section where you want it to be. This allows editors to both reorder pages within a specific menu, or move it to another area of the site entirely.</p>
|
213
|
+
<p>Dropping an item onto a page will place it ‘after’ that page. Dropping an item onto a section will put it in that section, as the last item. Be aware that moving pages will immediately make changes in how the dynamic site menus appear (there is no ‘publish’ step needed).</p>
|
214
|
+
<h4 id="setting-up-restricted-sections">2.10 Setting up restricted sections</h4>
|
215
|
+
<p>It’s a common task to want to restrict specific users from being able to see certain pages. This might include creating a ‘members’ section, where only registered and approved users can see the content. BrowserCMS allows editors/admins to restrict user access based on sections. Individual pages get their security from their immediate parent. For example, if there is a section called ‘Member Only’, which a ‘Guest’ cannot see, all pages in that section will be block, and guests (unregistered users) that try to access those URLs will be sent to the ‘Access Denied’ page.</p>
|
216
|
+
<h5 id="creating-the-groups">2.10.1 Creating the groups</h5>
|
217
|
+
<p>The first step to secure a section is to set up the groups who are allowed to see it. An administrator can create a new group by clicking the ‘Administration’ tab, then selecting the ‘Groups’ item from the left menu. Click the ‘Add Group’ button, give the group a name (‘Members’), and choose ‘Registered Public User’ as the group type. By default, this group will able to view all sections within the site. After saving the group, you can alter which sections a user can see, by clicking the name of the group. In this case, the new ‘Member’ group’s permissions are fine.</p>
|
218
|
+
<h5 id="adding-users">2.10.2 Adding users</h5>
|
219
|
+
<p>The next step is to create a user in the ‘Member’ group. On the ‘Administration’ tab, click the ‘Users’ menu item on the left menu, and click ‘Add User’ on the toolbar. Fill in the basic user information (name, username, email and password) and check the newly added ‘Members’ group (but no others)</p>
|
220
|
+
<h5 id="restricting-the-sections">2.10.3 Restricting the sections</h5>
|
221
|
+
<p>The next step is to add the new section, which will be restricted so that only users who are in the ‘Member’ group can see them. Go to the sitemap, select the ‘My Site’ (which is the root of the site) and click ‘Add Section’. Name the section ‘Members Only’, and then uncheck all public permissions except for ‘Member’. Next add a page to this section and publish it.</p>
|
222
|
+
<p>Now, when users who aren’t logged in (Guests) try to visit any pages in the ‘Members Only’ section, they will be redirected to the Accessed Denied page.</p>
|
223
|
+
<h4 id="setting-up-workflow">2.11 Setting up Workflow</h4>
|
224
|
+
<p>When the number of contributors to a website grows, it may be necessary to restrict who has rights to publish content. This would allow for multiple editors to contribute and edit content, but content would be passed to one or more `publishers’ in order to commit the changes publicly.
|
225
|
+
Workflow in BrowserCMS has several concepts which make it work:</p>
|
226
|
+
<ul>
|
227
|
+
<li>Rights – Who can edit and who can publish?</li>
|
228
|
+
<li>Tasking – Who the work is assigned to?</li>
|
229
|
+
<li>Notification – How do people know they have new content to look at.</li>
|
230
|
+
</ul>
|
231
|
+
<p>This section covers how to create a simple workflow, that covers two kinds of groups of people.</p>
|
232
|
+
<ul>
|
233
|
+
<li>Contributors: These people should be able to edit pages and content, but should not be able to publish them.</li>
|
234
|
+
<li>Publishers: These people should be able to edit pages/content, and can publish them.</li>
|
235
|
+
</ul>
|
236
|
+
<h5 id="basic-contributor-and-editor-workflow">2.11.1 Basic Contributor and Editor workflow</h5>
|
237
|
+
<p>The first step is to create two new groups, both of which should be of type `<span class="caps">CMS</span> User’. One should be called ‘Contributor’, and should only have the `Edit Content’ permission. The second group should be called `Publisher’, and should have `Edit Content’ and `Publish Content’ permissions. Next create two users, and assign one of them to each group.</p>
|
238
|
+
<p>The user in the Contributor group, will be able to make changes to pages and blocks, but will not be able to publish it themselves. When they are done with a page, on the ‘Edit Page’ view, they can use the ‘Assign’ button to pass the page to somebody who has publishing rights. Assigning a page provides a drop down with all users who have ‘Edit Content’ permissions. The contributor can choose the assign to the ‘Publisher’, give it a due date and a comment, and then assign the page. This will notify the ‘Publisher’ via email they have a new task assigned to them, along with the <span class="caps">URL</span> to the page.</p>
|
239
|
+
<p>The ‘Publisher’ can then log in, find the page they want to review, make sure the changes are acceptable, then publish the page. Once they are down with their task, they can click the ‘Complete Task’ button to close the task out. In addition, editors and publishers can always find what open tasks they have by going to the ‘My Dashboard’.</p>
|
240
|
+
<h4 id="using-my-dashboard">2.12 Using My Dashboard</h4>
|
241
|
+
<p>The dashboard is the landing page for editors when they log in. It has two main areas, one shows all pages currently in draft. The other shows open tasks assigned to the current users.</p>
|
242
|
+
<h5 id="bulk-publishing">2.12.1 Bulk publishing</h5>
|
243
|
+
<p>Some operations in the <span class="caps">CMS</span> can put multiple pages into Draft mode as a side effect. This includes making an edit to a block which is shared across multiple pages, as well as reverting a page with shared blocks on it. The ‘Page Drafts’ panel shows all pages in the <span class="caps">CMS</span> which are currently in draft mode. An editor can choose to review each page to make sure it looks right, by clicking on the name of the page. Or they can just select all pages they want to publish via the checkbox, and then click `Publish Selected’.</p>
|
244
|
+
<h5 id="tasks">2.12.2 Tasks</h5>
|
245
|
+
<p>All of the open tasks that are assigned to a user will appear on that user’s dashboard, in the ‘Tasks’ panel. Users can click on the name of the page to review it, and either complete the task, or assign it someone else.</p>
|
246
|
+
<h4 id="adding-dynamic-content-via-portlets">2.13 Adding dynamic content via portlets</h4>
|
247
|
+
<p>For most sites, the majority of the content will be placed directly on pages using Text blocks. Another alternative is to use portlets, which can dynamically select and render content. Portlets are usually part of individual modules, and are used to find and display content from that module. For example, the ‘News’ module comes with several portlets, designed to find News Articles by specific criteria. One portlet may display a single Article (using an id parameter in the <span class="caps">URL</span>), while another may show the headlines to all Articles, chronologically ordered.</p>
|
248
|
+
<p>Portlets are one of the primary extension points of BrowserCMS, which allows programmers to create new dynamic behavior and allow it to be placed on pages alongside static content. Each portlet will have several attributes which allow users to configure the portlet. These attributes might include a name, max # of results to display, and a template to allow users to change how the portlet displays. This section assumes the News Module has been installed, and walks through the placing and configuring of a portlet.</p>
|
249
|
+
<h5 id="placing-and-configuring-portlet-on-a-page">2.13.1 Placing and configuring portlet on a page</h5>
|
250
|
+
<p>Start by creating a new page. Select the ‘Add New Content’ icon in the container you would like to add the portlet to. On the ‘Select Content Screen’, choose the ‘Portlet’ type. Then choose which type of portlet you would like to add (Choose the News Archive portlet). Give the portlet a name, leave the categories empty and use the default template.</p>
|
251
|
+
<p>The News Archive portlet is designed to show a list of New Article blocks. So by default, there probably aren’t any News Articles in the database, so the Archive won’t be displaying anything. Let’s add some News, so we can see how it looks.</p>
|
252
|
+
<h5 id="adding-content-via-the-content-library">2.13.2 Adding content via the Content Library</h5>
|
253
|
+
<p>Choose the content library tab, and open the ‘News’ module, by clicking the ‘News’ link on the left. The ‘News Article’ content type should be selected. Click the ‘Add New Content’ to create a News Article. On the form, fill in a suitable name, summary, set the release date to today and body, and then click save.</p>
|
254
|
+
<p>Now return to the recently added portlet. You can do this by opening the ‘Core’ module, selecting ‘portlets’ and browsing/searching for the portlet you created. This will allow you do see the portlet in isolation from the page. Alternatively, you can return to the page you were on, to see the portlet where it is placed. The portlet should now be displaying a summarized version of the News Article you just created. You can control how the portlet displays the list by editing the template, which requires an understanding of Ruby/<span class="caps">ERB</span> and Html.</p>
|
255
|
+
</td>
|
256
|
+
</tr>
|
257
|
+
</table>
|
258
|
+
</div>
|
259
|
+
</div>
|
260
|
+
<br clear="all"/>
|
261
|
+
<div class="bottom_cap"></div>
|
262
|
+
</div>
|
263
|
+
</div>
|
264
|
+
</body>
|
265
|
+
</html>
|
266
|
+
|