Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7580803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:00:33+00:00 2026-05-30T18:00:33+00:00

The question is: how to display (what to change inside code) to display different

  • 0

The question is:

how to display (what to change inside code) to display different info in week view and in day view f.ex.:

week view – time, title

day view – time, title, description ect.

and pro-forma: month view – time, title

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T18:00:35+00:00Added an answer on May 30, 2026 at 6:00 pm

    In the global JS declare,

    var currentView;
    

    In the constructor of fullCalendar there is viewDisplay trigger, use this code.

              viewDisplay: function(view) {
                                    //This is very ugly way to change events on switch... but it works!
                                    //Every time you you use 'gotoDate' this will trigger, also pressing next, previous
    
                                    if (view.name != currentView) {
                                        if ( view.name == 'basicWeek' )   
                                          { 
                                              $('#myDateSelector').hide();
                                              $('#calendar').fullCalendar( 'removeEventSource', 'json_day.php' ); 
                                              $('#calendar').fullCalendar( 'addEventSource', 'json_week.php' );  
                                              console.log("week");
                                          }
                                         if (view.name == 'basicDay' ) 
                                          { 
                                              $('#myDateSelector').show();
                                              $('#calendar').fullCalendar( 'removeEventSource', 'json_week.php' );
                                              $('#calendar').fullCalendar( 'addEventSource', 'json_day.php' );   
                                              console.log("day");
                                          }
                                          //You can use it some where else to know what view is active quickly
                                          currentView = view.name;
                                      }
                        },
    

    The code is very hacky, but it is much better than digging in the source code for the calendar. You must remember to add and remove any feeds, usually you will notice that your feeds start to duplicate.. this means there is a remove missing somewhere.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an IBAction with some simple code inside: -(IBAction)change:(id)sender { [textfield setHidden:NO]; [self
In this question someone asked for ways to display disk usage in Linux. I'd
This question deals with concurrency issues, for suggestions on how to display a busy
As the question says, it just escaped my memory how to display xml in
This is a followup on the question: ASP.NET next/previous buttons to display single row
This is a UI paradigm question I think. How do you display Child information?
I'm building text balloons to display variable length messages in Flash. My question is
hey, my question is that i want to display the names whose payment type
Applogies for what I have no doubt is a noob question. I display several
The question is similar to this one: How to display a content in two-column

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.