Page 1 of 3
how to use phoca with an artlcle?
Posted: 06 Jul 2008, 10:50
by exia0890
Yo,sorry aks so many questions ans sorry if they were already asked but i couldnt find it.
Well,is there a way to have a page like an article by phoca,but doesnt need to be on the menu ?I just want to do a link to this page with a link from an article ,is it possible plz?
Re: how to use phoca with an artlcle?
Posted: 06 Jul 2008, 15:52
by Markstag
Try this plugin:
https://www.phoca.cz/phocagallery-plugin/
You can just make an static content and use this plug-in to insert pictures.
Re: how to use phoca with an artlcle?
Posted: 06 Jul 2008, 17:03
by exia0890
Thx you ,but there is a bug when i activate the plugin it shows this on my homepage
Warning: Missing argument 3 for plgContentPhocaGallery::onPrepareContent() in C:\xampplite\htdocs\site02\plugins\content\phocagallery.php on line 27
Re: how to use phoca with an artlcle?
Posted: 06 Jul 2008, 21:13
by Jan
Do you use the same versions of Phoca gallery component and plugin, e.g. 1.8.x == 1.8.x
Re: how to use phoca with an artlcle?
Posted: 07 Jul 2008, 06:20
by exia0890
I was using 1.8.8 as component and 1.8.0 as plugin.But i just tried 1.8.0 too as component and i got the same error.
Re: how to use phoca with an artlcle?
Posted: 07 Jul 2008, 09:44
by Jan
On line 27, there is a Joomla! framework method:
Code: Select all
function onPrepareContent( &$article, &$params, $limitstart )
so something from your framework is missed (article, params or limitstart data ???)
Jan
Re: how to use phoca with an artlcle?
Posted: 07 Jul 2008, 15:30
by exia0890
i have added a position just below the top for my homepage,its there that the warning error is showing.
Re: how to use phoca with an artlcle?
Posted: 07 Jul 2008, 16:37
by Jan
i have added a position just below the top for my homepage,its there that the warning error is showing.
sorry I don't understand ???
Re: how to use phoca with an artlcle?
Posted: 07 Jul 2008, 17:39
by exia0890
Sorry i am still not very good in english maybe ^_^,well i have added a position for component like left,right,top..just below the position top,I 've added <jdoc:include type="modules" name="intro" style="xhtml" /> just above <jdoc:include type="component" /> in the index of my template.And when i activate the plugin and go to the homepage ( the only one who have a module on this position ) there is the error message.
Re: how to use phoca with an artlcle?
Posted: 07 Jul 2008, 20:42
by Jan
I understand, that you have added a module position but I don't understand, what should have these positions with the plugin in conent and with the error in common?
Jan