might be a dumb question, but... (fixed article)

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
mnl
Posts: 1
Joined: Fri 1. Apr 2005, 21:28

might be a dumb question, but... (fixed article)

Post by mnl »

Hello,

I am quite new on CMS's and stuff, so please bear with me. :-)

I arranged a tricolumnar view.

I would like to have separate "modules" on the side columns. That is, the left and the right columns should be somehow split in two or more "boxes" each. On one or more of these boxes I would like to place fixed articles.

As an example one of my articles should be composed of, say, a disclaimer for the site or a list of programs I have installed on my machine (just an example). I would like this to be an article and not a fixed part of the column, to ease updating and replacing it at a later time.

What should I do to accomplish all this?

Thank you for your attention.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

if you use Ver.1.2.1 you're able to use 'Content Anywhere' - what means that you can place Content in seperate Areas like you want.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
froderh
Posts: 12
Joined: Wed 30. Mar 2005, 22:41
Location: Stavanger, Norway

Post by froderh »

Hi,

I am pretty new to phpWCMS myself, but I have tried to make a tutorial showing one possible way to implement this.

It would be fun to have some more experienced users comments on better/ easier /more effective ways to do it. :)

http://home.online.no/~froderh/tut3col.pdf

Regards,
Frode
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

nice work - but there is a easier way in Ver. 1.2.1

1. Make a Template like you do
2. insert in the Right-Area the Tag {RIGHT}
3. in Article-Content you can select where it will be shown
I don't know but I think the Scrollbar in English will be named 'Output'
in German it is called 'Ausgabe' and there you can select where the Output of the Contentpart will be shown ( CONTENT - LEFT - RIGHT - FOOTER - HEADER )
But you

you see?
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
froderh
Posts: 12
Joined: Wed 30. Mar 2005, 22:41
Location: Stavanger, Norway

Post by froderh »

Hi,

A great tip.
Is there a place that shows the new functionality in v1.2.1?

Regards,
Frode
froderh
Posts: 12
Joined: Wed 30. Mar 2005, 22:41
Location: Stavanger, Norway

Post by froderh »

Hi again,

After having played around a little bit it seems to me that I am not able to get the results I want with {RIGHT}. Does {RIGHT} only show the content part labled right, when the rest of the article is displayed in the content area?

I want the information in the right column to be completely disconnected from the article shown in content.

Possible?

Thought of another thing. Would it be possible with {RIGHT} to add two boxes of information with some graphics in between?

AtDhVaAnNkCsE

Frode
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

froderh wrote:I want the information in the right column to be completely disconnected from the article shown in content.

Possible?
put your right content onto a completely blank page: no margins, no nothing (so you'll have to set up another page layout and template, but it's always hanfy to have a blank page!). Then use a HTML content part with the {URL:http://youdomain.com/blankpage} tag - http://www.phpwcms-docu.de/index.php?system_tags - to call the content that is on this blank page. You will still have to set up this content part with this tag for each article. But if you need to change the content of the right hand column you'll nedd to have to do it only once.
froderh wrote:Thought of another thing. Would it be possible with {RIGHT} to add two boxes of information with some graphics in between?
I'd guess you can do the whole thing twice, or set everythig up on the blank page...
froderh
Posts: 12
Joined: Wed 30. Mar 2005, 22:41
Location: Stavanger, Norway

Post by froderh »

OK,

That's what I thought and how I did it in my description.
So {RIGHT} can't really do what mnl above is asking about then?

Regards,
Frode
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

froderh wrote: So {RIGHT} can't really do what mnl above is asking about then?
Well, kind of. you still have to give the content of the right colomn on each page by placing a content part for it into each article. But as I said it could be as simple as containing the {URL:....} tag. And then you would have just one instance of the Article.

Another possibility is to place the {URL:....} tag straight into the template(s). Then you don't have to do it for each article any more.

So, to me it is possible to do with a little work arround. The {RIGHT} tag enables you to fill the right column with different content every time, or you can call an article by putting the {URL:....}tag or an iframe or something tin the right column of the template and have the same every time. Or you can combine these two and have your permanent content and add also page specific elements.
Post Reply