You are here

Blogs

Aliases

I used the alias function to point "News" in the menu to /news, as opposed to at taxonomy/term/3. We'll be able to use this to keep all links from previous site valid, though putting them all in manually might take a while.

Using clean URLs

Just so I was familiar with the process of installing drupal, I set it up on my home machine. I was wondering why I couldn't enable clean URLs in Home > Administer > Site configuration > clean URLs, and found out that URL rewriting had to be enabled in apache, and this is one way of enabling URL rewrites. However, this required me to do some fiddling with apache2.conf, so I needed root access to do this. There are other ways of enabling it though and maybe we could use one of these on the simulistics host.

Input format: default changed to full HTML

The wysiwg editor requires that its html output is not filtered (unsuprisingly) and  having the original default of safe html broke the wysiwyg, see my blog entry "WYSIWYG edited pages have no new lines".

Full html is now the default input format BUT only Administrators may use it so ordinary users wysiwyg editing is probably still broken.

We need to consider the security issue. Mark do you fancy evaluating that?

View module installed

I've installed the view module to enable us to format collections of pages as we want. This includes "blocks" so it should enable a sidebar display of recent news.

Other use, present lists of

Drupal Content types, model entry, tutorial and big report

Drupal has Content types, e.g. Page, Story and blog entry. We can add types and should use that for Model catalogue entries and Tutorials.

  • A bonus when using Content types is that the Create content item would add Model catalogue entries and Tutorials as choices of types to create.
  • permissions to view, create, edit their own topics and edit all topics of a certain content types can be assigned to user groups.

Started to add the news mechanism

Created a News category for  stories  (articles)

  • (I'm not sure of any real reason to use a Story topic rather than an ordinary Page.)
  • All the News stories can then be found by clicking on the News link in the Categories > Articles type page under Administration. I noted the URL it sent me to.

Added News menu item and linked it to the above noted URL.

 

Todo:

  • Make a side bar with just titles.

 

WYSIWYG edited pages have no new lines

Paragraphs are correctly enclosed in <p></p> and no <br> are used. Oviously at the moment the CSS doesn't create a new line at the end of a paragraph.

Adding an empty line in the doesn't help as it just adds an empty paragraph (actually includes a non-breaking space).

 

I've forced my blog entries my going into the source and adding <br/>. We should comply with XHTML and close all tags.

 

Changed the Category "Type" to "Page type"

This category applies to pages and book pages so the new name is more explanatory.

Subcategories or "terms" in Drupal terminology are Model entry (for pages describing a model, especially for the model catalogue) and Tutorial.

Started to add the Simile Book as a Drupal book

I've started to add the Simile Book as a Drupal book .

See the TWiki Simile Book page.

FCKeditor installed

I installed the FCKeditor to provide WYSIWYG editing. It seems good.

I was then able to paste the Declarative modelling page in including the image.

A disadvantage is now there is no spell check and I got used to Firefox text editor providing that.

Pages

Subscribe to RSS - blogs