Plugin code is appeared as a text in joomla content

Phoca Maps - displaying maps in Joomla! CMS
solphin2013
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 25 Jun 2013, 00:05

Plugin code is appeared as a text in joomla content

Post by solphin2013 »

I've installed and activated Phoca maps plugin successfully, it is appeared in "Components" and so on. I also create map and can create menu item and map is appeared ok via it but when try to use codes provided by plugin

Code: Select all

{phocamaps view=map|id=1}
or

Code: Select all

{phocamaps view=link|id=1|text=Map}
in standard articles it is appeared as plain text instead of map.
What problen could it be? I have a 2.5 joomla.
Thanks in advance for any input!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin code is appeared as a text in joomla content

Post by Jan »

Hi, text is displayed only in two cases:

- the plugin is not installed
- or the plugin is not published.

Jan
If you find Phoca extensions useful, please support the project
LundiN
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Jul 2013, 14:49

Re: Plugin code is appeared as a text in joomla content

Post by LundiN »

Hi,

I have the same problem.
I installed and published/enabled the plugin but only the text is displayed. :/
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin code is appeared as a text in joomla content

Post by Jan »

Hi, then check all the version - of your Joomla!, component and plugin and let me know them. As written above, there are only two cases when the text is displayed instead of running code:

- the plugin is not active
- the plugin is not installed

and specific case:
- the plugin was not set in content (article) (in case you didn't use content plugin in content)

Jan
If you find Phoca extensions useful, please support the project
LundiN
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Jul 2013, 14:49

Re: Plugin code is appeared as a text in joomla content

Post by LundiN »

Hi, thank you for your answer.

Indeed, I set the plugin in a module. Is there anyway to display it ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin code is appeared as a text in joomla content

Post by Jan »

Hi, then it depends on the place where you are displaying it - you need to set it correctly to display plugin correctly.

See:
https://www.phoca.cz/documents/16-joomla ... t-articles (as example)
If you find Phoca extensions useful, please support the project
LundiN
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Jul 2013, 14:49

Re: Plugin code is appeared as a text in joomla content

Post by LundiN »

Works fine, thanks !!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin code is appeared as a text in joomla content

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
alirezate
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 27 Aug 2013, 13:31

Re: Plugin code is appeared as a text in joomla content

Post by alirezate »

Hi
I have same problem.
But i also tried to add code :
{phocamaps view=map|id=1} or {phocamaps view=link|id=1|text=Map}
in an article & then make a link to it but article shows text code again.
What's problem?
Thanks
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9441
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Plugin code is appeared as a text in joomla content

Post by Benno »

@alirezate,
which joomla! version, which Phoca Maps Component version & which Phoca Maps Plugin version do you use?

Kind regards,
Benno
Post Reply