1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To combat forum spam, new accounts will need to make at least one (valid) post.
    Otherwise, we will periodically purge all users without posts or that haven't confirmed their account.

Add functionality

Discussion in 'General Support' started by leunix, Feb 15, 2008.

Thread Status:
Not open for further replies.
  1. Hi,

    we are using your calendar system, and it works quite well. Our client has asked if they can have a feature when adding an event, can they have a button that adds that event to all categories. this way there would be just the one action, and not lots as when you duplicate an event.

    How easy would this be to implement ?

    I have a feeling that this feature would be in the Encrypted code ?

    Thanks for you time in this matter

    --
    Leu
  2. ve9gra

    ve9gra Support Team

    Why would you want to duplicate an event like that? You can make use of the categories themselves and $showCat to acheive that exact thing and having to enter only a single event...

    Create a category called "All Categories" (or whatever you want to name it), and assign your events to that one. Now, I'm assuming you are already using $showCat to have different pages display different categories... so all you have to do is modify what you're passing to $showCat to also include the new category you just created.

    So now, instead of having for example $showCat="2" (showing only one category), you'll have $showCat="2|5" (showing the original category, and the "All Categories" category). Just add the |5 bit to all of your pages so that they all show the new category.

    Now, you'll need to figure out what your category number is going to be, because it probably won't be 5, but you can find that the same way that you found what your other categories were. It should be just that easy.
Thread Status:
Not open for further replies.

Share This Page