Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
load a bot in the index.php of the template
« previous
next »
Print
Pages: [
1
]
Author
Topic: load a bot in the index.php of the template (Read 5626 times)
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
load a bot in the index.php of the template
«
on:
March 30, 2013, 13:30:29 »
Hello all,
Just wondering if there is a way to load a bot, addthis, into the index.php of the template like using elxLoadModule?
Logged
Bournias.net
CREATIVE Options
Authorized Elxis Professional
Elxis Community
Hero Member
Posts: 2334
Professional services for Elxis CMS
Re: load a bot in the index.php of the template
«
Reply #1 on:
March 30, 2013, 16:53:03 »
99% I thought it could be done, but you have to change it accordingly for bots.
Logged
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: load a bot in the index.php of the template
«
Reply #2 on:
March 30, 2013, 17:55:28 »
Are you saying that there is a command such as elxLoadBots?
Logged
Bournias.net
CREATIVE Options
Authorized Elxis Professional
Elxis Community
Hero Member
Posts: 2334
Professional services for Elxis CMS
Re: load a bot in the index.php of the template
«
Reply #3 on:
March 30, 2013, 18:00:11 »
No there is no such thing, I said that we can create it / implant it.
What is modules & bot ? of course php ! ( and so, if we create an xml to configure it according to our needs if we need to edit it via administration area) we can call this php file where ever we want.
Got it ?
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: load a bot in the index.php of the template
«
Reply #4 on:
March 31, 2013, 10:39:28 »
No, you cannot include bots or plugins like that. Bots should be bind to a content item and perform find and replace operations on it. This is why they are called
content bots
/
content plugins
. But you can use the user/content module too. Create a new module, assign it to position, eg. special, and include via the editor inside the module text area the bot you want to execute. Note that not all bots can run this way as some of them require content items but most of them will run fine.
Especially for Elxis 4.x
The
content module
on Elxis 4.x has a parameter to set if you want to execute plugins within this module or not. If you set it to yes then plugins will be executed inside that content module. This way you can convert almost any plugin into a module.
Example (Elxis 4.x)
If you want to display a
video from YouTube
in your site's left column create a new
content module
, assign it in modules position
left
,
enable plugins
executions on it and in the text area provide something like that:
{youtube width="180" height="150"}YouTube video ID{/youtube}
Note 1: We set the video width to just 180 pixels as it will be displayed in the left column which is not too wide.
Note 2: You can run unlimited plugins within the same content module.
«
Last Edit: March 31, 2013, 14:53:43 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: load a bot in the index.php of the template
«
Reply #5 on:
March 31, 2013, 12:06:40 »
Okay, got it. Thanks
Logged
Bournias.net
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
load a bot in the index.php of the template