2010-11-01, 04:58:01
yojoe Wrote:dominionit: I've got couple questions about this plugin.
I haven't tried it yet, so those may be just theoretical questions.
1. Can I use multiple instances of your plugin ?
example: I'd like to add short news to website, as well as write longer articles (and link them inside short news).
Both of such modules working independently, being available from menu like:
news | articles | about | contact
2. I'd like to use such news/blog system, to serve blog entries from a subdomain url.
example: small website available under www.mysite.tld, containing
home | about | offer | contact | blog
blog available under blog.mysite.com, but without base website menu (I'd create an additional menu manually).
problems: I could add a condition to show menu, like comparing current URI path, and if it doesn't contain "blog" string, then it would show the base website menu.
But how could I show the blog content using 1 GS instance ?
Only possible solution I know, is to proxy the content from certain address using mod_rewrite. But I would also like to know a solution, when hosting doesn't offer mod_proxy plugin for apache.
I'm not a webdev, thus I don't know if creating in a subdomain directory a php file with 1 line:
<?php require("../index.php?id=blog"); ?>
would do the job. I assume that require/include command won't work with friendly urls turned on.
Hi there. If I remember correctly you can do a redirect on a subdomain thus you can redirect it to a url thus to a page that you want the blog to display on. Basically the blog get's displayed where ever you add the (% blog:blogID %) tag in a page. thus if the page is a page without a menu item then it is hidden basically thus you can redirect to it via fancy urls if you want for example mysite.com/hiddenblogpage/
or just plain direct mysite.com/index.php?id=hiddenblogpage and then the blog willbe shown as you required.
Hope it make's sense and help. If I can suggest. Install the system and play with it , then you might get a better idea.
hope it helps
have a nice night.
Johannes
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.