PostNuke

Flexible Content Management System

News

Question on custom category headers (using overrides, I think!)

I tried this several different ways, and nothing works quite right. I know I'm doing it wrong! I tried stuff like this in theme.php and in funcs.php:

if ($info['catid'] > 0) { // show category headers
echo "(a href="$links[category]")(img src="".WHERE_IS_PERSO."images/$info[catid].gif" Alt=""._WELCOMETO." $sitename" border="0")(/a)";
}else{
echo "(a href="index.php")(img src="".WHERE_IS_PERSO."images/logo.gif" Alt=""._WELCOMETO." $sitename" border="0")(/a)";
}

Note: Changed the > tags to ) to make them show up here!

I kept getting doubled logos and left nav bars. I tried telling the script:

if ($info['catid']){ // show category headers
$catheader= include("cat/$info[catid].txt");

That didn't work either. I know there has to be an good way to do this, but I sure could use some help figuring this out.

Thanks so much, and just wanted to say that the new look of PostNuke rocks! Love the tabs too!
Kim:)

Problem with Caching of pages

Recently, or perhaps since the "rogue" came in, I find that updates / changes to the PostNuke site are not seen by me. I am 100% positive that my browser is not caching the pages.

Even after refreshing many times, I don't see changes. If I put a double slash to a particular URL such as : http://www.postnuke.com//modules.php?op=modload&name=News&file=index

then perhaps it will load fresh news.

This is mighty strange, no?

XML data integration in PostNuke with Sablotron

Briefly: i'm constructing a module (with Mutant 0.64: I hope its not needed to rewrite it completely in order to accomplish to 0.70...) able to integrate XML sources with PostNuke, using XSLT transformations with a Sablotron parser, preserving themes, look etc, in a very dirty but functionnal way.

In the past monts I have developed a very complex commercial site for a customer. For security and other architectural reasons I've decided to develop it in XML/XSLT with PHP/Sablotron on Apache. The XML data were (and are) dynamically generated by a MS-SQL2000 server with IIS5. The querying is made via HTTP calls to the (very smart) XML module of this RDBMS. MS engineers works well, but sometimes for us also.
Recently, during a Web peregrination, I've encountered Nuke and PostNuke, and were folgorated in the Damasco way.
My first attempts to integrate my code in blocks, tables etc via simple php scripts inclusion was successful, but not very sactisfying: for example, the themes, font styles, color codes were not inherited from the XSL templates, and so the environmental variables etc.
In effect, the XML/XSLT transformations were producing directly the final HTML code for the page/block, so the two environments were impossible to integrate: only inclusion were possible.
BUT: who says that the XSLT parser output HAVE TO BE HTML ? It could be PHP, why not ?
In my new module, XML/XSLT transformation produces PHP code (for the most part echo '...';) that is after EVAL(uated) by the PHP parser.
The only thing you have to do is to write

and so on in the XSL Template, insteadof
.
There are a certain number of troubles to solve and tricks to adopt in order to make all running and functionnal. But IT RUNS!
I think that this kind of technique can be useful for RSS and PostNuke's backend data sources integration.
If someone is interested in it, i wait for comments and I will respond to emails.
Thank you (And Czech Gingerall engineers) for your marvelous job!



New Look -- Site Changes

We will still have quite a bit to do with the organization of the site, as well as some things with the theme (such as setting up the category overrides for the cats and working out a few of the bugs), but I was like a kid at Christmas and wanted to get the theme up tonight:)

I apologize in advance for the mess in the next couple of days, but it will be worth it as we get a nicer look and some style to our little creation.

Vanessa deserves a big pat on the back for the work on the theme, and a personal THANK YOU from me.

Uniformity would be cool...

I would be looking forward to standardisation of this rather easy issue.

Just use tags for the module title and its description.
Example:

Sections:

==========================
SECTIONS
==========================

==========================
DOWNLOADS
==========================

==========================
REVIEWS
==========================

etc. Do you get my point?

Cheers, Titus.
Footnote: 1



Search page

There is a kind of bug on the search page :
I have the Download, FAQ and Reviews modules turned off, however I still can perform a search on them which resuts to an error.

I think this is hardcoded (see below)... instead it should check if the module are enabled or disabled :

Search Downloads
Search FAQs
Search Web Links
Search Reviews
Search Stories & Topics

Regards and congratz for Rogue, I like it !
First Page Previous Page Page 148 / 277 (1471 - 1480 of 2763 Total) Next Page Last Page