Education Site, Using CMS 1.2.2

Post links to sites running CMS in all its glory.
Post Reply
Walkere
Forum Members
Forum Members
Posts: 12
Joined: Sat Oct 13, 2007 11:21 pm

Education Site, Using CMS 1.2.2

Post by Walkere »

Just launched my new site - Babel - using CMS 1.2.2.

I made a couple custom modules for it.  One allows FrontEndUsers to submit and edit Lesson Plans.  The other allows FrontEndUsers to create Web Quests (mini webpages for use in the classroom).

I played with the News summary template a bit, so that now the title links straight to a content page.  This way the news articles are simple stubs for new content pages, which seemed more useful than a "Detailed" version of the news article.

Otherwise, haven't modded anything too heavily.  Make use of News, FrontEndUsers, SelfRegistration, CustomContent, and Uploads.

- Walkere
Image
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Education Site, Using CMS 1.2.2

Post by RonnyK »

Looking good,

2 small remarks, you can loose the "Print this page"-text next to the print-icon, by restoring the printing template in "Content -> Printing -> Link template" and then "Reset to default" and "Save template".

The other is that the links that have H2 arent quite visible, as you underline both H2 and the link, like on the main-page with "Browse lessons plan".

Ronny
dsackett
Forum Members
Forum Members
Posts: 16
Joined: Wed Dec 05, 2007 12:56 am

Re: Education Site, Using CMS 1.2.2

Post by dsackett »

I like it, looks good to me.
simplejuan
New Member
New Member
Posts: 4
Joined: Wed Jan 02, 2008 2:10 am

Re: Education Site, Using CMS 1.2.2

Post by simplejuan »

:) Good site!!! Keep it up!
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: Education Site, Using CMS 1.2.2

Post by giggler »

You were able to use article-name.html pretty url with the blog/news?? Have you tried it with 1.2.3?
nivekiam

Re: Education Site, Using CMS 1.2.2

Post by nivekiam »

Nice!  Great example of showing off the power and flexibility of CMSms.

@giggler:
I played with the News summary template a bit, so that now the title links straight to a content page.  This way the news articles are simple stubs for new content pages, which seemed more useful than a "Detailed" version of the news article.
Looks like he just modified a template to get that working like that.  Nice idea, I had something similar going around in my head, but only and idea.  Hadn't looked into how to get it done, thanks for posting.

Oh and it looks like it's running 1.2.3 from the footer. ;)
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: Education Site, Using CMS 1.2.2

Post by hexdj »

Nice

I have a question, how did you implement the Webquests?
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: Education Site, Using CMS 1.2.2

Post by giggler »

??? so it's actually just a regular content page?
Walkere
Forum Members
Forum Members
Posts: 12
Joined: Sat Oct 13, 2007 11:21 pm

Re: Education Site, Using CMS 1.2.2

Post by Walkere »

Hey all,

Sorry I've been working a lot on a different project.  Didn't notice there was any interest in this... =)

@nivekiam

100% correct.  I write up the standard content page (which has the pretty url).  Then, I modified the news template and write a News article stump for it.  I added a custom field with the page id #, and use that for a cms_selflink tag in the template.  That replaces the normal link that would go to the "Detailed" viewed of the news entry.

@giggler

Yup, just a regular content page.  Check out this post in the Tips and Tricks forum.  It explains how I modified the news template to do that.

@hexdj

I wrote my own module for the Webquests, which depends partially on FrontEndUsers, Uploads, and the MenuManager stylesheet.

The user can log in and fill out a form to create the webquest.  The information gets stored in the DB.  Here's the basic DB structure...

Webquest - quest_id, title, description, and other basic info
Page - page_id, quest_id, title, content, menu_order
Attachment - attach_id, page_id, title, url

So when you first create the webquest, you create an entry in the Webquest table.

Then, as you fill out information for extra pages, new entries are entered into the Page table.  Each one is linked to the same quest_id with a unique page_id and an int that helps order the menu listing.

When you view the webquest, the server fetches the basic info from the Webquest table and then all of the individual pages attached to that webquest.  Based on the pretty-url, it knows which one is the active page.  The module makes a list of the page titles with links which are used to build a menu.  The content info for the active page is displayed, along with any attachments linked to that page_id.

If you're interested, I'd be happy to share the source code.  No guarantees that I can help you understand it tho =)

- Walkere
Image
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Education Site, Using CMS 1.2.2

Post by Nullig »

I'd love to see the source.

Nullig
Walkere
Forum Members
Forum Members
Posts: 12
Joined: Sat Oct 13, 2007 11:21 pm

Re: Education Site, Using CMS 1.2.2

Post by Walkere »

Alright, I posted the source code for the two modules I wrote.

You can find the source code for the User Generated Articles module here.

You can find the source code for the Web Quests module here.

They're both functional on my site, but I can't make any guarantees that they'll be easily portable or easy to understand.  I started out trying to comment well and make it adaptable... but by the end I may have gotten frustrated and taken a few shortcuts =)

Good luck.  At some point, I intend to turn the two pages (linked to above) into a homepage for the modules with documentation.  But at the moment it's more or less just the source code for your enjoyment.

- Walkere
Image
Post Reply

Return to “CMS Show Off”