@Kevin Jardine >> This is a great plugin and it would be even more great if you could have the events displayed on front page. Think its an essensial feature for an event function.
1. Any plans making is available on front page?
2. Would it be possible to add a image field for every event?
If you mean the Event Calendar widget that can be added to the dashboard or the user's profile page, I think the way this plugin currently works (v0.8.1) is that this widget shows the user's personal calendar. This means they have to add a site wide event to their calendar for it to display.
You can opt to push group events automatically to a member's personal calendar. However, this only applies to events added to the group calendar after a particular user has joined. Future events already in the group calendar won't be added automatically. If a user leaves a group, group events already created in their personal calendar appear to be hidden, but they will reappear if they rejoin the group.
This is how I did it :
<?php
/**
* Elgg custom_dash_not_logged_in plugin
* This plugin substitutes the frontpage with a custom one
*
*/
?>
<div id="calendar">
<h2>Upcoming events</h2>
</div>
<?php
/* Upcoming Events*/
$num = 5;
// Get the upcoming events
$start_date = time(); // now
$end_date = $start_date + 60*60*24*365*2; // maximum is two years from now
$events = event_calendar_get_events_between($start_date,$end_date,false,$num,0,page_owner());
// If there are any events to view, view them
if (is_array($events) && sizeof($events) > 0) {
echo '<div id="group_pages_widget">';
// echo '<h2>'.elgg_echo("event_calendar:groupprofile").'</h2>';
echo '<p><a href="'.$vars['url'].'pg/event_calendar/group/'.page_owner().'"></a></p>';
foreach($events as $event) {
echo elgg_view("object/event_calendar",array('entity' => $event));
}
echo "</div>";
}
?>
<div class="clearfloat"/></div>
<!-- end of upcoming events-->
You can use this plugin to display events widget on the main page. It can save you some time if you're not a programmer.
I found some interesting the post, Im a programmer I don't undestad elgg's structure, I make some code lines to improve my file search modules.
I need to restict results of my file search, I just need to make a list with .doc and .pdf file extentions,
How can I perform this change? How can I integrate my code in elgg?
I make this change just with php code ( external access) How can I integrate this to the defaul file search module.
This is my implementation. http://community.elgg.org/pg/pages/view/478810/
SQL: I need to include in the file search:
SELECT a1.id as idarchivo, a1.string ,a2.*, a3.username, a4.* FROM elggmetastrings as a1, elggmetadata as a2, elggusers_entity as a3, elggobjects_entity as a4 WHERE( a1.string LIKE '%.doc%' OR a1.string LIKE '%.pdf%' OR a1.string LIKE '%.ppt%' OR a1.string LIKE '%.xls%' OR a1.string LIKE '%.zip%') AND a1.string LIKE '%file/%' ";
Tks 4 yours answers
This problem been discussed several times before on this group. You are almost certainly using another plugin that interferes with the event calendar's date picker. Turn that other plugin off and the event calendar should work properly.
Read the other discussions in this group for more information.
Kevin,
As a developer I to sometime over simplify problems that I fully understand to other who do not, thus I understand your response. You mentioned that the problem has been discussed many times before in this group. I found 2 instances and neither provide a clear understanding of the problem or any idea how to go about repairing. I know the plugin works as I used it during demo with out issue. Since this is my first project using elgg SE I may appear to be "lazy" in my troubleshooting efforts but actually I am on unfulmilar ground with the data structure and storage processes which forces me to ask seemingly stupid questions.
Out of 16 discussions there are 2 report I was able to find on this subject, if there is other areas or forums that may have good information on this issue I would welcome the URLs.
Created 11 days ago with 1 posts
Last comment 11 days ago by Tom
Started by Tom: Datepicker issues
Created 36 days ago with 19 posts
Last comment 18 hours ago by Cubert
Started by antifmradio: Event not showing? anywhere
I have disables all plugin's and just had the calendar loaded and dates work fine, I did notice that the date format changed.
When working, the date from the calendar is in "Saturday, November 28, 2009" format
When all Plugin are loaded the same field and calender produces "11/28/2009" format
There inlies the problem... After working the plugin back and forth till I found the colporit, It is a order issues with a single plugin I am using called Custom_Profile_Fields which seems to load up another copy of the date picker with a different date saving format.
If you load this plugin after the Event _calendar it causes any call to datepicker to use the CPF version of the date format and not the Event's version.
Now who get a slap on the wrist? 8-)
I third that request! I need it also. I hold monthly meetings and weekly luncheons. Making the event repeat would save a lot of time compared to manually entering them every week.
Options to repeat per date, or day, weekly, monthly, etc
My Main meetings are every 2nd thursday and luncheons 1st and 3rd thursdays
Icarus, that feature is possible but would need to be funded. Private message me if you want to discuss this further.
No answere to this issue... and it is an issue.
Perhaps there only needs to be one datepicker per installation... but how can this be done... perhaps it should be in the core? A single seperate plugin? who knows?
If someone sends me a patch to use an external datepicker I'd be happy to look at it.
Hi Kevin, alas, I would not know where to start, but there is a datepicker plugin... I tried it, but it did not help at all... I think my setup had apperplexy with the mere thought of another datepicker!
http://community.elgg.org/pg/plugins/tomv/read/385112?release=373711
but you probably know this.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.