ZEXP,((U App.ProductqUProductqtqNt.}q(U_objectsq(}q(U meta_typeqU Product HelpqUidq UHelpq u}q (hUZ Classq h UYetiBlogq u}q(hU DTML Methodqh UYetiBlog_addFormqu}q(hhh U YetiBlog_addqu}q(hUZope Permissionqh UYetiBlog_add_permissionqu}q(hU Zope Factoryqh UYetiBlog_factoryqu}q(hh h U YetiBlogEntryqu}q(hhh UYetiBlogEntry_addFormqu}q(hhh UYetiBlogEntry_addqu}q(hhh UYetiBlogEntry_add_permissionq u}q!(hhh UYetiBlogEntry_factoryq"u}q#(U meta_typeq$UZ Classq%Uidq&U YetiBlogSiteq'u}q((h$U DTML Methodq)h&UYetiBlogSite_addFormq*u}q+(h$h)h&UYetiBlogSite_addq,u}q-(h$UZope Permissionq.h&UYetiBlogSite_add_permissionq/u}q0(h$U Zope Factoryq1h&UYetiBlogSite_factoryq2uth UYetiBlog Productq3h(U,q4(UOFS.DTMLMethodq5U DTMLMethodq6ttq7Qh"(U,q8(U App.Factoryq9UFactoryq:ttq;Qh(U,q<(h5U DTMLMethodq=ttq>QU__ac_local_roles__q?}q@UyetiartsqA]qBUOwnerqCash(U,qD(h9UFactoryqEttqFQh/(U,qG(UApp.PermissionqHU PermissionqIttqJQh,(U,qK(h5U DTMLMethodqLttqMQh(U,qN(hHU PermissionqOttqPQh'(U,qQ(UZClasses.ZClassqRUZClassqSttqTQh(U,qU(h5U DTMLMethodqVttqWQh*(U,qX(h5U DTMLMethodqYttqZQh(U,q[(h5U DTMLMethodq\ttq]Qh (U,q^(hHU Permissionq_ttq`QUtitleqaUh2(U,qb(h9UFactoryqcttqdQh (U,qe(UHelpSys.HelpSysqfU ProductHelpqgttqhQh(U,qi(hRUZClassqjttqkQh (U,ql(hRUZClassqmtqntqoQu.,((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UYetiBlogEntry_addq Utitleq UYetiBlogEntry constructorq Uglobalsq}qUrawqT Add YetiBlogEntry We add the new object by calling the class in a with tag. Not only does this get the thing added, it adds the new thing's attributes to the DTML name space, so we can call methods to initialize the object. You can add code that modifies the new instance here. For example, if you have a property sheet that you want to update from form values, you can call it here: Now we need to return something. We do this via a redirect so that the URL is correct. Unfortunately, the way we do this depends on whether we live in a product or in a class. If we live in a product, we need to use DestinationURL to decide where to go. If we live in a class, DestinationURL won't be available, so we use URL2. qU_varsq}qu.,((U App.FactoryqUFactoryqtqNt.}q(UidqUYetiBlogEntry_factoryqU__ac_local_roles__q}qUyetiartsq ]q UOwnerq asUinitialq UYetiBlogEntry_addFormq U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU_Use_Factories_PermissionqU_Add_YetiBlogEntrys_PermissionqsbU permissionqUAdd YetiBlogEntrysqUtitleqUYetiBlogEntry factoryqU object_typeqU YetiBlogEntryqu.,4((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UYetiBlogEntry_addFormq Utitleq U$YetiBlogEntry constructor input formq Uglobalsq}qUrawqTU Add YetiBlogEntry

Add YetiBlogEntry

Id
qU_varsq}qu.,i((U App.FactoryqUFactoryqtqNt.}q(UidqUYetiBlog_factoryqU__ac_local_roles__q}qUyetiartsq ]q UOwnerq asUinitialq UYetiBlog_addFormq U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU_Use_Factories_PermissionqU_Add_YetiBlogs_PermissionqsbU permissionqU Add YetiBlogsqUtitleqUYetiBlog factoryqU object_typeqUYetiBlogqu.,((UApp.PermissionqU PermissionqtqNt.}q(UtitleqU#YetiBlogSite constructor permissionqUidqUYetiBlogSite_add_permissionqUnameq UAdd YetiBlogSitesq U__ac_local_roles__q }q Uyetiartsq ]qUOwnerqasu.,%((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UYetiBlogSite_addq Utitleq UYetiBlogSite constructorq Uglobalsq}qUrawqTW Add YetiBlogSite We add the new object by calling the class in a with tag. Not only does this get the thing added, it adds the new thing's attributes to the DTML name space, so we can call methods to initialize the object. You can add code that modifies the new instance here. For example, if you have a property sheet that you want to update from form values, you can call it here: Now we need to return something. We do this via a redirect so that the URL is correct. Unfortunately, the way we do this depends on whether we live in a product or in a class. If we live in a product, we need to use DestinationURL to decide where to go. If we live in a class, DestinationURL won't be available, so we use URL2. qU_varsq}qu.,((UApp.PermissionqU PermissionqtqNt.}q(UtitleqUYetiBlog constructor permissionqUidqUYetiBlog_add_permissionqUnameq U Add YetiBlogsq U__ac_local_roles__q }q Uyetiartsq ]qUOwnerqasu.,((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU"_Create_class_instances_Permissionq U_Add_YetiBlogSites_Permissionq sbU_zclass_propertysheets_classq U,q QUidq U YetiBlogSiteqU_zbasesq]q(cZClasses.ZClass ZObject qcZClasses.ObjectManager ZObjectManager qeU__ac_local_roles__q}qUyetiartsq]qUOwnerqasU_zclass_qU,qQUtitleqUUpropertysheetsqU,qQu.,((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UYetiBlog_addFormq Utitleq UYetiBlog constructor input formq Uglobalsq}qUrawqTF Add YetiBlog

Add YetiBlog

Id
qU_varsq}qu.,((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UYetiBlogSite_addFormq Utitleq U#YetiBlogSite constructor input formq Uglobalsq}qUrawqT Add YetiBlogSite

Add YetiBlogSite

Id
Author
Title
qU_varsq}qu.,((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q U YetiBlog_addq Utitleq UYetiBlog constructorq Uglobalsq}qUrawqT Add YetiBlog We add the new object by calling the class in a with tag. Not only does this get the thing added, it adds the new thing's attributes to the DTML name space, so we can call methods to initialize the object. You can add code that modifies the new instance here. For example, if you have a property sheet that you want to update from form values, you can call it here: Now we need to return something. We do this via a redirect so that the URL is correct. Unfortunately, the way we do this depends on whether we live in a product or in a class. If we live in a product, we need to use DestinationURL to decide where to go. If we live in a class, DestinationURL won't be available, so we use URL2. qU_varsq}qu.,((UApp.PermissionqU PermissionqtqNt.}q(UtitleqU$YetiBlogEntry constructor permissionqUidqUYetiBlogEntry_add_permissionqUnameq UAdd YetiBlogEntrysq U__ac_local_roles__q }q Uyetiartsq ]qUOwnerqasu.,((U App.FactoryqUFactoryqtqNt.}q(UidqUYetiBlogSite_factoryqU__ac_local_roles__q}qUyetiartsq ]q UOwnerq asUinitialq UYetiBlogSite_addFormq U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU_Use_Factories_PermissionqU_Add_YetiBlogSites_PermissionqsbU permissionqUAdd YetiBlogSitesqUtitleqUYetiBlogSite factoryqU object_typeqU YetiBlogSitequ.,((UHelpSys.HelpSysqU ProductHelpqtqNt.}q(UtitleqUYetiBlog ProductqUidqUHelpqUcatalogq (U,q (UProducts.ZCatalog.ZCatalogq UZCatalogq tq tqQu.,((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU"_Create_class_instances_Permissionq U_Add_YetiBlogEntrys_Permissionq sbU_zclass_propertysheets_classq U,q QUidq U YetiBlogEntryqU_zbasesq]q(cZClasses.ZClass ZObject qcProducts.ZCatalog CatalogPathAwareBase qcZClasses.ObjectManager ZObjectManager qeU__ac_local_roles__q}qUyetiartsq]qUOwnerqasU_zclass_qU,qQUtitleqUUpropertysheetsqU,qQu.,((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU"_Create_class_instances_Permissionq U_Add_YetiBlogs_Permissionq sbU_zclass_propertysheets_classq U,q QUidq UYetiBlogqU_zbasesq]q(cZClasses.ZClass ZObject qcZClasses.ObjectManager ZObjectManager qeU__ac_local_roles__q}qUyetiartsq]qUOwnerqasU_zclass_qU,qQUtitleqUUpropertysheetsqU,qQu.,(cExtensionClass ExtensionClass q(U YetiBlogSite_PropertySheetsClassq(cZClasses.ZClass PersistentClass qcZClasses.Property ZInstanceSheets qtq}q(UiconqUU _p_changedqKU__doc__q UYetiBlogSite Property Sheetsq U__propset_attrs__q (UInstanceVariablesq tq U_p_oidqU_qUInstanceVariablesq(U,q(UZClasses.PropertyqUZInstanceSheetqtqtqQU __module__qNU _p_serialqUF nqutqt.N.,(cExtensionClass ExtensionClass q(U YetiBlogSiteq(cZClasses.ZClass PersistentClass qcZClasses.ObjectManager ObjectManager qcOFS.SimpleItem SimpleItem qtq}q(Ustandard_html_headerq(U,q (UZClasses.Methodq UMWpq ttQU addEntry_formq (U,q (h UMWpqttQUloginq(U,q(h UMWpqttQU mainColorqUU_p_oidqU,qUlocalnavq(U,q(h UMWpqttQU meta_typeqU YetiBlogSiteqU linkColorqUU specialImagesq(U,q(h UMWpqttQUhideBreadcrumbsqKU querystringq(U-q (h UMWpq!ttQUselectedTextColorq"UU headerFontq#UU selectedColorq$UUeditq%(U-q&(h UMWpq'ttQUlinkFontq(UU sortByOptionsq)]q*(UDefaultq+Uidq,U display_orderq-Udateq.Utitleq/eU hideTitleq0KUhidePrinterFriendlyq1KUstandard_html_footerq2(U-q3(h UMWpq4ttQUmainFontq5UU viewImagesq6(U-q7(h UMWpq8ttQU_v_manage_path_rolesq9UYetiBlog Product/YetiBlogSiteq:UsortByq;UDefaultqUU2ndAccentColorq?UUincludesq@(U qA(h UMWpqBttQUviewTextqC(U-qD(h UMWpqEttQUupdateqF(U-qG(h UMWpqHttQU2ndColorqIUUtestformqJ(U-qK(h UMWpqLttQU descriptionqMUUaddEntryqN(U-qO(h UMWpqPttQUmainqQ(U qR(h UMWpqSttQU _p_changedqTKU__doc__qUU YetiBlogSiteqVUiconqWUAControl_Panel/Products/YetiBlog%20Product/YetiBlogSite/ziconImageqXUprintqY(U qZ(h UMWpq[ttQUaddBlogq\(U-q](h UMWpq^ttQUlocalnav_contentsq_(U- q`(h UMWpqattQU menuAlignqbUU reorder_formqc(U- qd(h UMWpqettQUpropertysheetsqfU- qgQU textColorqhUUspecialImages_formqi(U- qj(h UMWpqkttQU index_dtmlql(U qm(h UMWpqnttQU index_htmlqo(U qp(h UMWpqqttQU breadcrumbsqr(U-qs(h UMWpqtttQU__ac_permissions__qu((UAdd YetiBlogSitesqv)(UManagerqwtttqxUisPrincipiaFolderishqyUYUreorderqz(U-q{(h UMWpq|ttQU titleAlignq}UU getParentsq~(U-q(h UMWpqttQU listContentsqKU stylesheetq(U-q(h UMWpqttQU _p_serialqUWm+޽qUmenuLinkFontVariantqUU menuColorqUUgetSiteq(U q(h UMWpqttQU imageAlignqUU meta_typesq(}q(U permissionqU Add YetiBlogsqUnameqUYetiBlogqUproductqUYetiBlog ProductqUactionqU3manage_addProduct/YetiBlog Product/YetiBlog_factoryqu}q(U visibilityqUGlobalqU interfacesq]qcwebdav.WriteLockInterface WriteLockInterface qaUcontainer_filterqNUactionqU manage_addProduct/OFSP/methodAddqU permissionqU Add Documents, Images, and FilesqUnameqU DTML MethodqUproductqUOFSPqUinstanceqcOFS.DTMLMethod DTMLMethod qu}q(hhh]qhahNhUmanage_addProduct/OFSP/imageAddqhhhUImageqhhhcOFS.Image Image qu}q(hhh]q(hcZPublisher.HTTPRangeSupport HTTPRangeInterface qehNhUmanage_addProduct/OFSP/fileAddqhhhUFileqhhhcOFS.Image File qu}q(hhh]qhahNhU manage_addProduct/OFSP/folderAddqhU Add FoldersqhUFolderqhhhcOFS.Folder Folder qu}q(hhh]qcwebdav.EtagSupport EtagBaseInterface qahNhU+manage_addProduct/OFSP/manage_addUserFolderqhUAdd User FoldersqhU User FolderqhhhcAccessControl.User UserFolder qu}q(hhh]qhahNhU3manage_addProduct/SiteAccess/manage_addSiteRootFormqhUAdd Site RootsqhUSiteRootqhU SiteAccessqhcProducts.SiteAccess.SiteRoot SiteRoot qutqU style_cssq(U q(h UMWpqttQUauthorqUUlastidqKUunderlineLinksqKU menuLinkFontqUUviewq(U-q(h UMWpqttQUaddImageq(U-q(h UMWpqttQU logoAlignqUUmanage_optionsq(}q(UlabelqUContentsqUactionqU manage_mainqu}q(hUViewqhU index_htmlqu}q(hU PropertiesqhU'propertysheets/InstanceVariables/managequ}q(UlabelqUUndoqUactionqUmanage_UndoFormqu}q(UlabelqU PermissionsqUactionqU manage_accessqutqU ziconImageq(U-q(U OFS.ImageqUImageqttQU subMenuColorqUUmainAccentColorqUU addBlog_formq(U-q(h UMWpqttQUtitleqUU headerColorqUU __module__qU*iEQfymAbqTVkZxDqq8OJyw==qutqt.N.,(U-qQNt.}q(Ucommonq(U-q(UZClasses.PropertyqUZInstanceSheetsSheetqttqQUmethodsq(U-q (UZClasses.Methodq UZClassMethodsSheetq tq tq Qu.,P((UProducts.ZCatalog.ZCatalogqUZCatalogqtqNt.}q(UidqUcatalogqU_objectsq(}q(U meta_typeq U Vocabularyq hh utq U_catalogq (U-q (UProducts.ZCatalog.CatalogqUCatalogqttqQUvocab_idqh U vocabularyq(U-q(U+Products.PluginIndexes.TextIndex.VocabularyqU VocabularyqttqQUtitleqUU thresholdqM'h hQu.,(cExtensionClass ExtensionClass q(U!YetiBlogEntry_PropertySheetsClassq(cZClasses.ZClass PersistentClass qcZClasses.Property ZInstanceSheets qtq}q(UiconqUU _p_changedqKU__doc__q UYetiBlogEntry Property Sheetsq U__propset_attrs__q (UInstanceVariablesq tq U_p_oidqU qh (U-q(UZClasses.PropertyqUZInstanceSheetqtqtqQU __module__qNU _p_serialqUFڣ qutqt.N.,(cExtensionClass ExtensionClass q(U YetiBlogEntryq(cZClasses.ZClass PersistentClass qcProducts.ZCatalog.CatalogPathAwareness CatalogPathAware qcZClasses.ObjectManager ObjectManager qcOFS.SimpleItem SimpleItem qtq}q(U _p_changedq KUisPrincipiaFolderishq UYUprevq (U-q (UZClasses.Methodq UMWpqttQUprevnextq(U-q(h UMWpqttQU_v_manage_path_rolesqUYetiBlog Product/YetiBlogEntryqU_p_oidqU,qU meta_typeqU YetiBlogEntryqUpropertysheetsqU-qQUnextq(U- q(h UMWpqttQU hideTitleqKU display_orderqKUtitleqUU__ac_permissions__q ((UAdd YetiBlogEntrysq!)(UManagerq"tttq#U__doc__q$U YetiBlogEntryq%Uiconq&UBControl_Panel/Products/YetiBlog%20Product/YetiBlogEntry/ziconImageq'U _p_serialq(UL)vq)Udateq*UU meta_typesq+(}q,(U visibilityq-UGlobalq.U interfacesq/]q0cwebdav.WriteLockInterface WriteLockInterface q1aUcontainer_filterq2NUactionq3Umanage_addProduct/OFSP/imageAddq4U permissionq5U Add Documents, Images, and Filesq6Unameq7UImageq8Uproductq9UOFSPq:Uinstanceq;cOFS.Image Image q(h1cZPublisher.HTTPRangeSupport HTTPRangeInterface q?eh2Nh3Umanage_addProduct/OFSP/fileAddq@h5h6h7UFileqAh9h:h;cOFS.Image File qBu}qC(h-h.h/]qDh1ah2Nh3U manage_addProduct/OFSP/folderAddqEh5U Add FoldersqFh7UFolderqGh9h:h;cOFS.Folder Folder qHutqIUmanage_optionsqJ(}qK(UlabelqLU PropertiesqMUactionqNU'propertysheets/InstanceVariables/manageqOu}qP(hLUContentsqQUhelpqR(UOFSPqSUObjectManager_Contents.stxqTthNU manage_mainqUu}qV(hLUViewqWhNU index_htmlqXutqYU ziconImageqZ(U-!q[(U OFS.Imageq\UImageq]ttQUtextq^UU __module__q_U*cxojNlhFh12eJ83NS5NMSg==q`utqat.N.,(U-"qQNt.}q(Ucommonq(U-#q(UZClasses.PropertyqUZInstanceSheetsSheetqttqQUmethodsq(U-$q (UZClasses.Methodq UZClassMethodsSheetq tq tq Qu.,(cExtensionClass ExtensionClass q(UYetiBlog_PropertySheetsClassq(cZClasses.ZClass PersistentClass qcZClasses.Property ZInstanceSheets qtq}q(UiconqUU _p_changedqKU__doc__q UYetiBlog Property Sheetsq U__propset_attrs__q (UInstanceVariablesq tq U_p_oidqUqUInstanceVariablesq(U-%q(UZClasses.PropertyqUZInstanceSheetqtqtqQU __module__qNU _p_serialqUFUnameq?UYetiBlogq@UproductqAUYetiBlog ProductqBUactionqCU3manage_addProduct/YetiBlog Product/YetiBlog_factoryqDu}qE(h=UAdd YetiBlogEntrysqFh?U YetiBlogEntryqGhAhBhCU8manage_addProduct/YetiBlog Product/YetiBlogEntry_factoryqHu}qI(U visibilityqJUGlobalqKU interfacesqL]qMcwebdav.WriteLockInterface WriteLockInterface qNaUcontainer_filterqONUactionqPUmanage_addProduct/OFSP/imageAddqQU permissionqRU Add Documents, Images, and FilesqSUnameqTUImageqUUproductqVUOFSPqWUinstanceqXcOFS.Image Image qYu}qZ(hJhKhL]q[(hNcZPublisher.HTTPRangeSupport HTTPRangeInterface q\ehONhPUmanage_addProduct/OFSP/fileAddq]hRhShTUFileq^hVhWhXcOFS.Image File q_u}q`(hJhKhL]qacwebdav.EtagSupport EtagBaseInterface qbahONhPU+manage_addProduct/OFSP/manage_addUserFolderqchRUAdd User FoldersqdhTU User FolderqehVhWhXcAccessControl.User UserFolder qfutqgUsortByqhUDefaultqiU_p_oidqjU,qkUlistAllql(U-*qm(h UMWpqnttQUmanage_optionsqo(}qp(UlabelqqUContentsqrUactionqsU manage_mainqtu}qu(UlabelqvU PropertiesqwUactionqxU'propertysheets/InstanceVariables/manageqyu}qz(Ulabelq{U Permissionsq|Uactionq}U manage_accessq~u}q(UlabelqUViewqUactionqU index_htmlqutqU index_dtmlq(U q(h UMWpqttQU descriptionqUU __module__qU*NrhSWRFZr13uZLPGJkHVRA==qutqt.N.,(U-,qQNt.}q(Ucommonq(U--q(UZClasses.PropertyqUZInstanceSheetsSheetqttqQUmethodsq(U-.q (UZClasses.Methodq UZClassMethodsSheetq tq tq Qu.,((UZClasses.PropertyqUZInstanceSheetqtqNt.}q(U_mdq}qUidqUInstanceVariablesqU_baseq (U-/q (hU ZCommonSheetq tq tq Qu.,X((UZClasses.MethodqUMWpqtqNt.(U-0q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.,X((UZClasses.MethodqUMWpqtqNt.(U-1q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.,X((UZClasses.MethodqUMWpqtqNt.(U-2q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.,X((UZClasses.MethodqUMWpqtqNt.(U-3q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.,o((UZClasses.MethodqUMWpqtqNt.(U-4q(U#Products.PythonScripts.PythonScriptqU PythonScriptqtqtqQ.-X((UZClasses.MethodqUMWpqtqNt.(U-6q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.-X((UZClasses.MethodqUMWpqtqNt.(U-7q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.-X((UZClasses.MethodqUMWpqtqNt.(U-8q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.-X((UZClasses.MethodqUMWpqtqNt.(U-9q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ. s((UZClasses.MethodqUMWpqtqNt.(U q(U'Products.PageTemplates.ZopePageTemplateqUZopePageTemplateqttQ.-X((UZClasses.MethodqUMWpqtqNt.(U-Hq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.-X((UZClasses.MethodqUMWpqtqNt.(U-;q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.-X((UZClasses.MethodqUMWpqtqNt.(U-:q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.-X((UZClasses.MethodqUMWpqtqNt.(U-5q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ. s((UZClasses.MethodqUMWpqtqNt.(U q(U'Products.PageTemplates.ZopePageTemplateqUZopePageTemplateqttQ. T((UZClasses.MethodqUMWpqtqNt.(U q(UOFS.DTMLMethodqU DTMLMethodqttQ.-X((UZClasses.MethodqUMWpqtqNt.(U-=q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.- X((UZClasses.MethodqUMWpqtqNt.(U->q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.- X((UZClasses.MethodqUMWpqtqNt.(U-?q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.- (U,qQNt.}q.- X((UZClasses.MethodqUMWpqtqNt.(U-@q(UOFS.DTMLMethodqU DTMLMethodqtqtqQ. T((UZClasses.MethodqUMWpqtqNt.(U-Aq(UOFS.DTMLMethodqU DTMLMethodqttQ. s((UZClasses.MethodqUMWpqtqNt.(U q(U'Products.PageTemplates.ZopePageTemplateqUZopePageTemplateqttQ.-X((UZClasses.MethodqUMWpqtqNt.(U-Bq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.-o((UZClasses.MethodqUMWpqtqNt.(U-Cq(U#Products.PythonScripts.PythonScriptqU PythonScriptqtqtqQ.-o((UZClasses.MethodqUMWpqtqNt.(U-Dq(U#Products.PythonScripts.PythonScriptqU PythonScriptqtqtqQ.-X((UZClasses.MethodqUMWpqtqNt.(U-Eq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ. k((UZClasses.MethodqUMWpqtqNt.(U q(U#Products.PythonScripts.PythonScriptqU PythonScriptqttQ. s((UZClasses.MethodqUMWpqtqNt.(U q(U'Products.PageTemplates.ZopePageTemplateqUZopePageTemplateqttQ.-X((UZClasses.MethodqUMWpqtqNt.(U-Fq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.-X((UZClasses.MethodqUMWpqtqNt.(U-Gq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.-+((U OFS.ImageqUImageqtqNt.}q(UsizeqMUdataqTGIF89a''g̴؍++`` ii⽽//nJJᄄޤssrTT%%==00~~[[wwee66s{{::mm""v紴DD߯77CC..>>Ȯuuqqʖzz@@vTTQQ󦦷JJyyͩಲVXX䦦{{SS~櫫rr}}{{mmČÑ33!,~~D,,:~L$*CKG) j~%WK(=`.s~#J RN#GC*|d7LS~t9Yu~GH~MJ!:EM 0n~ S3j7U( ~ h2 %Qa@qH!RZHC }%?8⌐@Ϗ }4B ĈJ,HaH),xȂ 7FD c". 62 BH!X A)b 7n bɩ<%z yߔPPdD g,QƛF@0HABJCCc,C*,4I98@@HxsP/ZTh@lHL96t@70x C+zxI kq%;IAF@0A CDUidq?Uview q@u}qA(h=h>h?U viewImages qBu}qC(h=h>h?U viewText qDu}qE(U meta_typeqFU DTML MethodqGUidqHUspecialImages_form qIu}qJ(U meta_typeqKUScript (Python)qLUidqMUspecialImages qNu}qO(U meta_typeqPU DTML MethodqQUidqRU reorder_form qSu}qT(hPUScript (Python)qUhRUreorder qVu}qW(U meta_typeqXU DTML MethodqYUidqZU breadcrumbs q[u}q\(U meta_typeq]U Page Templateq^Uidq_Umain q`u}qa(h]h^h_U includes qbu}qc(h]h^h_U style_css qdu}qe(h]U DTML Methodqfh_U index_dtml qgu}qh(h]h^h_U index_html qiu}qj(h]UScript (Python)qkh_UgetSite qlu}qm(U meta_typeqnU DTML MethodqoUidqpUprint qqutu.-|((UProducts.ZCatalog.CatalogqUCatalogqtqNt.}q(Uschemaq}q(U permissionsqKU categoriesqKU title_or_idq KUurlq KUidq KuU__len__q (U-Kq (U BTrees.LengthqULengthqttqQUdataq(U-Lq(UBTrees.IOBTreeqUIOBTreeqttqQUindexesq}q(USearchableTextq(U-Mq(U*Products.PluginIndexes.TextIndex.TextIndexqU TextIndexqttqQh(U-Nq(U0Products.PluginIndexes.KeywordIndex.KeywordIndexqU KeywordIndexqttq Qh(U-Oq!(hU KeywordIndexq"ttq#QuUnamesq$(hhh h h tq%Uuidsq&(U-Pq'(UBTrees.OIBTreeq(UOIBTreeq)ttq*QUlexiconq+U Vocabularyq,Upathsq-(U-Qq.(hUIOBTreeq/tq0tq1Qu.-1((U+Products.PluginIndexes.TextIndex.VocabularyqU VocabularyqtqNt.}q(U useSplitterqU ZopeSplitterqUidqU VocabularyqU__ac_local_roles__q }q Uyetiartsq ]q UOwnerq asUglobbingqKUtitleqhUlexiconq(U-Jq(U0Products.PluginIndexes.TextIndex.GlobbingLexiconqUGlobbingLexiconqtqtqQu.-((UZClasses.PropertyqUZInstanceSheetqtqNt.}q(U_mdq}qUidqUInstanceVariablesqU_baseq (U-Rq (hU ZCommonSheetq tq tq Qu.-o((UZClasses.MethodqUMWpqtqNt.(U-Sq(U#Products.PythonScripts.PythonScriptqU PythonScriptqtqtqQ.-X((UZClasses.MethodqUMWpqtqNt.(U-Tq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ.-(U,qQNt.}q.- o((UZClasses.MethodqUMWpqtqNt.(U-Uq(U#Products.PythonScripts.PythonScriptqU PythonScriptqtqtqQ.-!((U OFS.ImageqUImageqtqNt.}q(UsizeqMMUdataqTMGIF89apDiLoYz@0YYzߪo2[/Y쩸uK^}Djpvm1Zr9a)Tܜ׿sEjLoŌ=cJ㞲س镩PqRs卡\}醞$OL0Z0Zo@d?lԺ.W!p,ppU4.36)hHDdjipE-"Jog+k_NCKof=7 B@\oo*ea$A29bo #,LOoR%& X< mIl MToc S>8!5[GVWP4б(;".@#K/ @?Nh;qU__name__qU ziconImageq Utitleq UU content_typeq U image/gifq U preconditionq UUwidthqKUheightqKu.-"(cExtensionClass ExtensionClass q(U"YetiBlogEntry_ZPropertySheetsClassq(cZClasses.ZClass PersistentClass qcOFS.PropertySheets PropertySheets qcZClasses.ObjectManager ZObjectManagerPropertySheets qcZClasses.ZClass ZClassSheets qcApp.PersistentExtra Persistent qtq}q (Uiconq UU _p_changedq KU__doc__q U"YetiBlogEntry_ZPropertySheetsClassq U_p_oidqU#qU meta_typeqh U __module__qNutqt.N.-#((UZClasses.PropertyqUZInstanceSheetsSheetqtqNt.}q(U_objectsq(}q(U meta_typeqUCommon Instance Property SheetqUidq UInstanceVariablesq uth (U-Rq (UZClasses.Propertyq U ZCommonSheetq ttqQu.-$((UZClasses.MethodqUZClassMethodsSheetqtqNt.}q(U_mdq}qUidqUmethodsqU_objectsq (}q (U meta_typeq UScript (Python)q Uidq Uprev qu}q(h h h Unext qu}q(h U DTML Methodqh U prevnext qutu.-%((UZClasses.PropertyqUZInstanceSheetqtqNt.}q(U_mdq}qUidqUInstanceVariablesqU_baseq (U-Vq (hU ZCommonSheetq tq tq Qu..oT((UZClasses.MethodqUMWpqtqNt.(U.pq(UOFS.DTMLMethodqU DTMLMethodqttQ.-&X((UZClasses.MethodqUMWpqtqNt.(U-Wq(UOFS.DTMLMethodqU DTMLMethodqtqtqQ..mT((UZClasses.MethodqUMWpqtqNt.(U.nq(UOFS.DTMLMethodqU DTMLMethodqttQ.-++((U OFS.ImageqUImageqtqNt.}q(UsizeqMUdataqTGIF89a''g̴؍++`` ii⽽//nJJᄄޤssrTT%%==00~~[[wwee66s{{::mm""v紴DD߯77CC..>>Ȯuuqqʖzz@@vTTQQ󦦷JJyyͩಲVXX䦦{{SS~櫫rr}}{{mmČÑ33!,~~D,,:~L$*CKG) j~%WK(=`.s~#J RN#GC*|d7LS~t9Yu~GH~MJ!:EM 0n~ S3j7U( ~ h2 %Qa@qH!RZHC }%?8⌐@Ϗ }4B ĈJ,HaH),xȂ 7FD c". 62 BH!X A)b 7n bɩ<%z yߔPPdD g,QƛF@0HABJCCc,C*,4I98@@HxsP/ZTh@lHL96t@70x C+zxI kq%;IAF@0A CDu}q?(hUlinkHoverColorq@hUstringqAh!}qBu}qC(UidqDU textColorqEUtypeqFUstringqGUmetaqH}qIu}qJ(hDU headerColorqKhFUstringqLhH}qMu}qN(UidqOUunderlineLinksqPUtypeqQUbooleanqRUmetaqS}qTu}qU(UidqVUlastidqWUtypeqXUintqYUmetaqZ}q[u}q\(Uidq]U selectedColorq^Utypeq_Ustringq`Umetaqa}qbu}qc(h]UselectedTextColorqdh_Ustringqeha}qfu}qg(UidqhU titleAlignqiUtypeqjUstringqkUmetaql}qmu}qn(hhU logoAlignqohjUstringqphl}qqu}qr(hhU imageAlignqshjUstringqthl}quu}qv(UidqwU menuLinkColorqxUtypeqyUstringqzUmetaq{}q|u}q}(hwU menuLinkFontq~hyUstringqh{}qu}q(hwUmenuLinkFontVariantqhyUstringqh{}qu}q(hwU menuColorqhyUstringqh{}qu}q(hwU subMenuColorqhyUstringqh{}qu}q(UidqU menuAlignqUtypeqUstringqUmetaq}qu}q(UidqU listContentsqUtypeqUbooleanqUmetaq}qu}q(UidqU hideTitleqUtypeqUbooleanqUmetaq}qu}q(hUhideBreadcrumbsqhUbooleanqh}qu}q(hUhidePrinterFriendlyqhUbooleanqh}qu}q(UidqU sortByOptionsqUtypeqUlinesqUmetaq}qu}q(hUsortByqhU selectionqh}qUselect_variableqX sortByOptionsqutu.-0((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q Ustandard_html_headerq Utitleq UUglobalsq }qU_ownerq(]qU acl_usersqaUyetiartsqtqUrawqT <dtml-var title_or_id>

:

qU_varsq}qu.-1Q((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q U addEntry_formq Utitleq UUglobalsq }qUrawqT
Title
Date ">
Text
qU_varsq}qu.-2W((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U_View_Permissionq(UManagerqtqU__ac_local_roles__q}q Uyetiartsq ]q UOwnerq asU__name__q UloginqU_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qbUtitleqUUglobalsq}qUrawqUK qU_varsq}qu.-3((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q Ulocalnavq Utitleq UUglobalsq }qUrawqT
Home
qU_varsq}qu.-4((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (U _getitem_q U_getitemq U _getattr_q U_getattrq UcontextqUrequestqUresponseqU specialImagesqUobjqU imageNameqUthisFileqUhasattrqU thisImageqtqU co_argcountqKubU_paramsqUUidqU specialImagesqU__ac_local_roles__q}qUyetiartsq]qUOwnerq asU _bind_namesq!(cShared.DC.Scripts.Bindings NameAssignments q"oq#}q$U_asgnsq%}q&(Uname_containerq'U containerq(U name_subpathq)Utraverse_subpathq*U name_contextq+Ucontextq,U name_m_selfq-Uscriptq.usbU func_defaultsq/NU_codeq0TDcsdZdS(Nc s-t}t}|td}||d}dddddg}t}x0||dd jo||d }qWW x}|d  rp}  ||| }  t || o, ||| } || d | n||d | | qW||d||dSdS(NsREQUESTsRESPONSEslogos titleimages previmagesupimages nextimages meta_types YetiBlogSites aq_parentis manage_uploadsmanage_addImagesredirects HTTP_REFERER( s _getitem_s_getitems _getattr_s_getattrscontextsrequestsresponses specialImagessobjs imageNamesthisFileshasattrs thisImage( s _getitem_s_getitems _getattr_s_getattrscontextsrequestsresponses specialImagessobjs imageNamesthisFileshasattrs thisImage((sScript (Python)s specialImagess (s specialImages(s specialImages((sScript (Python)ssq1U_bodyq2Trequest = context.REQUEST response = request.RESPONSE specialImages = ['logo','titleimage','previmage','upimage','nextimage'] obj = context while obj.meta_type != 'YetiBlogSite': obj = obj.aq_parent for imageName in specialImages: thisFile = request[imageName] if hasattr(obj,imageName): thisImage = obj[imageName] thisImage.manage_upload(thisFile) else: obj.manage_addImage(imageName,thisFile) return response.redirect(request['HTTP_REFERER']) q3U Script_magicq4KUwarningsq5)Uerrorsq6)U Python_magicq7U* q8u.-6((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q U querystringq Utitleq UUglobalsq }qUrawqUZ?open=&qU_varsq}qu.-7`((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q Ueditq Utitleq UUglobalsq }qUrawqT
On:boolean" checked value="1"> Off:boolean" checked value=""> " value="">
sortBy
qU_varsq}qu.-8((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q Ustandard_html_footerq Utitleq UUglobalsq }qU_ownerq(]qU acl_usersqaUyetiartsqtqUrawqT
Copyright ,


Login | Edit | Add Image | Edit Special Images | Add Subsection | Re-order Contents | Add Entry | Manage

qU_varsq}qu.-9!((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q U viewImagesq Utitleq UUglobalsq }qUrawqTs

qU_varsq}qu. ((U'Products.PageTemplates.ZopePageTemplateqUZopePageTemplateqtqNt.}q(UexpandqKUidqUincludesqU__ac_local_roles__q}q Uyetiartsq ]q UOwnerq asU _bind_namesq (cShared.DC.Scripts.Bindings NameAssignments qoq}qU_asgnsq}qU name_subpathqUtraverse_subpathqssbU_textqT
[=== BREADCRUMBS ===]
[=== SIDE NAV ===]
qU content_typeqU text/htmlqUtitleqUu.-HT((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UviewTextq Utitleq UUglobalsq }qUrawqT

  1. []
  1. []

qU_varsq}qu.-;u((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q Uupdateq Utitleq UUglobalsq }qUrawqU qU_varsq}qu.-:((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q Utestformq Utitleq UUglobalsq }qUrawqU
qU_varsq}qu.-5((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UaddEntryq Utitleq UUglobalsq }qUrawqT qU_varsq}qu. ((U'Products.PageTemplates.ZopePageTemplateqUZopePageTemplateqtqNt.}q(UexpandqKUidqUmainqU__ac_local_roles__q}q Uyetiartsq ]q UOwnerq asU _bind_namesq (cShared.DC.Scripts.Bindings NameAssignments qoq}qU_asgnsq}qU name_subpathqUtraverse_subpathqssbU_textqTa <span metal:define-slot="title" tal:omit-tag="">[=== PAGE TITLE ===]</span>
[=== CONTENT ===]
qU content_typeqU text/htmlqUtitleqUu. k((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q Uprintq Utitleq UUglobalsq }qUrawqT <dtml-var title_or_id>

qU_varsq}qu.-=((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UaddBlogq Utitleq UUglobalsq }qUrawqT qU_varsq}qu.-> ((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q Ulocalnav_contentsq Utitleq UUglobalsq }qUrawqT
-+ " onMouseover="this.style.backgroundColor=''" onMouseout="this.style.backgroundColor=''">
"> []
"> []
qU_varsq}qu.-?((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q U reorder_formq Utitleq UUglobalsq }qUrawqT

Re-order contents

Sub-sections

Subsections:

No sub-sections to reorder.

Entries

Subsections:

No entries to reorder.
qU_varsq}qu.-@ ((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UspecialImages_formq Utitleq UUglobalsq }qUrawqTS

Special images

Logo None
Title None
Previous <<
Up ^
Next >>
qU_varsq}qu.-A#((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU_EtagSupport__etagq U ts47772413.58q U__name__q U index_dtmlq UtitleqUUglobalsq}qUrawqUQ qU_varsq}qu. ((U'Products.PageTemplates.ZopePageTemplateqUZopePageTemplateqtqNt.}q(UexpandqKUidqU index_htmlqU__ac_local_roles__q}q Uyetiartsq ]q UOwnerq asU _bind_namesq (cShared.DC.Scripts.Bindings NameAssignments qoq}qU_asgnsq}qU name_subpathqUtraverse_subpathqssbU_textqT [=== SITE TITLE ===] [=== CONTENT VIEW ===] qU content_typeqU text/htmlqUtitleqUTest page templatequ.-B((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q U breadcrumbsq Utitleq U Breadcrumbsq Uglobalsq}qUrawqT 
:

qU_varsq}qu.-C ((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (U _getitem_q U_getitemq U _getattr_q U_getattrq U_print_qU_printqU containerqUrequestqURESPONSEqUcontextqUobjectqtqU co_argcountqKubU_paramsqUUidqUreorderqU__ac_local_roles__q}qUyetiartsq]qUOwnerqasU _bind_namesq(cShared.DC.Scripts.Bindings NameAssignments q oq!}q"U_asgnsq#}q$(Uname_containerq%hU name_subpathq&Utraverse_subpathq'U name_contextq(hU name_m_selfq)Uscriptq*usbU func_defaultsq+NU_codeq,TcsdZdS(Nc st}t}t}|td}||d}x|t dddr} |dI|| dIdI|| d IJ|||| d d d h|||| dd <|d I|| dIdI|| d IJqTW x|t ddd r}  |dI|| dIdI|| d IJ||| | d d d h|||| dd < |d I|| dIdI|| d IJq!W||d||d|SdS(NsREQUESTsRESPONSEs objectValuessYetiBlogisBefore:sids=s display_orderspropertysheetssInstanceVariablessmanage_changePropertiessAfter:s YetiBlogEntrysredirects HTTP_REFERER( s _getitem_s_getitems _getattr_s_getattrs_print_s_prints containersrequestsRESPONSEscontextsobject( s _getitem_s_getitems _getattr_s_getattrs_print_s_prints containersrequestsRESPONSEscontextsobject((sScript (Python)sreorders'$::5$::8(sreorder(sreorder((sScript (Python)ssq-U_bodyq.Trequest = container.REQUEST RESPONSE = request.RESPONSE for object in context.objectValues('YetiBlog'): print 'Before:', object.id, '=', object.display_order object.propertysheets.InstanceVariables.manage_changeProperties({'display_order':request[object.id]}) print 'After:', object.id, '=', object.display_order for object in context.objectValues('YetiBlogEntry'): print 'Before:', object.id, '=', object.display_order object.propertysheets.InstanceVariables.manage_changeProperties({'display_order':request[object.id]}) print 'After:', object.id, '=', object.display_order RESPONSE.redirect(request['HTTP_REFERER']) return printed q/U Script_magicq0KUwarningsq1)Uerrorsq2)U Python_magicq3U* q4u.-Dt((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (U _getattr_q U_getattrq U objParentsq Ucontextq UobjqtqU co_argcountqKubU_paramsqUUidqU getParentsqU__ac_local_roles__q}qUyetiartsq]qUOwnerqasU _bind_namesq(cShared.DC.Scripts.Bindings NameAssignments qoq}qU_asgnsq}q(Uname_containerqU containerq U name_subpathq!Utraverse_subpathq"U name_contextq#Ucontextq$U name_m_selfq%Uscriptq&usbU func_defaultsq'NU_codeq(T7csdZdS(Ncst}g}t}xF||ddjo,||d|||d}qW|tddjo| |d|n |SdS(Ns meta_types YetiBlogSitesappends aq_parent(s _getattr_s_getattrs objParentsscontextsobj(s _getattr_s_getattrs objParentsscontextsobj((sScript (Python)s getParentss "(s getParents(s getParents((sScript (Python)ssq)U_bodyq*UobjParents=[] obj = context while obj.meta_type != 'YetiBlogSite': objParents.append(obj) obj = obj.aq_parent if context.meta_type != 'YetiBlogSite': objParents.append(obj) return objParents q+U Script_magicq,KUwarningsq-)Uerrorsq.)U Python_magicq/U* q0u.-E((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q U stylesheetq Utitleq USite-wide style sheetq Uglobalsq}qUrawqT3qU_varsq}qu. ((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (U _getitem_q U_getitemq U _getattr_q U_getattrq UcontextqU ancestorsqUlenqtqU co_argcountqKubU_paramsqUUidqUgetSiteqU__ac_local_roles__q}qUyetiartsq]qUOwnerqasU _bind_namesq(cShared.DC.Scripts.Bindings NameAssignments qoq}qU_asgnsq}q (Uname_containerq!U containerq"U name_subpathq#Utraverse_subpathq$U name_contextq%hU name_m_selfq&Uscriptq'usbU func_defaultsq(NU_codeq)TcsdZdS(Ncsct}t}|tddjo tSn0|td}||t|dSdS(Ns meta_types YetiBlogSites getParentsi(s _getitem_s_getitems _getattr_s_getattrscontexts ancestorsslen(s _getitem_s_getitems _getattr_s_getattrscontexts ancestorsslen((sScript (Python)sgetSites% (sgetSite(sgetSite((sScript (Python)ssq*U_bodyq+Uif context.meta_type == 'YetiBlogSite': return context else: ancestors = context.getParents() return ancestors[len(ancestors)-1] q,U Script_magicq-KUwarningsq.)Uerrorsq/)U Python_magicq0U* q1u. ((U'Products.PageTemplates.ZopePageTemplateqUZopePageTemplateqtqNt.}q(UexpandqKUidqU style_cssqU__ac_local_roles__q}q Uyetiartsq ]q UOwnerq asU _bind_namesq (cShared.DC.Scripts.Bindings NameAssignments qoq}qU_asgnsq}qU name_subpathqUtraverse_subpathqssbU_textqTQ/* ----------------------- STRUCTURAL ELEMENTS ----------------------- */ #title { font-family: ; color: ; font-size: 1em; width: 800px; margin-right:auto; margin-left:auto; margin-top:10px; padding:0px; text-align: ; border-width: 0px; border-style: solid; border-color: #000000; } #main { background: ; font-family: ; color: ; font-size: 1em; width: 800px; margin-right:auto; margin-left:auto; margin-top:10px; padding:0px; text-align:left; border-width: 0px; border-style: solid; border-color: #000000; } #sidebar { font-family: ; color: ; font-size: 1em; width:200px; padding:0px; margin-top:5px; float: ; border-width: 0px; border-style: solid; border-color: #000000; } #banner { font-family: ; color: ; width: 585px; font-size: 1em; margin-right:0px; margin-left:210px; padding:0px; border-width: 0px; border-style: solid; border-color: #000000; } #content { font-family: ; color: ; width: 585px; font-size: 1em; margin-right:0px; margin-left:210px; padding:0px; border-width: 0px; border-style: solid; border-color: #000000; min-height: 400px; } #footer { font-family: ; color: ; font-size: 1em; text-align:center; height:40px; width:750px; margin-right:auto; margin-left:auto; border-width: 0px; border-style: solid; border-color: #000000; clear: left; }qU content_typeqU text/htmlqUtitleqUu.-F M((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q Uviewq Utitleq UUglobalsq }qUrawqT

[]

[]

[]

[]



[]

[]

[]



qU_varsq}qu.-G((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UaddImageq Utitleq UUglobalsq }qUrawqT
Id
Title
File
qU_varsq}qu.-I((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q U addBlog_formq Utitleq UUglobalsq }qUrawqT
Title
Description
qU_varsq}qu.-K&((U BTrees.LengthqULengthqtqNt.K.-L'((UBTrees.IOBTreeqUIOBTreeqtqNt.N.-Mq((U*Products.PluginIndexes.TextIndex.TextIndexqU TextIndexqtqNt.}q(UidqUSearchableTextqU vocabulary_idqU VocabularyqU_unindexq (U-^q (UBTrees.IOBTreeq UIOBTreeq ttq QU ignore_exqNU call_methodsqNU useOperatorqUorqUcatalogq(U,q(UProducts.ZCatalog.ZCatalogqUZCatalogqttqQU_lexiconqNU_indexq(U-_q(h UIOBTreeqtqtqQu.-N((U0Products.PluginIndexes.KeywordIndex.KeywordIndexqU KeywordIndexqtqNt.}q(U__len__q(U-`q(U BTrees.LengthqULengthqttq QUidq U categoriesq U useOperatorq Uorq U ignore_exq(U,q(UProducts.ZCatalog.ZCatalogqUZCatalogqttqQU_indexq(U-aq(UBTrees.OOBTreeqUOOBTreeqttqQU call_methodsqNU operatorsq]q(h UandqeU_unindexq(U-bq(UBTrees.IOBTreeqUIOBTreeqtq tq!Qu.-O((U0Products.PluginIndexes.KeywordIndex.KeywordIndexqU KeywordIndexqtqNt.}q(U__len__q(U-cq(U BTrees.LengthqULengthqttq QUidq U permissionsq U useOperatorq Uorq U ignore_exq(U,q(UProducts.ZCatalog.ZCatalogqUZCatalogqttqQU_indexq(U-dq(UBTrees.OOBTreeqUOOBTreeqttqQU call_methodsqNU operatorsq]q(h UandqeU_unindexq(U-eq(UBTrees.IOBTreeqUIOBTreeqtq tq!Qu.-P'((UBTrees.OIBTreeqUOIBTreeqtqNt.N.-Q'((UBTrees.IOBTreeqUIOBTreeqtqNt.N.-J((U0Products.PluginIndexes.TextIndex.GlobbingLexiconqUGlobbingLexiconqtqNt.}q(U useSplitterqU ZopeSplitterqU SplitterFuncqcProducts.PluginIndexes.TextIndex.Splitter.ZopeSplitter Splitter qU _inverseLexq (U-[q (UBTrees.IOBTreeq UIOBTreeq ttq QU_digramsq(U-\q(UBTrees.OOBTreeqUOOBTreeqttqQU_lexiconq(U-]q(UBTrees.OIBTreeqUOIBTreeqtqtqQu.-R[((UZClasses.PropertyqU ZCommonSheetqtqNt.}q(UtitleqUU_mdq}qUidqUInstanceVariablesq U _propertiesq (}q (hUtitleq Utypeq UstringqUmetaq}qu}q(hUtextqh Utextqh}qu}q(UidqUdateqUtypeqUstringqUmetaq}qu}q(UidqU display_orderqUtypeqUintq Umetaq!}q"u}q#(Uidq$U hideTitleq%Utypeq&Ubooleanq'Umetaq(}q)utu.-Sm((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (U _getattr_q U_getattrq Ucontextq Uparentq UthisIdqUprevURLqU objSequenceqUNoneqUsequenceqUobjqtqU co_argcountqKubU_paramsqUUidqUprevqU__ac_local_roles__q}qUyetiartsq]qUOwnerqasU _bind_namesq(cShared.DC.Scripts.Bindings NameAssignments qoq }q!U_asgnsq"}q#(Uname_containerq$U containerq%U name_subpathq&Utraverse_subpathq'U name_contextq(Ucontextq)U name_m_selfq*Uscriptq+usbU func_defaultsq,NU_codeq-TcsdZdS(Nc sRt}|td}|td}d}g}||dtddgjoX|td||dd ||dd d f||dd d ff}nC |td||dd d d d fdd d ff} xI|d r<}  ||| djoPn|| d}qW|SdS(Ns aq_parentsidsNonessortByssDefaultssorts objectValuess YetiBlogEntryscmpsascsnocases display_orderis absolute_url( s _getattr_s_getattrscontextsparentsthisIdsprevURLs objSequencesNonessequencesobj( s _getattr_s_getattrscontextsparentsthisIdsprevURLs objSequencesNonessequencesobj((sScript (Python)sprevs  "XB(sprev(sprev((sScript (Python)ssq.U_bodyq/T parent = context.aq_parent thisId = context.id prevURL = 'None' objSequence = [] if parent.sortBy not in [None,'','Default']: objSequence = sequence.sort(parent.objectValues('YetiBlogEntry'), ((parent.sortBy, 'cmp', 'asc'), (parent.sortBy, 'nocase', 'asc')) ) else: objSequence = sequence.sort(parent.objectValues('YetiBlogEntry'), (('display_order', 'cmp', 'asc'), ('id', 'nocase', 'asc')) ) for obj in objSequence: if thisId == obj.id: break else: prevURL = obj.absolute_url() return prevURL q0U Script_magicq1KUwarningsq2)Uerrorsq3)U Python_magicq4U* q5u.-T:((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q Uprevnextq Utitleq UUglobalsq }qUrawqT
 
 

qU_varsq}qu.-U((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (U _getattr_q U_getattrq Ucontextq Uparentq UthisIdqUflagqUnextURLqU objSequenceqUNoneqUsequenceqUobjqtU co_argcountqKubU_paramsqUUidqUnextqU__ac_local_roles__q}qUyetiartsq]qUOwnerqasU _bind_namesq(cShared.DC.Scripts.Bindings NameAssignments qoq }q!U_asgnsq"}q#(Uname_containerq$U containerq%U name_subpathq&Utraverse_subpathq'U name_m_selfq(Uscriptq)U name_contextq*Ucontextq+usbU func_defaultsq,NU_codeq-TcsdZdS(Nc sxt}|td}|td}d}d}g}||dtddgjoX |t d||d d ||dd d f||dd d ff}nC |t d||d d dd d fdd d ff} xf|d rY} |djo|| d}Pn||| djo d}nq W|SdS(Ns aq_parentsidisNonessortByssDefaultssorts objectValuess YetiBlogEntryscmpsascsnocases display_orderis absolute_url( s _getattr_s_getattrscontextsparentsthisIdsflagsnextURLs objSequencesNonessequencesobj( s _getattr_s_getattrscontextsparentsthisIdsflagsnextURLs objSequencesNonessequencesobj((sScript (Python)snexts   "XB(snext(snext((sScript (Python)ssq.U_bodyq/T+parent = context.aq_parent thisId = context.id flag = 0 nextURL = 'None' objSequence = [] if parent.sortBy not in [None,'','Default']: objSequence = sequence.sort(parent.objectValues('YetiBlogEntry'), ((parent.sortBy, 'cmp', 'asc'), (parent.sortBy, 'nocase', 'asc')) ) else: objSequence = sequence.sort(parent.objectValues('YetiBlogEntry'), (('display_order', 'cmp', 'asc'), ('id', 'nocase', 'asc')) ) for obj in objSequence: if flag == 1: nextURL = obj.absolute_url() break if thisId == obj.id: flag = 1 return nextURL q0U Script_magicq1KUwarningsq2)Uerrorsq3)U Python_magicq4U* q5u.-Vs((UZClasses.PropertyqU ZCommonSheetqtqNt.}q(UtitleqUU_mdq}qUidqUInstanceVariablesq U _propertiesq (}q (hUtitleq Utypeq UstringqUmetaq}qu}q(hU descriptionqh Utextqh}qu}q(UidqUshowAllEntriesqUtypeqUbooleanqUmetaq}qu}q(UidqU reverseOrderqUtypeqUbooleanq Umetaq!}q"u}q#(Uidq$U listContentsq%Utypeq&Ubooleanq'Umetaq(}q)u}q*(Uidq+U display_orderq,Utypeq-Uintq.Umetaq/}q0u}q1(Uidq2U hideTitleq3Utypeq4Ubooleanq5Umetaq6}q7u}q8(Uidq9U sortByOptionsq:Utypeq;Ulinesqu}q?(Uidq@UsortByqAUtypeqBU selectionqCUmetaqD}qEUselect_variableqFX sortByOptionsqGutu..p((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q U printContentq Utitleq UUglobalsq }qUrawqT







qU_varsq}qu.-Wv((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UspecialImages_formq Utitleq UUglobalsq }qUrawqT

Special images

Logo for this section None
qU_varsq}qu..n((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q Uprintq Utitleq UPrintable formatq Uglobalsq}qUrawqU7 qU_varsq}qu.-X((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (U _getitem_q U_getitemq U _getattr_q U_getattrq UcontextqUrequestqUresponseqU specialImagesqUobjqU imageNameqUthisFileqUhasattrqU thisImageqtqU co_argcountqKubU_paramsqUUidqU specialImagesqU__ac_local_roles__q}qUyetiartsq]qUOwnerq asU _bind_namesq!(cShared.DC.Scripts.Bindings NameAssignments q"oq#}q$U_asgnsq%}q&(Uname_containerq'U containerq(U name_subpathq)Utraverse_subpathq*U name_m_selfq+Uscriptq,U name_contextq-Ucontextq.usbU func_defaultsq/NU_codeq0TcsdZdS(Nc s!t}t}|td}||d}dg}t}x0||ddjo||d}qKW x}|d rp}  ||| }  t || o, ||| } || d| n||d | | qW||d ||d SdS( NsREQUESTsRESPONSEs sectionlogos meta_typesYetiBlogs aq_parentis manage_uploadsmanage_addImagesredirects HTTP_REFERER( s _getitem_s_getitems _getattr_s_getattrscontextsrequestsresponses specialImagessobjs imageNamesthisFileshasattrs thisImage( s _getitem_s_getitems _getattr_s_getattrscontextsrequestsresponses specialImagessobjs imageNamesthisFileshasattrs thisImage((sScript (Python)s specialImagess  (s specialImages(s specialImages((sScript (Python)ssq1U_bodyq2Trequest = context.REQUEST response = request.RESPONSE specialImages = ['sectionlogo'] obj = context while obj.meta_type != 'YetiBlog': obj = obj.aq_parent for imageName in specialImages: thisFile = request[imageName] if hasattr(obj,imageName): thisImage = obj[imageName] thisImage.manage_upload(thisFile) else: obj.manage_addImage(imageName,thisFile) return response.redirect(request['HTTP_REFERER']) q3U Script_magicq4KUwarningsq5)Uerrorsq6)U Python_magicq7U* q8u. ((U'Products.PageTemplates.ZopePageTemplateqUZopePageTemplateqtqNt.}q(UexpandqKUidqU index_htmlqU__ac_local_roles__q}q Uyetiartsq ]q UOwnerq asU _bind_namesq (cShared.DC.Scripts.Bindings NameAssignments qoq}qU_asgnsq}qU name_subpathqUtraverse_subpathqssbU_textqT0 [=== SITE TITLE ===] [=== CONTENT VIEW ===]

Printer friendly version

qU content_typeqU text/htmlqUtitleqUu.-Z((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q UlistAllq Utitleq UUglobalsq }qUrawqT

:

Back qU_varsq}qu.-Yo((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUyetiartsq]qUOwnerq asU__name__q U index_dtmlq Utitleq UUglobalsq }qUrawqU

Printer friendly version

qU_varsq}qu.-^'((UBTrees.IOBTreeqUIOBTreeqtqNt.N.-_'((UBTrees.IOBTreeqUIOBTreeqtqNt.N.-`&((U BTrees.LengthqULengthqtqNt.K.-a'((UBTrees.OOBTreeqUOOBTreeqtqNt.N.-b'((UBTrees.IOBTreeqUIOBTreeqtqNt.N.-c&((U BTrees.LengthqULengthqtqNt.K.-d'((UBTrees.OOBTreeqUOOBTreeqtqNt.N.-e'((UBTrees.IOBTreeqUIOBTreeqtqNt.N.-['((UBTrees.IOBTreeqUIOBTreeqtqNt.N.-\'((UBTrees.OOBTreeqUOOBTreeqtqNt.N.-]'((UBTrees.OIBTreeqUOIBTreeqtqNt.N.