Exactly where does a menu block get loaded from the DB?  Bottom

Go to page [-1] 1 - 2:

  • Quote

    Which reminds - how do I get the missing tabs configured in?


    Go to the admin panel, find the Admin module. To edit the existing admin categories, click on the red pen. To create a new category, click on the "Create Module Category" option in the tab menu. Then go to "Admin Panel Settings" and you can start arranging modules in the categories you want. You don't currently have all the standard categories because you upgraded from PostNuke, and the categories defined in PostNuke were preserved.

    AFAIK, you can't specify regex conditions. I'll let Michael guide you there. He's been around these forums since 1970, has a long white beard and lots of experience.

    Please don't trounce us! icon_eek We're both extremely sensitive! icon_lol

    Just be patient about the learning curve. Zikula's a great package, and you'll see that it can do ALL you want. icon_smile Just come and post when you get stuck. There are lots of people that will help you if they can.

    --
    David
    http://zikula.tv
  • Quote

    Which reminds - how do I get the missing tabs configured in?

    As I said, it's an organizational thing, it's not required to do it. If you know where the admin links to the various modules are, there's no need to worry about it. I notice that David already answered how to accomplish it if you wish to.

    Quote

    I assert that my description is more accurate than Halbrook's and this is why:
    Actually mine is how to do exactly what you stated you wanted to do. You have control down to the arguments, so you can do it on a specific page by page level.

    Quote


    Using the function/parameters capability of the advanced placement stuff, you cannot assign a many-to-one affinity of multiple pages to a specific menu block.

    That could be viewed as a weakness of the function, or as a strength, debatable on that. Personally if you need one block on several pages, I'd use custom page templates to accomplish it. That would require a theme modification, but one that's not that difficult.

    Quote

    For instance, I want to show a particular Core menu block in the following situations:
    1) http://localhost/index.php?module=htmlpages&func=display&pid=5
    2) http://localhost/index.php?module=htmlpages&func=display&pid=6

    Now, using the module(s)/function/parameters capability of the advanced placement stuff, how would you do this? Unless these fields validate Regex strings or equivalent,

    regex wouldn't work, I don't think, the custom argument fields takes a comma separated list. However that's not to say you can't try it. It shouldn't break your ability to undo it, just not work.

    That said, personally, I'd create custom block positions in the main blocks admin for however many of these custom menus you need, and create custom page templates based off of the master.htm for your theme. If you have 5 different menus that need to be used on 12 different pages, then you'd create something like master1, master2, master3,master4, master5 (or whatever you want to call them, and .htm on all of them) in your theme's templates folder, adding the code indicated for the block positions you created, as needed. Then you can make changes to the page configuration for your theme in the theme admin. You'll still have to make one define for each page, but it will get the job done.

    Quote

    (and I trounce both of you in the areas of HCI, cognitive psychology and IA experience).

    Which is really irrelevant to the discussion, this is about getting ZIkula to do what you need to do, not why you need to do it.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Gents:

    I'm a little disappointed at the amount of work necessary to accommodate the usability I require by following all your helpful steps - thanks for that. I'm going to stick with my Core change to pnTheme.class.php, since it already handles all current and future menu block context affinities.

    I was put aback by the 1) amount of work, 2) the amount of time, 3) the subsequent maintenance challenge of creating a whole new series of master.htm's and custom blocks. A more straightforward solution would have been to handle regex's in the functions & parameters fields.

    David - thanks for your info - I'll get 'round to adding in those missing admin tabs. It would've been nice if the Zikula upgrade added them in, but I'm relatively happy and impressed with the smoothness of the upgrade.
  • I know that regular expressions are very powerful. But I think it would be quite complicated to implement support for them. Plus there aren't many people that are capable of writing them -- you have to have quite a bit of IT expertise/knowledge to make them work. Although they're a great tool for power users.

    --
    David
    http://zikula.tv
  • lhale


    I'm a little disappointed at the amount of work necessary to accommodate the usability I require by following all your helpful steps - thanks for that.

    There may be some other ways to do it, but it's probably even more complicated. There is one other thing I hadn't thought about, and I don't know why, because I'm doing something similar on a site I'm working now. I'm using Content to manage the information pages for my Church's site. I'm working on making a few custom layouts that will give me what I need, but my basic two sites are a narrow left column and two equal center & right columns. The left column will be a Table of Contents for the area, the other two will have topic specific blocks of data.

    For instance, on the "Groups" page, I'll have a main Groups Content page that will give a general intro blurb about the differen groups (Kids, youth, Men, Women, etc). The Left column will have links to pages specificly for those groups. The individual groups will be sub pages of the main Group page. The TOC will stay the same from page to page, but the rest of the page will change to show a categorized event list for the group, information about the group and any sub groups, a contact form, etc. I'm still working on my customized templates for Content, because I've gotta deconstruct the pre-installed templates to figure out the process. Once I figure out what I'm doing, I'll document it and put it in the Wiki here, and submit it to Jorn, because if there's docs on how to do it, I ain't finding them.

    Quote

    David - thanks for your info - I'll get 'round to adding in those missing admin tabs. It would've been nice if the Zikula upgrade added them in, but I'm relatively happy and impressed with the smoothness of the upgrade.

    There's a reason it doesn't do that for you, some people don't use it. I forget when the Tabbed admin panel came in to being, but prior to that, it was all on one page. Some people like that, others prefer to categorize them, but not everyone will want every tab, or categorize things the same. I have a few extra tabs in some of my sites for sub admins.

    --
    Home Page | Find on Facebook | Follow on Twitter

Go to page [-1] 1 - 2:

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