Question about pages

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Question about pages

Post by Timbalu » Thu Feb 13, 2014 10:02 am

That depends, if you want to have the PHP output to sidebar or content area. For the first install in sidebar plugins, for the latter in event plugins.

And NO, the permalink path is the "staticpage like" path, the path under which your content is readable.
The name is for URL rewrite purposes and for plugin branding
and the include file path for ...!
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

FireAdmin
Regular
Posts: 21
Joined: Fri Feb 07, 2014 7:00 pm

Re: Question about pages

Post by FireAdmin » Thu Feb 13, 2014 10:17 am

This is the main issue:

i need to know what is the way in Serendipity! I need to know how to show content in the blog area or it has no sense to use a blog and no other pages.
So what do i have to type in permalink to show php pages in the blog area?

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Question about pages

Post by Timbalu » Thu Feb 13, 2014 10:45 am

You could just test it yourself, couldn't you? :wink:

Permalink ie. "/pages/collaborations.html" (this is virtual - the URL)
Name "collaboration"
Include path "/the/full/path/to/your/php/file.php"

Access via http:// fireofdarkness.altervista.org/pages/collaborations.html
Output in #content area.

Note: Serendipity is mainly a blog system, designed for this purpose. Things like extra php pages etc are just additions to make its usage more CMS like. So you will have to think about ... what you really want to do with it.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

Post Reply