mathjax - Choose a profile when installing a quickinstaller product (Plone 4) -


i had performance problems when loading mathjax dynamically in plone 4 application. thus, found plone integration @ https://github.com/collective/collective.mathjax and, noticed same, forked it, works well; included current mathjax 2.3 , changed profile use "local" copy.

now wonder whether possible choose between "online"/"remote" behaviour (load rackcdn.com) , "default" behaviour (use included copy) choosing profile when installing product in plone quickinstaller tool.

i changed configure.zcml this:

<configure     xmlns="http://namespaces.zope.org/zope"     xmlns:browser="http://namespaces.zope.org/browser"     xmlns:genericsetup="http://namespaces.zope.org/genericsetup"     i18n_domain="collective.mathjax">    <browser:resourcedirectory       name="mathjax"       directory="resources/mathjax" />    <genericsetup:registerprofile       name="default"       title="collective.mathjax: default"       directory="profiles/default"       description="collective.mathjax default profile: includes mathjax 2.3."       provides="products.genericsetup.interfaces.extension" />    <genericsetup:registerprofile       name="online"       title="collective.mathjax: online"       directory="profiles/online"       description="collective.mathjax online profile: load mathjax dynamically rackcdn.com."       provides="products.genericsetup.interfaces.extension" />  </configure> 

unfortunately can't see "online" profile in quickinstaller, not after deinstalling product , changing version number.

update: in console output, found following text:

info cmfquickinstallertool multiple extension profiles found product collective.mathjax. used profile: collective.mathjax:default

is there fundamental misunderstanding, or can let people choose?

plone quickinstaller (both zmi , plone ui) display one profile "installation" profile. chosen ones first found (alphabetically speaking).

to manually run profile, go portal_setup tool in zmi, go the "import" tab , select wanted profile (the provided order here mess... find long combo box). @ end of page select "import steps"


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -