Page 1 of 1
Article does not display in front end
Posted: Wed 31. Jan 2007, 06:16
by tccarpenter
I have two articles on my home page, 1 in the center {content} block, the other in the {left} block. The one in the left does not display in the front end/webpage. All is set to visible, I'm not sure what else to do.
The preview of the page is correct and can be seen here:
http://www.theseafarerscenter.org/index ... ,3,0,0,1,0
But it will not display here:
http://www.theseafarerscenter.org/index.php
Thanks in advance for any help!
Posted: Wed 31. Jan 2007, 06:56
by flip-flop
Hi tccarpenter,
did you used two CPs (content parts) in the same category?
E.g.
1. CP text w/image (picture at the left) -> {LEFT}
2. CP text w/image (only text) -> {CONTENT}
Regards Knut
Posted: Wed 31. Jan 2007, 16:44
by tccarpenter
I did use two content parts in the same category.
Plain text = {content}
WSWYG html = {left}
sounds like this may be a problem??
Posted: Thu 1. Feb 2007, 03:31
by tccarpenter
I continue to search the forum for some help with this. I have two articles that I want to post in full on my home page (same site level). One is to be displayed in the {content} block, the other in {left}. The closest I can get is a list of the two on the content block or one fully displayed there.
I've checked the documentation and find nothing. I think I'm not understanding this use of articles to build content on a page. I was assuming I would use several to manage different types of content.
Can someone point me in the right direction??

Posted: Thu 1. Feb 2007, 07:01
by flip-flop
Hi,
there we have two solutions:
1. One category: Several articles like "news". Every Article has it´s own summary and a list of CPs.
(Admin -> site structure -> site structure (child of): xxxxx -> top article count: e.g. 10)
At Article -> edit article basis information you can input your text and picture into the summary. All summaries will list completely. But you can´t select the display:
2. One category: One article with a list of CPs and you can select the display:
(Admin -> site structure -> site structure (child of): xxxxx -> top article count: -1)
The right for you is the second one.
Regards Knut
Posted: Thu 1. Feb 2007, 16:36
by tccarpenter
Knut-
Thanks for your guidance here. However, I'm not sure your #2 solution is getting me where I need to be. Essentially, I want to have some small articles/summaries listed in the left column of my home page. I also want unrelated articles (in full) in the main content area.
I'm not understanding how I make that work with the method you suggest. Doesn't a category = a new page?
Posted: Sun 4. Feb 2007, 15:38
by tccarpenter
Can anyone else shed some light on this for me. I know that I must be misunderstanding some basic principle about how to arrange articles in different columns.
I've tried everything I know and could really use some help. I like this CMS for it's flexibility as ease. I may need to look at an alternative if I can't sort this out
Again, thanks in advance for any help!
Posted: Sun 4. Feb 2007, 17:15
by Klappstuhl28
hi tccarpenter,
maybe the show-content will help:
http://www.phpwcms-docu.de/article_tags.phtml
Copy the tag into the "left"-part of your template.
But with this solution you have to create a template
just for this single article.
lars
Posted: Sun 4. Feb 2007, 17:44
by tccarpenter
Lars-
I tried that and could not get it to work. Am I trying to do something phpWCMS is not capable of?
I need to have the ability to have articles displayed in both the main content and left areas. It seems that maybe I'm on the wrong path?
Posted: Sun 4. Feb 2007, 18:43
by Klappstuhl28
hi
I know that it really is capable because i already worked with it.
Please make sure that you entered the right article-id
or the CP-id as the describtion shows and not any other.
You use 1.2.8, right? And in your template is something like
{CONTENT} or {SHOW_CONTENT:xxx} in the left block?
<div id="left"><div style="margin:1px 0 0 0; padding:0 0 0 0; clear:both;">{SHOW_CONTENT:xxx}</div>
You wrote: "All ist set to visible" and all on "public"?
I think that there´s something wrong with the template.
Lars
Posted: Sun 4. Feb 2007, 19:18
by tccarpenter
The template I'm using was one I found (Wetzel Media...nice template!)and modified (the css only) a bit. The instructions with the template said that all code should be dropped into the "main" area of the template.
That code is:
<div id="container">
<div id="header">{HEADER}</div>
<div id="navigation">{NAV_ROW}</div>
<div id="left">{LEFT}</div>
<div id="content">{CONTENT}</div>
<div id="footer">all rights reserved © your name | your company 2006</div>
</div>
Does this help you see what I may have wrong?
Posted: Mon 5. Feb 2007, 00:24
by Klappstuhl28
tccarpenter wrote:
That code is:
<div id="container">
<div id="header">{HEADER}</div>
<div id="navigation">{NAV_ROW}</div>
<div id="left">{SHOW_CONTENT:xxx}</div>
<div id="content">{CONTENT}</div>
<div id="footer">all rights reserved © your name | your company 2006</div>
</div>
lars
Posted: Mon 5. Feb 2007, 02:04
by tccarpenter
Lars,
Thanks so much. I finally understand it!
I assume to have this not locked in for every page, I need to apply a different template to each page?
Thanks!
Posted: Mon 5. Feb 2007, 06:34
by Klappstuhl28
... only when you need to show a specific content
in the left "container". If not: use the standard template.
I use a special template for my main topics so each page
has it´s own main-picture. You just should give them
significant names and everything is ok.
regards
lars
Posted: Tue 6. Feb 2007, 10:41
by professays
You gave good clarifications.