Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis 5.5 Calypso supports 2 factor authentication login with e-mail or SMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Stop addition of full site URL to anchor tags
« previous
next »
Print
Pages: [
1
]
Author
Topic: Stop addition of full site URL to anchor tags (Read 4551 times)
seadhna
Hero Member
Posts: 507
Stop addition of full site URL to anchor tags
«
on:
May 18, 2011, 19:42:33 »
Hi there,
I'm trying to include a link to inline content using Fancybox.
If you're not familiar, this JQuery pack allows the presentation of hidden div content as a modal window on clicking an anchor tag e.g. #something
If I insert this link within the template, it works fine.
However if I insert the link within a content item, it doesn't, because Elxis is adding the full site URL before the anchor, e.g.
www.fullsitename/section/category/page/#something
I've removed the meta tag for base URL but this didn't solve the problem - the full site URL is still being appended.
Do you have a solution?
Logged
nikos
Elxis Community
Hero Member
Posts: 1094
Re: Stop addition of full site URL to anchor tags
«
Reply #1 on:
May 18, 2011, 21:36:21 »
If you are going to use this Fancybox only for images, then instead of this you can use
IOS Gallery
which shows images in the same way. If you want to use it for the rest of functions, as i saw, then you have to create a custom module or bot if you are familiar with this.
Logged
Elxis Community |
Open Source Web Lab
seadhna
Hero Member
Posts: 507
Re: Stop addition of full site URL to anchor tags
«
Reply #2 on:
May 18, 2011, 21:39:30 »
Hi there, no I'm wishing to display hidden text content within modal windows. Not images.
Perhaps I should just set up separate templates for each page with this feature as I don't know what you mean by module.
Logged
nikos
Elxis Community
Hero Member
Posts: 1094
Re: Stop addition of full site URL to anchor tags
«
Reply #3 on:
May 18, 2011, 21:52:40 »
Fancybox is based on JQuery so using the provided documentation you can build a module or bot for Elxis CMS and then easily you can use this javascript effect into content.
The question is if you know how to create such a module (the easy case) for Elxis CMS. If not you may order it
here
as a custom one.
«
Last Edit: May 18, 2011, 21:56:44 by nikos
»
Logged
Elxis Community |
Open Source Web Lab
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Stop addition of full site URL to anchor tags