theming

How to override template “folder_full_view_item.pt” only for a Custom Type?

試著忘記壹切 提交于 2019-12-05 19:26:24
This question has evolved in a confusing way. Some of its parts though, and specially some answers, might be useful for someone. Therefore I'll let this question unmodified and I'll try to reformulate the question here . Overriding the template folder_full_view_item.pt with z3c.jbot will override the template for all Content Types. How do I override it only for a single Content Type MyType in a Product with many types? Having the following structure: Folder (layout=folder_full_view) Document (layout=document_view) MyType (layout=mytype_view) The default steps in Plone are: The template folder

C++/WIN32 A professional looking application - is it really possible?

假如想象 提交于 2019-11-30 03:45:38
问题 I've been looking everywhere to find a good solution / tip on how to release an application that has todays 'top-end' look. As we all know, when coding with windows we normally get windows-style colors/buttons/lists etc. They just look and feel ugly. When we decide we want to sell an application, people want it to look good - obviously because they have paid for it. So the question is: How is the good application look achieved today? Owner drawing? ( really?? ) custom-controls ? some good non

Change lookup rule for views

假如想象 提交于 2019-11-29 17:16:34
I have an application that gets rolled out in multiple countries. There will be a setting in the web.config file, that defines the country. The country will not be in the URL. Some of the the views change depending on the country. My first attempt is to use a folder inside the views folder that contains views, if they differ from the default view: Default /questions/ask.aspx Spain /questions/ESP/ask.aspx If there is no view in the country-folder the default view is used. Is there a way to extend the ViewEngine to lookup views in the country folder first? EDIT: This is a poc only. To see a full

Apply Windows Theme to Office Com add-in

北城以北 提交于 2019-11-29 04:38:16
For ages, Delphi has supported the Enable runtime themes switch on the Application Settings tab. However, this only works for executables. DLLs are assumed to take over the theming (and other) setings from their parent application. Unfortunately, Microsoft Office doesn't play nice there. Their 'themed' look is achieved using custom controls, not through Windows' own Common Controls. In the MSDN article 830033 - How to apply Windows XP themes to Office COM add-ins Microsoft explains how to apply a manifest to a DLL, making it Isolation Aware such that settings from the parent process are

Apply Windows Theme to Office Com add-in

杀马特。学长 韩版系。学妹 提交于 2019-11-27 18:30:15
问题 For ages, Delphi has supported the Enable runtime themes switch on the Application Settings tab. However, this only works for executables. DLLs are assumed to take over the theming (and other) setings from their parent application. Unfortunately, Microsoft Office doesn't play nice there. Their 'themed' look is achieved using custom controls, not through Windows' own Common Controls. In the MSDN article 830033 - How to apply Windows XP themes to Office COM add-ins Microsoft explains how to

ActionBarSherlock stacked action bar styling issue

怎甘沉沦 提交于 2019-11-26 08:35:45
问题 I can\'t figure out why the stacked ActionBar I have implemented has a gap between the left most tab and the edge of the screen. This is not the case with the right most tab. I tried to remove the dividers by styling the ActionBar . After playing around with styles for a little bit, it seems like I am able to override attributes of the TabView style but not the TabBar style of ActionBarSherlock . <style name=\"ActionBarTabBarStyle.Dark\" parent=\"@style/Widget.Sherlock.ActionBar.TabBar\">