HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Calendar striping email links

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#37690 (In Topic #8482)
Avatar

Community saint

I have tried several times to add a Calendar event with my contact information including my email address. It looks fine in the editor but as soon as I submit it it seems to strip all of the maailto: stuff and if clicked on in the Calendar it takes you to the same event you are viewing, in this case, <a href="mailto:myemail@gmail.com">myemail@gmail.com</a> gets converted to http://mysite/site/index.php?page=calendar&type=view&id=1&day=2008-01-28&date=2008-01-28

Is there any way to post an clickable email address in a Calendar event?

Second question about Calendars, is it possible to edit/add calendar event types?

Thanks in advance,
 

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37692
Avatar

We'll need you to run a test before we can look into fixing the WYSIWYG problem. Please enter an event as normal, but click the 'Toggle Source' (<> icon) button, and then send us the source it shows.

You can add/edit event types from the CMS zone, under the calendar icon.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#37699
Avatar

Community saint

Chris,

The <> link is how I am putting in the <a href="mailto:myemail@gmail.com">myemail@gmail.com</a> link in the first place. Since the WYSIWYG does not have an email option I have to do it in the HTML source window. Then when I click the <> a second time and go back to the WYSIWYG it looks like a link like it should. If I click the <> again the link is still intact and has not been changed. If I go to the bottom and either click on the Preview or the Edit event it gets changed. After it has been changed the actual source gets changes from
<a href="mailto:myemail@gmail.com">myemail@gmail.com</a> to <a>myemail@gmail.com</a><br /> When clicked in the calendar it takes you to http://mysite/data/preview.php?page=cms_calendar&type=_ed&uploading=1

Thanks for your quick response,
 

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37700
Avatar

Sorry for the confusion, but I didn't mean that button. I mean the one second from the left.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#37701
Avatar

Community saint

Chris,<br /> <br />Here is a picture of the editor that I am using in html source mode, with the <> depressed. As you can see the <> is the second from the left. Maybe I am misunderstanding you.<br /> <br /> 290 views (24 Kb) <br />Here is a picture after unselecting the <> as you can see the link looks like it is still intact.<br /><br />And here is a picture of the html source, the <> depressed after having previewed the post or hitting the Edit event button.<br />


Last edit: by rick

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37702
Avatar

Community saint

 Not sure why but your site is not allowing me to send pictures. I will try to put the 3 screen shots in this one.








Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37703
Avatar

Please copy and paste the actual source text you see when the button is depressed into a post here. I need to analyse the exact full code, because different web browsers and usage patterns result in different code.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#37704
Avatar

Community saint

Ok, here is the source as inputed just as the first picture shows

Here is my event<br />
 <br />
<a href="mailto:myemail@gmail.com">myemail@gmail.com</a>


Here is what it looks like in the wysiwyg, second picture.

Here is my event
 
 myemail@gmail.com


and here is what it looks like when it gets striped down after previewing or posting, the third picture

Here is my event<br />
 <br />
 <a>myemail@gmail.com</a>

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37743
Avatar

Sorry for the inconvenience.

The attached zipped replacement for sources/urls.php should correct the problem.

Attachment
» Download: urls.php.zip (7 Kb, 208 downloads so far)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#37750
Avatar

Community saint

  Chris,

That fix worked great and it was far from an inconvenience, that was incredible, I post a problem and in just over 24 hours it is fixed and a patch is posted. I have never seen that kind of support, normally if you are lucky it might get fixed but you would have to wait for 6 months or more for the next release. Thank you very much, I will be registering within the next couple of days. Just need to find the funds, a little creative finance shuffling so that my wife wont find out.
:thumbs:

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: