Article does not display in front end

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
tccarpenter
Posts: 12
Joined: Sat 6. Jan 2007, 23:05

Article does not display in front end

Post 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!
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
tccarpenter
Posts: 12
Joined: Sat 6. Jan 2007, 23:05

Post 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??
tccarpenter
Posts: 12
Joined: Sat 6. Jan 2007, 23:05

Post 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?? :?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
tccarpenter
Posts: 12
Joined: Sat 6. Jan 2007, 23:05

Post 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?
tccarpenter
Posts: 12
Joined: Sat 6. Jan 2007, 23:05

Post 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!
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post 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
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
tccarpenter
Posts: 12
Joined: Sat 6. Jan 2007, 23:05

Post 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?
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post by Klappstuhl28 »

hi

I know that it really is capable because i already worked with it. :D
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
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
tccarpenter
Posts: 12
Joined: Sat 6. Jan 2007, 23:05

Post 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 &copy; your name | your company 2006</div>
</div>

Does this help you see what I may have wrong?
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post 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 &copy; your name | your company 2006</div>
</div>
lars
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
tccarpenter
Posts: 12
Joined: Sat 6. Jan 2007, 23:05

Post by tccarpenter »

Lars,

Thanks so much. I finally understand it! :D

I assume to have this not locked in for every page, I need to apply a different template to each page?

Thanks!
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post 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
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
professays
Posts: 2
Joined: Tue 6. Feb 2007, 10:38

Post by professays »

You gave good clarifications.
Post Reply