Page 1 of 1
[Solved] Possible to use more than one article "categor
Posted: Wed 30. Mar 2005, 22:47
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
Posted: Thu 31. Mar 2005, 00:02
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
Posted: Thu 31. Mar 2005, 09:49
by froderh
Thanks for your help, spirelli.
I will play a little with your ideas.
Regards,
Frode
Posted: Thu 31. Mar 2005, 13:21
by froderh
Hi,
I am sorry, but I am still a bit lost after playing around.
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
Posted: Thu 31. Mar 2005, 14:03
by spirelli
Posted: Thu 31. Mar 2005, 20:39
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!!
By the way, is it possible to pick a random article from an article collection?
AtDhVaAnNkCsE
Regards,
Frode