______________________________________________ corporate-2010 for flog ______________________________________________ Installation: - install wordpress and the flog plugin (see instructions here: http://wordpress.org/extend/plugins/flog/ ) - open the archive for the corporate_2010 theme - copy/paste "website/media/corporate_2010/" into "wordpress/wp-content/plugins/flog/silex-plugin-themes/flash-theme/silex_server/media/" - copy/paste the content of "website/contents/corporate_2010/" into "wordpress/wp-content/plugins/flog/silex-plugin-themes/flash-theme/silex_server/contents/" - copy/paste the content of "website/conf/" into "wordpress/wp-content/plugins/flog/silex-plugin-themes/flash-theme/silex_server/conf/" - customize the file "conf/OofMail.ini" - in wordpress admin, select "settings > Flog Plugin" and choose "corporate_2010" in the "Select Silex Theme" list Use these custom tags in your posts: - download_link in the posts of the download category In WordPress admin, when you edit your pages, you can - choose a different page template, this lets you choose "default" for the home page or another template. In each page of the main menu, you have a list on the left. It displays the posts of a given category. Use these custom tags in your 2d level pages (sub menus) to customize the lists: - sidebar_category: the category of the posts to put in the list, e.g. silex_posts_feed&posts_per_page=3&cat_name=its-hot-its-graphic-design - sidebar_label: the label, which is on top of the side bar ______________________________________________ conversion of a silex theme to use in flog ______________________________________________ !!onRelease list.selectedIndex=-9999 au lieu de onRelease RichTextListMenu.selectedIndex=-9999 to do ----- - footer en dynamique ? - valeurs par defaut dans conf.txt - news letter & contact form - liste "links" au lieu de categorie download ?- css wordpress ?- scaleMode en show all - error 404 page - faire un theme wordpress qui tire parti du plugin flog - dans php : powered by flog & based on silex - dans flash . credit a silexlabs, flog, silex, amfphp . credit a pascal, sha, pol, lex . credit a wordpress - ajouter des screen shots avec le nouveau theme bugs ------ - html vers flash => p= use --- in the theme "conf.txt", add flog_theme_option_advert_diaporama_rss_feed URL of the feed to be displayed in the main diaporama, i.e. the horizontal advertising on top of the site.
Can be WP or flickr feeds for example.
flog_theme_option_advert_diaporama_image_tag_name Name of the tag in the feed wher to find the image, e.g. "content:encoded".
flog_theme_option_download_list_category The download list is on the site home page.
It displays posts of the WP blog, which belong to this category.
flog_theme_option_download_list_cell_format It is formated this way.
flog_theme_option_newsletter_email An email will be sent to this adress when a user wishes to subscribe to the mailing list. The user email address will be the sender.
flog_theme_option_newsletter_label Label beside the "subscribe to newsletter" text field.
flog_theme_option_newsletter_ok_message Message displayed when the user clicks the "subscribe to newsletter" button.
flog_theme_option_sidebar_category_tag_name In each page of the main menu, you have a list on the left. It displays the posts of a given category. The name of the category is in the custom fields of the pages (top level pages only).
This option is the name of the tag, in wich to take the name of the category, for the list in each page.
flog_theme_option_sidebar_label_tag_name Name of the tag in which to find the label, which is on top of the side bar in the pages (top level pages only)
flog_theme_option_contact_email Email to which messages are sent through the email form. _______ Page templates In the folder "contents/[name of the theme]/page_templates/" add 1 file per page template you want to define. Its name should have no extension and it has to be related to an xml file in the content directory and you should use this Silex page to open a template page with a selector (use the <<_wp_page_template>> accessor). And it should contain : For example create "contents/[name of the theme]/page_templates/" as a text file set the "page name" parameter of the page selector to <<_wp_page_template>> it will open the page "default" or "template1" for the pages depending on the page template the user choose in the WP admin for a given page. Note that if you use this in your flog theme, you should allways have a silex template page named default, as default is a the WP default page template. _______ categories auto_promo - put at least 1 image in order to display the post in the header (autopromo) download - download list on home page - put the URL of the file in the "excerpt" field in wordpress news - news list on home page - feeds silex_posts_feed silex_posts_feed&posts_per_page=5 silex_categories_feed silex_tags_feed silex_pages_feed&parent=0 silex_pages_feed&child_of=<<...>> silex_bookmarks_feed silex_paged_feed Accessors _root.home _root.name _root.description _root.display_name start ---- Main data container for flog, on the bottom (under all media in start) name: DataContainer actions: onLoad javascript:silex_data_container_ready('DataContainer'); data names: post,blog,user,author,selection,pages,pagesRollOver RichTextListAutopromo DataSelectorAutopromo source: ?feed=<<_root.flog_theme_option_value_advert_diaporama_rss_feed>> iconField: <<_root.flog_theme_option_value_advert_diaporama_image_tag_name>> actions: onRelease list.selectedIndex=-9999 onRelease DataContainer.post.ID=<> onRelease SpotNews._onRelease OLD open:/start/menu/p=<> icon for "page" page (default) menu - 1st level pages --- RichTextListMenu actions: onRelease RichTextListFooter.selectedIndex=-9999 RSSConnectorMenu urlBase: ?feed= DataSelectorMenu actions: onResult selectedIndex=0 cell content: <></FONT> deeplink format: p=<<ID>> source: silex_pages_feed&parent=0 data container name: DataContainer.post icon: true page name: <<_wp_page_template>> -> comes from the RSS feed ?feed=silex_pages_feed&parent=0 -> the user chooses a template in WordPress admin, when he edits the page NO / OLD page name: template1_((<<is_first_page_in_menu>>)) -> is "1" if this is the first page in the menu or "" -> comes from the RSS feed ?feed=silex_pages_feed&parent=0 RichTextListFooter actions: onRelease RichTextListMenu.selectedIndex=-9999 default --- blog info label: ((<<urldecode _root.name>>))<br>((<<urldecode _root.description>>)) frame html: <<DataContainer.post.guid>>&is_framed RichTextListNews RSSConnectorNews urlBase: ?feed= DataSelectorNews cell content: <FONT SIZE="15" COLOR="#333333"><<post_date>></FONT><br><FONT SIZE="14" COLOR="#0000FF"><u>((<<title>>))</u></FONT> actions: onRelease RichTextListMenu.selectedIndex=-9999 onRelease DataContainer.post.ID=<<DataSelectorNews.selectedItem.ID>> onRelease SpotNews._onRelease NO: onRelease open:start/single/p=<<DataSelectorNews.selectedItem.ID>> NO: onRelease asframe.location=<<DataSelectorNews.selectedItem.guid>>&is_framed OLD : deeplink format: p=<<ID>> source: silex_posts_feed&posts_per_page=5&cat_name=news RichTextList2Download RSSConnectorDownload urlBase: ?feed= DataSelectorDownload cell content: <FONT SIZE="16" COLOR="#FFFFFF"><<title>></FONT><br><FONT SIZE="12" COLOR="#FFFFFF">((<<post_content>>))</FONT> source: ?feed=<<_root.flog_theme_option_value_download_list_category>> action: onRelease openUrl:((<<DataSelectorDownload.selectedItem.download_link>>)) News letter text label: <<_root.flog_theme_option_value_newsletter_label>> News letter button actions: onRelease EmailSender sendMail onRelease alertSimple:<<_root.flog_theme_option_value_newsletter_ok_message>> News letter EmailConnector serviceName: email_web_service News letter EmailSender on error command: alert:ERROR subject: <<_root.flog_theme_option_value_newsletter_subject>> from: <<address.tf.text>> to: key1 SpotNews -> let the news and all posts open here name of the page: news deep link: p=<<DataContainer.post.ID>> html equivalent click zone actions: onRelease openUrl:<<DataContainer.post.guid>>&no_flash,_self permalink click zone actions: onRelease _global.System.setClipboard:<<DataContainer.post.guid>> onRelease alert:The link to this page is now in the clipboard. Use ctrl+V to paste. admin clickable zone action: onRelease openUrl:<<_root.home>>/wp-admin,_self template1_1 --- page info [[RichTextListSidebar.selectedIndex=-9999|RichTextListSubMenu.selectedIndex=-9999|IconDefaultSubPage._onRelease|<<DataContainer.post.title>>]] RichTextListSidebar actions: onRelease RichTextListSubMenu.selectedIndex=-9999 Sidebar DataSelector cell content: <FONT SIZE="16" COLOR="#FFFFFF"><<title>></FONT> source: ?feed=<<DataSelectorMenu.selectedItem.sidebar_category>> data container name: DataContainer.subpage ???? deeplink format: subpage=<<ID>> icon?: yes page name: template2 Sidebar label text label: <<DataSelectorMenu.selectedItem.sidebar_label>> RichTextListSubMenu actions: onRelease RichTextListSidebar.selectedIndex=-9999 RSSConnectorSubMenu urlBase: DataSelectorSubMenu cell content: <FONT SIZE="18" COLOR="#FF5000"><<title>></FONT> deeplink format: subpage=<<ID>> source: ?feed=silex_pages_feed&parent=<<DataSelectorMenu.selectedItem.ID>> data container name: DataContainer.subpage icon: true page name: template2 IconDefaultSubPage default icon: true page name: template1_1home deep link: <<DataContainer.post.title>> template1_1home --- frame html: <<DataContainer.post.guid>>&is_framed html equivalent click zone actions: onRelease openUrl:<<DataContainer.post.guid>>&no_flash,_self permalink click zone actions: onRelease _global.System.setClipboard:<<DataContainer.post.guid>> onRelease alertSimple:The link to this page is now in the clipboard. Use ctrl+V to paste. template2 --- frame html: p=<<DataContainer.selection.subpage>>&is_framed html equivalent click zone actions: onRelease openUrl:<<DataContainer.subpage.guid>>&no_flash,_self permalink click zone actions: onRelease _global.System.setClipboard:<<DataContainer.subpage.guid>> onRelease alertSimple:The link to this page is now in the clipboard. Use ctrl+V to paste. news --- frame html: ?p=<<DataContainer.post.ID>>&is_framed actions: onLoad RichTextListMenu.selectedIndex=-9999