-
Notifications
You must be signed in to change notification settings - Fork 66
Home
Sharagoz edited this page Sep 14, 2010
·
20 revisions
Welcome to the adva_cms wiki!
- Q: How can I translate adva-cms? Where can I find the locale files?
- Q: Is the template system in adva-cms operational ? How does the interface and the directory structure behind it work?
adva_cms/app/views/sections/show.html.erbwith a theme template named:
templates/sections/show.html.erbThe “templates” segment of this path will be prepended automatically based on the extension if it’s not present.
- Q: Once I login in my admin panel I’m editing the “site-1”, but I cannot find any interface to configure multiple sites?
ActionController::Dispatcher.to_prepare do Site.multi_sites_enabled = true end
- Q: How do I enable the FCKeditor on adva-cms?
rake adva:install plugins=adva_fckeditorJust add “Fckeditor.load!” in your initializer after the installation and you are done.
- Q: Adva-forum does not show up in the section creation page, why is that?
# config.to_prepare do # Section.register_type 'Forum' # end
- Note: Make sure you have adva_cells plugin installed (“rake adva:install plugins=adva_cells”)
- Q: What is a content cell and how do I use content cell in my content?
<cell name=“content/recent” count=“3” order=“created_at ASC”/>
count variable is the amount of content you want to show (defaults to 5) and order (defaults to “created_at DESC”) is the sort order of the
contents.
- Q: How do I use contact mailer cell?
<cell name=“contact_mailer/mailer_form” recipients=“[email protected], [email protected]”> <fields> <field title=“Contact mailer” level=“1” type=“header” /> <field name=“subject” label=“Subject” type=“text_field” value=“default subject” /> <field name=“body” label=“Body” type=“text_area” /> <field name=“radio button” label=“Radio button” type=“radio_button” checked=“true” value=‘100’ /> <field name=“check box” label=“Checkbox” type=“check_box” checked=“true” value=‘100’ /> <field name=“rating” label=“Rate us!” type=“select”> <options> <option value=“1” label=“Good” /> <option value=“2” label=“Bad” /> </options> </field> </fields> </cell>