Fork me on GitHub

Question about adding pages...  Bottom

  • I'm extremely new to coding PHP pages and i've gotten a page designed and working but what i'm wanting to do is basically "apply" a theme to this page that i've created.. how would i go about doing this?.. is there a program out there that can do this or does dreamweaver have the capabilities to do it automatically.. any help w/ this matter is greatly appreciated if i've asked this in the wrong section please point me in the right direction.. thanks again

    Chris

    edit:
    --i should word this a bit better.. the theme i want to apply isn't one that i created.. what i meant to say was how would i apply a theme to a page that i have created... sorry for the confusion..
  • Hi there,

    When you say you have "gotten a page designed and working", do you mean you have installed Postnuke? Basically themes for postnuke come as directories that contain the files that control graphics display; like a graphical user interface for the CMS.

    There are many of these available and bascially all you have to do is download a theme then upload to your themes directroy and set it as the default theme in admin -> settings.

    Regards
    Lobos

    --
    -Lobos
    Professional PHP Framework Services: Concept, Development and Deployment
  • I have the same questions as Lobos...

    But assuming you created an HTML web page or simple PHP page and want to integrate it into PostNuke so it has the same look/feel, that's easily done by several methods. Do a search in the forums here for Blank-page.zip and that'll probably be the quickest method.
  • A current limitation, though one various projects seek to address to some degree, is that it's purely database-driven and you can't do much in the way of designing content. For instance, the Sections module contain plain HTML text, no pics. There are modules like Pagesetter and ContentExpress trying to allow for more layout freedom. Search the 3rd party modules forums or mods.postnuke.com.
    If you've designed your own HTML/PHP pages and want them integrated, there are a couple of options: htmlpages allows for posting web pages, but it also stores its content in the database, and has the problem of being subject to the allowed HTML tags in the Settings control panel. So it's usefulness is limited for content with images and javascript. PostWrap can integrate your pages, but it loads pages into an iFrame which doesn't apply the theme to the page, and you get scrollbars in the frame for long content. Static_Docs is more of a filesystem abstraction layer, if you can get your head around that, it also allows for displaying HTML pages. An example is the documentation on the PostNuke site. I'm not too familiar with it. For single pages in the PostNuke root, there's the aforementioned Blank Page hack where you add some code before and after in your page to integrate the site, eg there's one here. However that's only good for one or two pages when they reside in the PN root.

    Or you could try my script, NukeWrapper. It allows full integration of HTML/PHP/txt documents anywhere on your site subject to the Permissions, and can convert links on the page to also open through NukeWrapper. It also integrates external web pages. For the moment, it's a standalone script though, so preferences are set at the beginning of the script by setting the variables. I haven't integrated a search function yet, though it's in the works.
    Downloads page

This list is based on users active over the last 60 minutes.