News
We're using blank.php to create a number of HTML pages into PN format... works great, with one exception. It requires the page created to be in the root directory. I've tried everything I can think of to make it more directory friendly, but it's not working right.
Here is a link to the page in question:
http://www.hostpc.com/nuke/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=7&page=1
I want to be able to toss each "resolution" into a seperate directory, but I can't figure out how to code the "Blank.php" template to conform and recognize seperate directories.
The code in the blank.php form is:
--------------------
include 'includes/pnAPI.php';
pnInit();
include 'includes/legacy.php';
// eugenio themeover 20020413
// pnThemeLoad();
# includes the mainfile functions and the header junk
if (!isset($mainfile)) { include("mainfile.php"); }
include("header.php");
--------------------
it's currently installed in a /httpdocs/nuke directory ...
but if I want to store the "resolutions" in a directory like:
httpdocs/legislature/resolutions/02
I feel like I'm brain dead.
how would I modify the above code? Your support would be GREATLY appreciated, and probably save my job :)
Joe
Footnote: 1
I posted a comment under the previous article showing how to display centre blocks in tables by wrapping them in html blocks, but have received numerous questions about it. So, I have put together a documentation which explains more depth. It can be found at the following link:
Expanding Center Blocks.
If you may, please post a review for this doc so I can determine if it is helpful and easy to use for future reference.
It has been written specifically for my hosting company but is easily adaptable to any other web host. The only step that would be different is the creation of databases. Everything else should be exactly the same no matter what host you are with.
My aim for this tutorial is to make PostNuke seem easier to use and not something that is reserved for "Professionals" or "Web Developers" only. It is a great system and should be used by all.
If you like the sounds of this, then go for it. It sure makes life with PostNuke installations a great deal easier and once you have installed it once or twice, it becomes a breeze. This tutorial just makes breaking the ice a little more friendly even for those who aren't professionals.
The Internet Archive created the Wayback Machine. This nifty little tool makes it possible to surf pages stored in the Internet Archive's web archive. It was unveiled on October 24th 2001 at Berkeley's Bancroft Library. You can visit the archive at
www.archive.org. Enter an URL and you are ready to go back in time. I have included some of the links from the archive:
Snapshot of PostNuke.com on July, 21st 2001
Snapshot of PostNuke.com on September, 25th 2001
Note: For obvious storage reasons the images and cascaded style sheets and other redundant data wasn't included in the archive.
Is it possible to setup multisites if you don't have access to apache config file, i.e. if you are on normal paid hosting account?
Second question is that I wish to make following feature on site with multisites configuration based on PN .714:
On main url there are all news and content listed in default theme.
(http://www.split.info)
On news topic "sport" there is subdomain used (http://sport.split.info) and with new theme for sport and possibility to add different or similar blocks from that on main url with sport topic in city blocks, links on sport, etc.
On news topic "politics" there is subdomain used (http://politics.split.info) and with new theme for politics and possibility to add different or blocks
similar from that on main url with politics topic in blocks, links on politics sites, pool on politics ... etc
Or is it maybe better to have 4 separate installations for each subdomain one with 4 different themes and databases sharing only users table and news table for specific topic from main site since I wish to use different content in blocks for each subdomain?
If I go on this solution to have multiply installations, how to make in theme or News module and in recent news block for each subdomain to display only news from specific topic from shared (main site) database, as it is shown in sample:
http://sport.split.info - Only news and recent news block for topic "sport" from shared db (main db)
http://politics.split.info - Only news and recent news block for topic "politics" from shared db (main db)
Separate databases for each subdomain will be used only to enable to have content and blocks different from main site.
This site will be my second commercial website beside this one what I am working on too:
http://www.dalmacija.info
and this is preview (beta screenshot) of this city portal I am working on:
http://www.split.info/beta
Your help would be appriciated
(I am not from English speaking area, so if you run on some error in text you know the reason)
Regards
Ivan Strigo
--------------------
http://www.thebix.com
htp://www.cmsarchive.com