Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Convert
Wordpress to Elxis
with
Elxis importer
!
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Technical support
»
Email Function (send a friend an Article by email)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Email Function (send a friend an Article by email) (Read 5588 times)
genealogia.org.mx
Newbie
Posts: 12
Email Function (send a friend an Article by email)
«
on:
October 29, 2008, 03:55:49 »
Funtion to send articles to a friend (from front-end) send a bad URL:
Example:
Esta página web de "Genealogía.org.mx" se la ha enviado Samuel Sanchez ( samuelsanchez@genealogia.org.mx ). Para visitarla, haga clic en este enlace:
http://www.genealogia.org.mx/index.php?option=com_content&task=view&id=555&Itemid=141
The correct URL need be:
Esta página web de "Genealogía.org.mx" se la ha enviado Samuel Sanchez ( samuelsanchez@genealogia.org.mx ). Para visitarla, haga clic en este enlace:
http://www.genealogia.org.mx/index.php?option=com_content&task=view&id=555&Itemid=141
The problem is:
&
How can we correct this?
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Email Function (send a friend an Article by email)
«
Reply #1 on:
October 29, 2008, 07:41:07 »
The URLs are generated like that in order to be XHTML valid. They normally intended to be displayed inside an HTML document (elxis) and not in a plain text e-mail. This is why they are not being displayed well in the e-mail.
You can solve this problem by replacing the & with & before sending the e-mail.
open components/com_content/content.php
go to line 1607.
Add bellow this:
$link = sefRelToAbs($mainframe->getCfg('live_site').'/index.php?option=com_content&task=view&id='.$uid.'&Itemid='.$_Itemid );
This:
$link = str_replace('&', '&', $link);
save the file, done.
We don't you enable SEO PRO? If you enable SEO PRO you wont have this problem.
«
Last Edit: October 29, 2008, 07:51:19 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
genealogia.org.mx
Newbie
Posts: 12
Re: Email Function (send a friend an Article by email)
«
Reply #2 on:
October 31, 2008, 01:07:31 »
Datahell,
Thanks for your assistance, we are Genealogist, our experience in web is poor.
We are trying to have a good Genealogical website, our society is Free (by Law in Mexico) so we have not money.
We are study your CMS, with confidence in your project we left our old CMS (
http://es.wikipedia.org/wiki/Blakord_Portal
)
So we dont have how use efficently your CMS.
Our Staff is ready to share with you our FTP and all passwords needed, if have good will
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Technical support
»
Email Function (send a friend an Article by email)