Default public access and remove filter

callum
callum
Offline
0
Hi there,

Is there anyway to remove the filter options and also when you create an new event is there anyway you can make the Access: Public by default not Private?

Thanks
Responses (12)
  • Accepted Answer

    Tuesday, March 17 2015, 10:33 AM - #Permalink
    0
    hello,

    to cahnge the default from private to public, just a small code tweak is necessary.
    however I don't understand the question about the filter options.. where?
    The reply is currently minimized Show
  • Accepted Answer

    callum
    callum
    Offline
    Tuesday, March 17 2015, 08:40 PM - #Permalink
    0
    Hi there,

    Can I have the code tweak? or can you tell me the pathway to the code that needs to change?

    On this website here

    http://colmanweb.co.nz/websites/pnacswebsite/

    I want to get rid of the bar that allows you to filter events.

    Is this possible?

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 18 2015, 11:38 AM - #Permalink
    0
    yes, if you open file /components/com_calendarplanner/common.js and you go down to line 629, you need to change the value "access", which will be set to 0, to 1. like this:

    access: 0,

    and a few lines below, around line 634 for example, you need to add this:

    current_access = data.access;

    to remove the filters in that other page, you will need to do it direclty in the code fo the file:
    /components/com_calendarplanner/views/events/tmpl/default.php
    The reply is currently minimized Show
  • Accepted Answer

    callum
    callum
    Offline
    Wednesday, March 18 2015, 09:06 PM - #Permalink
    0
    Hi Germinal - I got the filters removed but I cant get the common file to work.

    I couldnt find it in /components/com_calendarplanner but I found it (if its the correct one) in /components/com_calendarplanner/common.js/assets

    Is there anyway you can send the edited common.js file?

    Sorry to be a pain

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 19 2015, 11:21 AM - #Permalink
    0
    hello!,

    yes, that's the file. in any case, here I send it to you attached, I have modified for you so only have to replace it :) (unzip it first)
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    callum
    callum
    Offline
    Thursday, March 19 2015, 08:43 PM - #Permalink
    0
    Hi there,

    It didnt work - Ive attached a screenshot.

    If it doesnt work thats fine - was just trying to make it easier for my client

    Thanks
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 20 2015, 11:37 AM - #Permalink
    0
    please make sure to REFRESH your browser, otherwise the changes won't be loaded..
    The reply is currently minimized Show
  • Accepted Answer

    callum
    callum
    Offline
    Sunday, March 22 2015, 08:24 PM - #Permalink
    0
    Sadly I've tried all that. Even opened a new browser, cleared the cache and everything - still nothing.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, March 23 2015, 11:35 AM - #Permalink
    0
    there was to be something we're missing. I tried on my dev environment and it worked.. can you send me access to your website?
    The reply is currently minimized Show
  • Accepted Answer

    callum
    callum
    Offline
    Monday, March 23 2015, 09:19 PM - #Permalink
    0
    FTP


    The website pathway is;

    public_html > websites > pnacswebsite

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 24 2015, 11:58 AM - #Permalink
    0
    thanks (but please don't share this info here publicly! I have removed it)

    I need joomla access to the site too. you can send it to support@ joomlathat.com
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 14 2018, 09:06 AM - #Permalink
    0
    Was this issue ever resolved? I have a similar need and the suggested mod has no effect.

    Thanks,
    Bryan
    • Germinal Camps
      more than a month ago
      hi

      if you want to send me access I'll try to do it myself.
    The reply is currently minimized Show
Your Reply