[Solved] Possible to use more than one article "categor

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
froderh
Posts: 12
Joined: Wed 30. Mar 2005, 22:41
Location: Stavanger, Norway

[Solved] Possible to use more than one article "categor

Post by froderh »

Hi,

I am trying to make a layout that in the main part has the contents of one article-category, and in the right part has the contents from another one.

In my example the main part is News and the right part is a quote of the day-thing.

Can that be done?

Thanks in advance!

Regards,
Frode
Last edited by froderh on Fri 1. Apr 2005, 10:06, edited 2 times in total.
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

Welcome. Yes, can be done.
Best to use the latest Development Release (DEV 1.2.1) which is just as stable as The latest official version but with better features. Also supports very well content in different areas of the page.
You then can also fiddle around with iFrames to get content from different categories showing or via the {URL:http://domain.com/page.html} Replacement Tag http://www.phpwcms-docu.de/index.php?system_tags
froderh
Posts: 12
Joined: Wed 30. Mar 2005, 22:41
Location: Stavanger, Norway

Post by froderh »

Thanks for your help, spirelli.
I will play a little with your ideas.

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

Post by froderh »

Hi,

I am sorry, but I am still a bit lost after playing around. :oops:

I have this site structure:
Home
- menu 1
- menu 2
- people (alias: people)

I want a page divided in two, where one half shows news and the other half shows an article from people above.

I use {CONTENT} to get news, and then I understand that it should be possible to use {URL:http://domain.com/people.php} to get information from people in the site structure.

But I get "Warning: file_get_contents(http://localhost/helgesen/people.php) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\xampp\htdocs\helgesen\include\inc_front\front.func.inc.php on line 2448"

Guess there is something I am not understanding...

Thanks in advance for any tip!


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

Post by spirelli »

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

Post by froderh »

Hi again,

{URL:http://localhost/famhelgesen/index.php?quote} worked perfectly, but it took me some time to figure out that I needed to use a simple layout and template for the quotes articles. Working good now!! :D

By the way, is it possible to pick a random article from an article collection?

AtDhVaAnNkCsE

Regards,
Frode
Post Reply