1
josespi
Re: eXtCal 2.37 Beta 4, will this ever get out of beta?
  • 2013/4/8 4:18

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


I just download and install the module.
When I enter an event data then xchanged the day per month.
example:
Enter the date of April 9, 2013, then appears as the September 3, 2013.
Enter the date of April 25, 2013, then appears as the December 31, 1969.

Xoops: 2.5.5
PHP: 5.3.17



2
josespi
Re: extCal 2.24 RC ready for testing
  • 2011/5/8 5:29

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


FIX problem in the upcoming events block

File: \modules\extcal\class\event.php
Change line 342
$criteriaNoRecur->add(new Criteria('event_end'$now'>='));


for
$criteriaNoRecur->add(new Criteria('event_start'$now'>='));



and change line 346
$criteriaRecur->add(new Criteria('event_recur_end'$now'>='));


for
$criteriaRecur->add(new Criteria('event_recur_start'$now'>='));



José Espinoza



3
josespi
Re: extCal 2.24 RC ready for testing
  • 2011/5/6 23:42

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


To avoid confusion

All changes made in to files are in post # 19 and the link to the complete translation into Spanish-UTF8 is in post # 18



4
josespi
Re: extCal 2.24 RC ready for testing
  • 2011/5/6 22:42

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


Sorry Mamba, but I edited the post after that you was placed the link to the SVN and also missing do some necessary changes.

We also need to add the translation spanish-utf completed in a before post.

Sorry



5
josespi
Re: extCal 2.24 RC ready for testing
  • 2011/5/6 21:29

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


Fixed problem with editing and deleting EVENTS
Please. I'm not good with English so I'm adding in the end the Spanish version because here is helped by the Google´s translation.

To edit or delete events from the admin side.

In the file "modules \ extcal \ admin \ event.php" you have to change lines 141 and 142
echo '<img src="../images/edit.png" style="vertical-align:middle;" />&nbsp;&nbsp;'._AM_EXTCAL_INFO_EDIT.'<br />';
 echo 
'<img src="../images/delete.png" style="vertical-align:middle;" />&nbsp;&nbsp;'._AM_EXTCAL_INFO_DELETE;


with these lines (correcting the folder of the icons)
echo '<img src="../images/icons/edit.png" style="vertical-align:middle;" />&nbsp;&nbsp;'._AM_EXTCAL_INFO_EDIT.'<br />';
 echo 
'<img src="../images/icons/delete.png" style="vertical-align:middle;" />&nbsp;&nbsp;'._AM_EXTCAL_INFO_DELETE;


We must also replace 170 and 171 lines
echo '<a href="event.php?op=modify&amp;event_id='.$event['event_id'].'"><img src="../images/edit.png" /></a>&nbsp;&nbsp;'
 echo 
'<a href="event.php?op=delete&amp;event_id='.$event['event_id'].'"><img src="../images/delete.png" /></a>';


by these lines to correcting the same error
echo '<a href="event.php?op=modify&amp;event_id='.$event['event_id'].'"><img src="../images/icons/edit.png" /></a>&nbsp;&nbsp;';
 echo 
'<a href="event.php?op=delete&amp;event_id='.$event['event_id'].'"><img src="../images/icons/delete.png" /></a>';


To edit or delete events from the users side you have edit the template \modules\extcal\templates\extcal_event.html" in the line 8
<a href="<{$xoops_url}>/modules/extcal/print.php?event=<{$event.event_id}>"><img src="images/print.gif" /></a> <{if $isAdmin || $canEdit}><a href="edit_event.php?event=<{$event.event_id}>"><img src="images/edit.png" /></a><{/if}> <{if $isAdmin}><a href="admin/event.php?op=delete&event_id=<{$event.event_id}>"><img src="images/delete.png" /></a><{/if}>


For the line
<a href="<{$xoops_url}>/modules/extcal/print.php?event=<{$event.event_id}>"><img src="images/icons/print.gif" /></a> <{if $isAdmin || $canEdit}><a href="edit_event.php?event=<{$event.event_id}>"><img src="images/icons/edit.png" /></a><{/if}> <{if $isAdmin}><a href="admin/event.php?op=delete&event_id=<{$event.event_id}>"><img src="images/icons/delete.png" /></a><{/if}>


We must also add the folder icons in the following file and lines:
modules\extcal\admin\index.php lineas 171 y 172


José Espinoza



___________Spanish
SOLUCIONADO EL PROBLEMA DE EDICIÓN y BORRADO DE EVENTOS
Por favor. NO soy muy bueno con el ingles así al final estoy agregando la versión en Español ya que esta es una traducción ayudado por el google.

Para poder editar o borrar los eventos desde el lado de administración.

En el archivo "modules\extcal\admin\event.php" hay que cambiar las líneas 141 y 142
echo '<img src="../images/edit.png" style="vertical-align:middle;" />&nbsp;&nbsp;'._AM_EXTCAL_INFO_EDIT.'<br />';
 echo 
'<img src="../images/delete.png" style="vertical-align:middle;" />&nbsp;&nbsp;'._AM_EXTCAL_INFO_DELETE;



por estas líneas (corrigiendo la carpeta de los iconos respectivos)
echo '<img src="../images/icons/edit.png" style="vertical-align:middle;" />&nbsp;&nbsp;'._AM_EXTCAL_INFO_EDIT.'<br />';
 echo 
'<img src="../images/icons/delete.png" style="vertical-align:middle;" />&nbsp;&nbsp;'._AM_EXTCAL_INFO_DELETE;


También hay que reemplazar las líneas 170 y 171
echo '<a href="event.php?op=modify&amp;event_id='.$event['event_id'].'"><img src="../images/edit.png" /></a>&nbsp;&nbsp;'
 echo 
'<a href="event.php?op=delete&amp;event_id='.$event['event_id'].'"><img src="../images/delete.png" /></a>';


por estas corrigiendo el mismo error
echo '<a href="event.php?op=modify&amp;event_id='.$event['event_id'].'"><img src="../images/icons/edit.png" /></a>&nbsp;&nbsp;';
 echo 
'<a href="event.php?op=delete&amp;event_id='.$event['event_id'].'"><img src="../images/icons/delete.png" /></a>';


Para editar o borrar eventos desde el lado del usuario hay que cambiar la linea 8
<a href="<{$xoops_url}>/modules/extcal/print.php?event=<{$event.event_id}>"><img src="images/print.gif" /></a> <{if $isAdmin || $canEdit}><a href="edit_event.php?event=<{$event.event_id}>"><img src="images/edit.png" /></a><{/if}> <{if $isAdmin}><a href="admin/event.php?op=delete&event_id=<{$event.event_id}>"><img src="images/delete.png" /></a><{/if}>


por la siguiente linea
<a href="<{$xoops_url}>/modules/extcal/print.php?event=<{$event.event_id}>"><img src="images/icons/print.gif" /></a> <{if $isAdmin || $canEdit}><a href="edit_event.php?event=<{$event.event_id}>"><img src="images/icons/edit.png" /></a><{/if}> <{if $isAdmin}><a href="admin/event.php?op=delete&event_id=<{$event.event_id}>"><img src="images/icons/delete.png" /></a><{/if}>


Hay que agregar la carpeta ICONS en el siguiente archivo y lineas
modules\extcal\admin\index.php lineas 171 y 172



José Espinoza




6
josespi
Re: extCal 2.24 RC ready for testing
  • 2011/5/5 16:12

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


Manba:
I updated the complete translation to Spanish of extcal.
You can download fromhttp://www.planpasperu.org.pe/utiles/extcal_244_spanishutf8.zip

José Espinoza



7
josespi
Re: extCal 2.24 RC ready for testing
  • 2011/5/4 17:39

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


I have the same problem like mjoel and jimmyx for this version.

Extcal 2.4.4
Xoops 2.5.0
php 5.2.13

http://www.pastoraljuvenilperu.org/





8
josespi
Re: How do query to select admins?
  • 2008/10/14 17:30

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


Thanks ghia. I think that I'll can do the script whit your inform.



9
josespi
Re: How do query to select admins?
  • 2008/10/9 19:39

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


Hello ghia:

Thanks ghia newly for your supported.

But, I don´t need know if users es Admin or not. I need a script to have me of all admins to module.

I have researched to modules/system/admin.php?fct=groups but I didn´t found any solve.

José Espinoza




10
josespi
Re: How do query to select admins?
  • 2008/10/6 18:44

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


Hello ghia:

Thanks ghia for your supported.

On the page that you point out, It apply admin rights to each group.

I'm rewriting integration between XOOPS with Gallery (http://gallery.menalto.com)

What I need to know is Who users belong to the group that has admin rights of the module that I´m creating? In order to pass this information to the Gallery.




TopTop
(1) 2 3 »



Login

Who's Online

82 user(s) are online (50 user(s) are browsing Support Forums)


Members: 1


Guests: 81


Heil,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits