Results 1 to 10 of 500

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Event Calendar

    Quote Originally Posted by LaCamus View Post
    I actually had a fix worked in, setting a variable and applying it to both. Then I thought about it and took it out. The additional link should not be forced to use the same prefix as the internal (ZC) link since it is most likely external. We could actually test the additional link to see if it is located on the same site as the store and if so apply the current prefix, but I would just let it go and do it right in the next version. Meaning, put a checkbox on the admin side to keep the additional link in the same window or not (target=_blank on/off), let the user put the http prefix in the url themselves (it currently tells them not to), and also add an input field to allow them to add their own decriptive text...then build the link on the admin side and save it to the db, just like the ZC link does. That would also be a good time to pull those _blank's from the ZC link code and build a function to force the target to _blank... only on the admin side.
    But isn't the module using the additional links code for files linked to the event?? These files are all internal links..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  2. #2
    Join Date
    Mar 2013
    Location
    New Orleans
    Posts
    81
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by DivaVocals View Post
    But isn't the module using the additional links code for files linked to the event?? These files are all internal links..
    The code you showed above is for the extra link that you can add to an event. The files (docs & images) are after that. When I wrote the function to serve those docs I used a variable set by Zen Carts that does not use a full url, just the reference to the images directory so http and https will not come into play on these...they will automatically get the same prefix as the page they exist on.

 

 

Similar Threads

  1. Timeslot Booking Event Calendar
    By escapis in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 31 Jan 2014, 12:45 AM
  2. Multiple Choices error with Event Booking Calendar addon
    By FukienMan in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 16 Feb 2012, 12:17 AM
  3. Help with Event Calendar add-on
    By blabay in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Mar 2010, 01:34 PM
  4. Event Calendar Broken - take out of download section!
    By Asmodai in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 10 Nov 2007, 07:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg