Event Dates - Start & End details not shown
When you create a new event, the page rightfully asks for Date Start and Date End - but that data is not shown anywhere in any of the standard Event pages.
In both /events-home and /view-event-profile the start date should be shown below the Event Name. Currently, those show who is going - which is secondary (at most) to when the event is taking place. I actually don't care to see who is going - just as I don't care to show how many friends a profile has. I think I can find how to eliminate those, but I don't know how to call the Date Start and display in the Event Profile chip (or block).
I think this can be added by creating a template override for a Method in BxEventsModule.php but that's still outside of my abilities. If someone can give me an example to get started, I'll play with AI code generation to find the right solution.
-
-
- · Gabe
- ·
Hi Leonid,
I am aware of the View Info and Full Info forms, but those blocks are what I'd call detail views. If a user is scrolling through Upcoming Events or New Events, they should not have to click into an event to see something so basic as the date.
The larger question here is this: how may I learn to edit the php Methods to call the record data I want to see, or not call certain other record data. Do I need to create Custom Modules? I'd rather create Templates to introduce small variations to existing Modules. Perhaps I'm not understanding the full scope?
Here's a simpler example: In one of my instances (I have two UNA instances running on separate subdomains) I have disabled the "Friends" functionality. But Profiles still show "0 friends" on their chip/card, beneath their avatar (I'm not sure what you call those cards). I will never use Friends. I want to remove that text. I imagine it should be as simple as creating a template for one of the pho scripts in bxPersons module.
-
- · Gabe
- ·
Here's a good example of why I'd like to edit this function. The user has browsed New Events and selected one. The Cover block includes Description Text. But the description also appears independent of the Cover, in the main body of the block. I don't need to show it twice.
Ideally, I'd be able to select which record data to return in the Cover Block. In this case, I'd prefer to have Title and Date Start only. The full Info block may or may not be shown below, but there's a lot of stuff there the user doesn't care about at first glance (Time Zone, Update and Publishing Times, Category).
So, this should theoretically be a simple bit of php scripting - perhaps it requires some new Method? Or perhaps the existing Method has scope enough to retrieve a different field from the db?