This task is to create an installation profile that will set up a single-user blog that allows the user to upload and use pictures in their blog posts. A profile lists the modules to be installed and can execute code to do some initial configuration. Having a site that installs with the basic pieces in place will make it much easier for people new to Drupal to get started quickly and even let experienced Drupalers save a lot of time.
This task will require installing Drupal 5 and learning which modules and configurations are required to create a profile which will set up a site with the following features:
* Front page with the latest blog posts first (typical blog setup)
* Allow posts to be tagged with keywords
* Ability to upload images and place them in posts
* Ability to search the site
* Have a block that lists 5 most recent posts
Once the necessary pieces are determined, write an install profile file. The task is complete once the profile is reviewed by the primary contact. They will then make sure a project is created on drupal.org.
Resources:
* Macro module (part of Devel module: http://drupal.org/project/devel)
* Other profiles at http://drupal.org/project/Installation+profiles
* Distribution profile group: http://groups.drupal.org/distributions
Estimated time:
4 days
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | single_user_blog.zip | 2.95 KB | dhrosa |
| #16 | single_user_blog.zip | 3.27 KB | dhrosa |
| #15 | single_user_blog.zip | 3.27 KB | dhrosa |
| #13 | single_user_blog.zip | 347.35 KB | dhrosa |
| #10 | single_user_blog.zip | 145.54 KB | dhrosa |
Comments
Comment #1
webchickClaimed by rhys42 (could not find drupal.org username)
Comment #2
Rhys42 commentedAs posted at http://code.google.com/p/google-highly-open-participation-drupal/issues/..., this is mostly complete but lacks anonymous broowsing.
Comment #3
webchickAwesome, thanks Rhys42! Marking for review.
Comment #4
KentBye commentedJust looking at the install profile code, and didn't go through and install it.
But did you enable a vocabulary and enable free tagging capability for the blog entries?
Didn't see the code that explicitly does that.
Comment #5
add1sun commentedRhys42, awesome work so far! I took the profile for a spin and have a few comment/suggestions on how things are set up.
First one is a bit of a weird one, but since this is for a single-user blog we don't really want to use the Blog module. This is a common mis-perception due to the naming. The Blog module allows multiple users on the same site to each have their own personal blog. For a single-user site we don't need that feature and it actually tends to confuse users. Instead we can just use the regular story type for our content and the default Drupal front page. One thing that the Blog module gave us is the recent blog posts block. To get that without relying on Blog module we are going to need to add the Views module to the profile and set up a views block.
I hadn't thought about the fact that many themes (and all core themes) hard-code the search block in so it looks a bit odd to have two of them. Maybe we should just enable search and set perms to allow anonymous to search but not actually turn on the block.
The last thing we need is a freetagging vocabulary set up and enabled for the story content type.
So, basically you are really close and we just need to pimp it a little. Please let us know if you have any questions or get stuck on anything and post your continuing work here.
Comment #6
webchickUnfortunately, Rhys42 seems to have fallen off the radar a bit, and has not responded to the feedback in this issue, nor to pings via the Google task tracker. :( Furthermore, a diff between blog.profile and 5.x's default.profile shows only very minor changes, and not enough to qualify for completion of the task as specified.
Changing back to an active task.
Comment #7
dami commentedThere is a similar issue on single user blog install profile:
http://drupal.org/node/144355
Comment #8
add1sun commentedAFAIK, that one is intended for core isn't it? This project is specifically designed to incorporate contrib modules and be something different from the core profile.
Comment #9
add1sun commentedthis was claimed by herenbdy
Comment #10
dhrosa commentedI think I've worked out most of the kinks, i've commented the .profile file, tell me if any parts need improvement!
Comment #11
dhrosa commentedSorry, forgot to change the status
Comment #12
add1sun commentedYay herenbdy, this is off to a great start! Here are my thoughts after an initial pass.
Some minor stuff:
1) The drupal_set_message with the URL where I can log in to my site gives a double slash (http://localhost:8888/blog//user)
2) On my test site the token for the the user name didn't work properly as I got "blogs/%5Buser-raw%5D/2007/12/13/test" in my URL.
Some bigger things to note:
1) While not intuitve, the Blog module is not really the best way to go. See my comment #5 above for more.
2) We also still need to get a freetagging taxonomy set up for the blog entries.
Please let us know if you need any help with this stuff. :-)
Comment #13
dhrosa commentedMade the changes made by add1sun
Fits the criteria:
* Front page with the latest blog posts first (typical blog setup)
* Allow posts to be tagged with keywords
* Ability to upload images and place them in posts
* Ability to search the site
* Have a block that lists 5 most recent posts
Also:
-Added a recent comments block.
-Pathauto settings to organize posts in a /year/month/day/title form.
-Blocked users besides the first account from registering
-Allowed anonymous comments
-Default theme is pushbutton (I dislike Garland :x)
I think I'm done now, please review and tell me if I need to change/add anything!
Comment #14
aclight commentedI tested this out and have some comments:
1. After installing the profile, I was told to go to /user to log in. However, that was not a link. I was lazy and clicked on the link lower down in the page that takes me to my new site (this link is added in all profiles, I think). But since the login block is turned off, it could be a little confusing to a new user who clicks the link and doesn't notice the specific instruction to go to /user. So if it's possible to turn the instruction to go to /user into a link, that would be great.
2. The README.txt works for testing this task, bue when this is made into an actual project you won't want to include the necessary contrib modules, because those need to be downloaded later on so that they will be the most recent version. So your README.txt should probably state the required contrib modules, and then instruct the user to download them and put them in sites/all/modules (you might also point to a handbook page, which probably already exists, showing how to download modules).
3. On the create a blog post page, I see this:
I'd like this to read:
Notice that above I fixed a few spaces and added a link to the settings menu so the user can click on it instead of needing to type it into the browser location field.
Other than these points this looks really good.
Comment #15
dhrosa commentedupdated with aclight's remarks
Comment #16
dhrosa commentedfixed a minor error
Comment #17
dhrosa commentedupdate
Comment #18
add1sun commentedherenbdy, this is great! You really knocked this out of the park. As far as I'm concerned you have completed this task. I am marking your Google task closed.
I am reassigning this to myself now (as primary contact and the person who agreed to take maintainership of this once completed) and marking RTBC. I will create a new profile project and get this into CVS in the next few days. You rock!
Comment #19
add1sun commentedThis project has been created and added to CVS.
http://drupal.org/project/single_user_blog
Comment #20
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.