Perrin Harkins wrote:
> On Sun, 2004-09-19 at 22:34, gada@... wrote:
>>I've got an instance running that uses the Default set, and I've managed to set
>>up the website from content-wise. I created articles and then inserted paragraphs.
>>After reading the html template documentation, I'm still unclear - does
>>everything besides content have to be written in the Perl elements?
> You don't put any content in the Perl code. The Perl code is just used
> for defining the structure of the data you will allow people to enter
> for different kinds of stories. It is used to generate forms to enter
> the content into, and then the content is merged with the HTML templates
> at publish time. All of the HTML other than content goes into the
Yep, I understand the concept, but the details are unclear to me :-/
Suppose I want to insert a top navigation bar. Do I create a template
for it and then insert the possible values ('home', 'search', 'blah')
into the Perl code?
>>What would be nice is some kind of document which eases the "culture-shock" and
>>explains it slowly, or maybe an example website that shows what the Krang setup
>>is like and what the results are like. Since Krang works behind the scenes,
>>looking at the finished product gives me no clue as to how they did it.
> The thing is, these are pretty universal concepts. Practically every
> CMS works this way, including the ones written in PHP. It's hard to
> know where to start explaining.
What I meant was that coming from not-using-a-CMS background (i.e.
traditional PHP/MySQL data driven website), is hard. Looking at both the
Krang and Bricolage websites, I couldn't find a howto or tutorial for
complete CMS newbies.