Package: djangocms-lab-members
djangocms-lab-membersis a Django app to extenddjango-lab-memberswith django CMS-specific features.Source code is available on GitHub atmfcovington/djangocms-lab-members. Information about and source code fordjango-lab-membersis available on GitHub atmfcovington/django-lab-members.InstallationConfigurationMigrationsUsageRevision HistoryInstallationPyPIpipinstalldjangocms-lab-membersGitHub (development branch)pipinstallgit+http://github.com/mfcovington/djangocms-lab-members.git@developConfigurationIgnore instructions fordjango-lab-members, the non-django CMS app that this app extends.Install django CMS and start a project, if one doesn’t already exist.Unless you use this app as part ofdjangocms-lab-siteor plan to style the app from scratch, you will want to choose theUse Twitter Bootstrap Themeoption (when runningdjangocms) and then edit the resultingtemplates/base.html.This will add style that looks like Bootstrap 2. To use Bootstrap 3 styling, remove the following line for thebootstrap-theme.min.cssstylesheet fromtemplates/base.html:<linkrel="stylesheet"href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.x.x/css/bootstrap-theme.min.css">The default menu settings for django CMS using Bootstrap will allow the user to access specific lab members via a dropdown menu, but will not give easy access to the summary page of all lab member. To fix this do one of the following:Intemplates/base.html, change{% show_menu 0 1 100 100 "menu.html" %}to{% show_menu 0 0 100 100 "menu.html" %}, orUse a split button dropdowns by changing that line to{% show_menu 0 100 1 1 ‘_menu.html’ %}and populate_menu.htmlas done indjangocms-lab-site.Edit the project’ssettings.pyfile.Addcms_lab_membersand its dependencies to yourINSTALLED_APPSsetting:INSTALLED_APPS=(# ...'cms_lab_members','cms_lab_publications','easy_thumbnails','filer','friendlytagloader','lab_members','taggit',)Addeasy_thumbnailsettings:# For easy_thumbnails to support retina displays (recent MacBooks, iOS)THUMBNAIL_HIGH_RESOLUTION=TrueTHUMBNAIL_QUALITY=95THUMBNAIL_PROCESSORS=('easy_thumbnails.processors.colorspace','easy_thumbnails.processors.autocrop','filer.thumbnail_processors.scale_and_crop_with_subject_location','easy_thumbnails.processors.filters',)THUMBNAIL_PRESERVE_EXTENSIONS=('png','gif')THUMBNAIL_SUBDIR='versions'Pre-populate placeholder content for research/personal interests and sidebar:# Pre-populate placeholder contentCMS_PLACEHOLDER_CONF={# ...'research interests':{'default_plugins':[{'plugin_type':'TextPlugin','values':{'body':"<p><em>[Enter 'Edit Mode' and double-click here to add your research interests.]</em></p>",},},],},'personal interests':{'default_plugins':[{'plugin_type':'TextPlugin','values':{'body':"<p><em>[Enter 'Edit Mode' and double-click here to add your personal interests.]</em></p>",},},],},'scientist sidebar':{'default_plugins':[{'plugin_type':'TextPlugin','values':{'body':"<p><em>[Enter 'Edit Mode' and double-click here to add sidebar content.]</em></p>",},},],},}MigrationsCreate and perform migrations forcms_lab_membersand its dependencies:pythonmanage.pymakemigrationscms_lab_memberspythonmanage.pymakemigrationslab_memberspythonmanage.pymakemigrationscms_lab_publicationspythonmanage.pymigrateUsageStart the development server:pythonmanage.pyrunserverVisit:http://127.0.0.1:8000/Create a CMS page.Attach theLab Members AppunderAdvanced Settingsfor the page.Version 0.2.0Revision History0.2.0 2015-11-10Add alumni fieldset to adminThis bumpsdjangocms-lab-membersrequirement to version0.3.0Add instructions to double-click placeholders when editingUpdate README with more complete and accurate instructionsPrepare for distribution via PyPI0.1.5 2015-05-08AddLab Alumninode to dropdown menuUpdate README to pre-populate placeholder content via settingsMinor behind-the-scenes improvements0.1.4 2015-05-01Limit dropdown menu to current lab members0.1.3 2015-04-21SubclassPlaceholderAdminMixinfromCMSScientistAdminto provide admin support0.1.2 2015-04-19Group CMS plugin underLab Pluginsmodule0.1.1 2015-04-13CustomizeScientistplugin style0.1.0 2015-04-10A Django app to extenddjango-lab-memberswith django CMS-specific features