I've now finished the site structure for the History site, so I'm handing it over to TG to fill in all the content when she gets back next week.
Category: "Activity log"
I'm building the site structure for the History department site while their staff are on vacation, so they can start filling in data when they get back. So far I'm about half-way through.
Learned a couple of things worth recording:
- The link to the faculty-specific styles is stored in
/assets/blocks/layout-site-scripts. However, the thing that caused me to fail to find it when looking was that the block of HTML is of course in the<head>tag, and therefore has no wysiwyg display in the editor; so it looks as though there's nothing there. If you click on the HTML button to see the code, though, you'll see something like this:<link href="[system-asset:local]site://UVicCa/assets/css/humanities.css[/system-asset:local]" rel="stylesheet" type="text/css" /> <link href="/assets/css/humanities.css" rel="stylesheet" type="text/css" /> <link href="[system-asset:local]/thesite/assets/css/site-styles.css[/system-asset:local]" rel="stylesheet" type="text/css" />
- The default news page is set up so that it uses a block which by default parses the content in the sibling
currentfolder. Inside there are stored blocks created usingNew / UVic pages / News item. Create a new item for a new piece of news to show up on the page; then move them to the archive folder when they're done. I'm still not sure of the best way to integrate this with the Events calendar feed block, which is what I put on this page in the French site.
Started working on the History site. The site itself seems to have been provisioned without any of the Humanities-specific styles, banner logos etc.; I've asked DW about this, because I can't find anywhere I could change it myself. I spent a long time trawling around in the configuration and administration areas looking for places where this stuff might be defined, but I can't find it. I'm going to blog all the steps I take building this site, so we have a complete record someone can work from on the next site. Steps today:
- Created /home, where I'm going to store the pages which are tertiary and mirrored on all secondary menus. Eventually remembered that to keep this out of the breadcrumb trail I have to set its navigation to "Ignore" (click on the folder, then Edit / Metadata).
- Created a news page (home/news/index). There appear to be lots of ways to do things related to event calendars, but the only one that seems likely to work is to create a new block (New / UVic Blocks / Dynamic Content / Events Calendar List), and then put in the calendar id from events.uvic.ca. Set the navigation for the page to Tertiary in Edit / Metadata.
- Created the Contact us page (home/contact/index). Added the basic contact details, and set the navigation to Tertiary.
- Created a Courses page (home/courses/index) and set its navigation to Secondary.
Having three butterfly buttons next to each other looks a bit repetitive, so I've made different ones for the newsletter (using an SVG newspaper icon) and the faculty site (using a tiny version of the head image off that site). I have xcf versions of these images (meaning they're easy to edit) in the resources subfolder on my local machine, and I've uploaded the rendered versions and added them into the quicklinks block.
Also went to a Cascade session with DW, where I learned about how the XSLT stuff fits into the picture, and where I went wrong when I changed my factory page. When I have time, I'm going to do a more detailed post about where exactly to make changes when you want them to iterate through the whole site (basically its in Administration / Configuration Sets / Site Configuration).
The French dept folks want all their external links buttons to be based on the butterfly icon which is used on a number of sites already, so I took one of those buttons and reworked it to create a couple of new ones. The font settings for the text are Myriad Pro Bold 14 pt, with the line-spacing set to -1.0 and the colour #365faf; there's an XCF (GIMP) version of one of the files in French/new_site/resources which can be used to create new ones.
Having created the buttons, I created a new block to hold them (external-links), and then tried to replace the test block I'd used when setting up the pages. The block goes in QuickLinks. I discovered that replacing that block with the new one in the factory (_configuration/factories/index) doesn't change any of the pages that were created with that factory. Every single page on the site (which is now almost complete) had to be edited manually (select the page, Edit, Configuration, then change the block). Even pages which were mirrors of other pages are apparently mirroring only content; structural elements such as this block persist. It took me ages to do this. Maybe there's a centralized way of making the change, or doing some kind of search-and-replace, but I couldn't find it. That's something to ask about.