g4j home

               No account yet?
Twitter
  • Increase font size
  • Default font size
  • Decrease font size
  • default color
  • black color
There are 96989 downloads since G4J was born. That's 525 downloads a day and counting!!

Home Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Forum is locked
241: Link in Event Description Bug Forum is locked
(1 viewing) (1) Guest
The issues with an arrow are solved, the issues with a question mark are bugs and the ones with the exclamation mark are enhancements.
Go to bottomPage: 12
TOPIC: 241: Link in Event Description Bug
#3700
241: Link in Event Description Bug 3 Months, 3 Weeks ago Karma: 0
It appears that a & in the link may be causing some trouble.


The link I created in Google calendar:
Code:

http://myspringfield.org/bb/viewtopic.php?f=20&t=27&start=0


And the one that appears in the gCal event view:
Code:

http://myspringfield.org/bb/viewtopic.php?f=20&;t=27&start=0


Note the semicolon.

See here.
untarded
untarded
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/23 20:15 By allon.
The topic has been locked.
 
#3705
Re: Link in Event Description Bug 3 Months, 2 Weeks ago Karma: 18
I can't see where the problem is....
allon
allon
Administrator
Posts: 1726
graph
User Online Now Click here to see the profile of this user
The topic has been locked.
 
#3712
Re: Link in Event Description Bug 3 Months, 2 Weeks ago Karma: 0
The semicolon appears after the first & in the link.

My link is getting truncated when I try to insert it here.

Copy from here.

Code:

http://myspringfield.org/events/event/ cXRpMWlzdWI0aG05NXVxcWE3aWF2bW1kZG8gbXlzcHJpbmdmaWVsZGV2ZW50c0Bt/1? start=1258725600&end=1258734600&Itemid=3
untarded
untarded
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/22 20:52 By untarded.
The topic has been locked.
 
#3719
Re: Link in Event Description Bug 3 Months, 2 Weeks ago Karma: 18
and how does the plain event description look like??
allon
allon
Administrator
Posts: 1726
graph
User Online Now Click here to see the profile of this user
The topic has been locked.
 
#3723
Re: Link in Event Description Bug 3 Months, 2 Weeks ago Karma: 0
Sorry, not sure I understand.

When I create the event in Google I add a link in the description but when it renders in the gCal event view there is a ';' inserted into the link. This breaks the link. This only appears to happen to links that contain a '&'.

My original post shows the link I typed into the description of an event in Google calendar and the resulting link that appears in gCal with the ';'.

My last post has the link to the actual event on my site where you can see various links including the one that get's the ';' inserted into it.
untarded
untarded
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/23 09:30 By untarded.
The topic has been locked.
 
#3724
Re:241: Link in Event Description Bug 3 Months, 2 Weeks ago Karma: 18
I figured out the problem it is in the file components/com_gcalendar/hiddenviews/event/tmpl/default.php at line 92
the regular expression is not correct (if there is a regexp expert out there please help!!):
Code:


eregi_replace('(((f|ht){1}tp://)[-a-zA-Z0-9@:%_\+.~#?,&//=]+)','<a href="\\1">\\ 1</a>', $event->get_description())

allon
allon
Administrator
Posts: 1726
graph
User Online Now Click here to see the profile of this user
The topic has been locked.
 
Go to topPage: 12
Moderators: erichorne

how to vote for G4J??
Do you like GCalendar --> vote on extensions.joomla.org/gcalendar!!
Do you like GAnalytics --> vote on extensions.joomla.org/ganalytics!!

how to contribute??
Do you want to help to improve the G4J project? Please read the article how to contribute to G4J.
how much is gcalendar worth??
your donation keeps g4j alive!!!

Latest Downloads