Jump to content

a-ok

Members
  • Posts

    812
  • Joined

  • Last visited

Posts posted by a-ok

  1. Hi @sforsman and thanks very much for this answer. This makes perfect sense and is actually how I structured this before, and the 'Show if' worked. However, I needed to add filters for this, so you could view only Jobs, or only Funding news articles. /news/jobs/ or /news/funding which is why I ended up making each news post a child of those categories. If there's a way to have this /news/jobs/ with them acting as 'categories' then greta but I didn't think this would be possible either.

    Nonetheless, thanks so much for your explanation and help.

  2. Thanks both for your help.

    I guess since I need to use this in the admin, not as a front-end form, then I cannot show a specific field based on the parent_id/parent? Would be nice to expand this functionality out in the future, as I guess it could become quite useful.

    Here is my setup... I have a 'News page', with two child pages 'Jobs' and 'Funding'. These child pages act as categories/filters so users can view all news, just jobs, or just funding. Each page within these categories uses the same template, and has a field 'closing_date' and 'attachments' so if the page you are adding has 'Job' as a parent, then it should show these fields... otherwise not. So maybe I just create two templates... but just thought I would try to make it as global as possible.

    Thanks again

    R

  3. Hi @LostKobrakai, thanks for the help.

    The Pagefield, to work as I need to, needs be either 1062 OR 1063 to then show the email field. If it is blank, it simply won't show.

    So, to generalise...

    If Pagefield is empty, no email field.

    If Pagefield = 1062 then show email field.

    If Pagefield = 1063 then show email field.

    So I guess this would work...

    chair_vice!=''

    If the Pagefield (chair_vice) isn't empty, then show the email field... just tried it... yes this works!

    And yep, tried second suggestion... no implementation yet :( Just upgraded too.

  4. Hi folks,

    Firstly... what an incredible CMS. Just been a breath of fresh air and really finding it so powerful. So thanks!

    Just a quick question. I read on the Inputfield Dependencies docs that OR selectors | aren't supported here yet. This is fine... but is there an alternative or another way to do the example below?

    I have a Pagefield set up for a 'Members' section, to choose whether the member is a Chair or Vice Chair when adding each children page to this section. If they select 'Chair' OR 'Vice Chair' from the dropdown, I would like a specific field (email address) to be shown. I have done some input dependencies on other fields/templates (show a closing_date field if the news type is 'Job') etc. but have only ever had one dependency to declare. Now I have two, which I know you can separate with a comma, but essentially, it needs to be if either 'Chair' or 'Vice Chair' is selected from the Pagefield dropdown.

    chair_vice=1062|chair_vice=1063
    chair_vice=1062|1063

    You see what I mean? Any clues/tips? Or would I need to create two fields here? An email field for Chair and an email field for Vice?

    Thanks in advance,

    R

  5. Hi folks,

    I have updated my PW to 2.5.3 and added the Reno theme but can't seem to make it active? It still seems to be taking the Default theme (which I can't delete as it states it's required by Reno)

    Am I doing anything wrong?

    Screen%20Shot%202014-10-13%20at%2017.51.

    Screen%20Shot%202014-10-13%20at%2017.49.

×
×
  • Create New...