Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
Load module position in articles
« previous
next »
Print
Pages: [
1
]
Author
Topic: Load module position in articles (Read 9993 times)
michalis1984
Sr. Member
Posts: 334
Load module position in articles
«
on:
October 02, 2012, 19:20:51 »
Is it possible to load a module position in articles? I was doing this at the old version by typing: {mosloadposition module-name}
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Load module position in articles
«
Reply #1 on:
October 02, 2012, 22:33:17 »
We haven't built a plug-in supporting that but we can built it, it is easy. Thanks for reminding this to me.
Important tip 1:
Content categories have built-in functionality to load modules between articles!
In the category
parameters
you can provide a
module's position
. The modules of this position will be shown on the category page on the place where the selected
category layout
renders them. The global option is to display the modules assigned to position named
category
, but you can change this per category.
Test it:
With the default Elxis installation assign some modules in position
category
, now go and see your category pages!
Important tip 2:
On
custom user modules
there is an option to
run plug-ins inside the module
! So, you can
use a plug-in as a module
...
Sample usage:
I have, let's say, the map's plug-in but I want to show it on the left column as a module. Create a new user module include inside the editor's text area the plug-in code (eg. {map}xxx,yyy{/map}) and your plug-in will be displayed as a module in the left column!
«
Last Edit: October 02, 2012, 22:40:39 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
michalis1984
Sr. Member
Posts: 334
Re: Load module position in articles
«
Reply #2 on:
October 03, 2012, 12:57:34 »
Yes i notice module position in categories. It's a new useful feature and one of those changes that make the difference.
If you build the mosloadposition will be very useful. Also, you may think (for a future elxis release/update) about adding a few ready module positions in articles, like that we have for category. Maybe one at the top, below the article main image, and one at the end of the article. But this is something to think for the future. For now the mosloadposition will do the job fine.
Personaly i find it useful for "in article ads", and social buttons. Because it is easier to change them in the furure if we have a module place in articles and let me give you an example.
Lets say i have a website with 1000 articles. My site is not a newspaper where the articles in 1 week will be old and for trash. My site is like encyclopedia, where articles will be useful for a long time. So, now, after some months i install at elxis a "content plugin" which adds a google+ button .. or any other share button or a "read more articles list" or.. anything else, and i want this to appear at the bottom af all articles, or of a specific category. So i will have to edit all old articles to add this plugin adding the code {newplugin}something{/newplugin}. It will be time consuming to edit all articles and add this line. But if we had a module position at the end of an article, we could load anything we like, just like you said at tip 2.
You can see a live example at my website which is build with the old elxis. Here
http://www.daskalemata.gr/os/windows-help/pin-programs-at-taskbar.html
- the adv at the top of the article is a module, loaded in a module position which i put at the articles using modloadposition. Also, at the bottom of the article .. the "share button", the ads, and the "more articles of that category" module, are loaded in the botton module placement which i added manualy at each article.
If i want to chance anything in the future, its easier to just change the module or assing a new module at this module position than editing all articles.
Because elxis is new and maybe i miss something, is it possible for content plugin build in that way so it appear les say at the bottom of all articles? If it is possible and i didnt notice something, please tell me. Lets take the facebook comments plugin, you have to input the special code in all articles in order for the plugin to appear in all articles. If you already have a lot of articles this will be "impossible". Now, its the begining and we dont have so many articles at elxis4 websites so its easy, but if somene in 5 months tries to install and use a plugin like facebook comments will be find it hard to include it if we wants at old articles.
So.. mosloadposition is useful
«
Last Edit: October 03, 2012, 12:59:18 by michalis1984
»
Logged
juanon
Full Member
Posts: 109
Re: Load module position in articles
«
Reply #3 on:
January 07, 2016, 15:20:39 »
Hi,
Is there a way to get modules inside articles right now? Is there a plugn for that yet?
I really need this feature for my sites.
Thank you
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Load module position in articles
«
Reply #4 on:
January 07, 2016, 17:35:59 »
You can display modules inside categories but not inside articles. For articles there are the plugins that are special extensions build exactly for that purpose. So inside articles use plugins, not modules. You can display a plugin inside a module but not the opposite. At least there is no such third party extension till now.
«
Last Edit: January 07, 2016, 17:37:47 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
juanon
Full Member
Posts: 109
Re: Load module position in articles
«
Reply #5 on:
January 07, 2016, 19:26:22 »
Thanks, I know these options, but this is not what I need.
Thanks anyway.
Logged
juanon
Full Member
Posts: 109
Re: Load module position in articles
«
Reply #6 on:
January 07, 2016, 20:15:00 »
By the way, I´m willing to pay if some developer can create such a plugin
Regards
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Load module position in articles
«
Reply #7 on:
January 07, 2016, 21:16:09 »
It is an easy plugin, I just have no free time for such jobs. If you don't have any proposals by other developers contact me in private, I will help you.
«
Last Edit: January 07, 2016, 21:17:49 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Load module position in articles
«
Reply #8 on:
January 08, 2016, 17:59:37 »
I develop that plugin for you, free of charge. It will be ready in a few hours.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
datahell
Elxis Team
Hero Member
Posts: 10356
iModule plugin
«
Reply #9 on:
January 08, 2016, 20:35:42 »
As promised I built the plugin for you and you can download it for free from EDC.
iModule plugin - Include modules inside articles
Happy download!
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
juanon
Full Member
Posts: 109
Re: Load module position in articles
«
Reply #10 on:
January 08, 2016, 21:06:38 »
You are the best, man.
I´m checking it right now.
Thanks a million
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
Load module position in articles