Fork me on GitHub

Watch

GitHub Core

Show your support for Zikula! Sign up at Github account and watch the Core project!




GitHub Modules

Forum Activity

Forum feed
  • mesteele101 responded to »«
  • mazdev responded to »«
  • ehdwma created topic »«
  • mesteele101 responded to »«
  • mdee created topic »«
  • nestormateo responded to »«
  • damon responded to »«

» Visit forum | » View latest posts

Zikula Blog

  • on Mar 07
  • on Mar 01
  • on Feb 24
  • on Jan 13
  • on Nov 12
  • on Aug 17
  • on Aug 07

Can I have my header be unique to the page?  Bottom

  • As in: When the user clicks the News button it says NEWS on the top header and when the user clicks Links it says LINKS in the header and so on....like the header graphic not just some text.....thanks :)......example on caridilaw.com then click links and/or news and both will say CaririLawNEWS at top since I dont know how to have it differentiate between either.....thanks :)
  • up
  • Yes it's possible with AutoThemes to make different modules have a different look. Look at the AT-PMS theme.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • When did AutoThemes become part of the core? It's not in my distro.

    Slugger
  • Did I say it was? He asked how to do it, I told him it would require AutoTheme, left out that Xanthia allows for the same type of thing, but there are no examples of this that I've seen in Xanthia at this time.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • It would be trivial with Xanthia using a little bit of template logic. Split your header out into a seperate template. Then use something like




    The header for each module will then be module_name-header.htm in the templates directory for the theme. e.g. news-header.htm.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Code

    <!--[pnmodgetname assign=currentmod]-->
    <!--[include file=`$currentmod`-header.htm]-->



    Where would I put this code?
  • I modified my header.php in PN 0.726 with this:

    Code

    global $info, $hometext;
            echo "<title>$info[title] :: ".pnConfigGetVar('sitename').' :: '.pnConfigGetVar('slogan')."</title>\n";

    Just search for

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