skip to main content

Writing content for Article Manager
updated by rck, 2004-11-15

The core competence of phpWebSite is managing content. That's why it's called a content management system. There are a couple of guides on how to install phpWS technically and how to work with modules.

Then, there's the actual content. I couldn't find a common practice guide on how to write content for phpWebSite. So I did one on my own. Enjoy!

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10

Ordered and Unordered Lists

a ordered list
a ordered list

Very often, you simply have to list up a couple of things. For example

  1. take manhattan
  2. take berlin
could have been the outline to a famous Leonard Cohen song

You probably knew the ol environment already. The ul (unordered list) environment does the same, but replaces the numbers with bullets:

  • a rock
  • a hardplace

Example for a ordered and a unordered list

<p><ol><li>take manhattan</li>
<li>take berlin</li></ol></p>
<p><ul><li>a rock</li>
<li>a hardplace</li></ul></p>

A word of warning

Again: please don't use the htmlArea code here. It will add a type="1" for ordered and a type="disc" for unordered lists.

This is bad for two reasons:

  1. it hardcodes something which should be defined in your site-stylesheet and not here
  2. those already are the defaults for unstyled content, so they don't even change anything at the first glance
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10

RSSComments - Make a comment
The comments are owned by the poster. We are not responsible for its content.
  • No Subject

    Posted on 2004-11-15 01:43:11 By Anonymous

    Fourth reason, and I guess those four should be enough: Using the vanilla img-tag is saying goodbye to advanced techniques like css shadows for images.

    Are you saying that Article Manager doesn't use the tag? That would be very interesting. I don't use the mod so can't check.

    [Reply ]

    • Article Manager img Tag

      Posted on 2004-11-15 02:41:03 By rck[110]

      The article manager uses the img tag. But it uses a template to encapsulate it: The section template.

      So, as soon as you want to add other tags around it or define the image as a background-image, you'll simply change your template. You can do that on a per theme basis.

      If you'd defined your image inline, with the img tag, you wouldn't be able to do so without changing the actual content.

      [Reply ]

      • Re: Article Manager img Tag

        Posted on 2004-11-15 03:44:26 By Anonymous

        OK, I get that. Is this any different than the way PageMaster operates images? I can control the img tag in my stylesheet and am using PageMaster.
        As I only needed one method of adding main content I chose PageMaster because of its add to Menu aspect which I didn't see in Article Manager and I didn't need multiple paging, was I wrong??

        I like clean html, I understand your references to Word and why you recommend the p tags etc but I can't help wondering... The majority of people *I know* that want a CMS don't want to know or learn about p or img. They know and use Word (or somesuch) and think it's perfect to be able to make a new paragraph using 2 returns when adding content, cause it's what they know, and it's economical to do updates in office instead of outsourcing. Isn't that (and organisation) really what CMS is about?

        hmmm, so, does this mean the CMS should change?

        [Reply ]

        • Clean HTML

          Posted on 2004-11-15 07:23:58 By rck[110]

          changed On 2004-11-15 07:31:01 Edited By rck (reason: )

          The majority of people *I know* that want a CMS don't want to know or learn about p or img. hmmm, so, does this mean the CMS should change

          What I am writing about is how to write content with phpWebSite right now. In the midterm, say for phpWebSite 1.0.0, I'd suggest a different way of entering content.

          While the approach here is perfectly valid and will give you very good results, it's quite technical. Shouldn't be to hard, now that there is a way how to do your html, to automate it with phpWebSite.

          And so, yes, I guess the CMS should change sooner or later. phpWebSite still isn't finished, though. "early adopters", like me, can do it the way I've described here.

          [Reply ]

        • Article Manager vs. Page Master

          Posted on 2004-11-15 07:29:45 By rck[110]

          OK, I get that. Is this any different than the way PageMaster operates images?

          No, both use the same approach here.

          because of its add to Menu aspect

          this is available in Article Manager as well.

          and I didn't need multiple paging

          Whatever works for your. You don't have to use multiple paging and will get the same results in AM that way. While Page Master looks a bit cleaner on the one hand, Article Manager has more features than Page Master and is improving all the time.

          Take for example the update to 2.9. We now have support for "Just blog it". That is, we can add content by a bookmarklet from any page on the web we want to. Also, the actual management component of Article Manager can do more things than Page Master. Just give it a try.

          [Reply ]

RSSAll Articles
2008, 2007, 2006, 2005, 2004

What's Related

Article Manager


Latest Updates

updated by freddiemac1993, 2013-06-14

Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)

Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)

Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)

Zu den KO2100 Foren