how to use phoca with an artlcle?

Phoca Gallery - image gallery extension
exia0890
Phoca Member
Phoca Member
Posts: 15
Joined: 05 Jul 2008, 11:42

how to use phoca with an artlcle?

Post 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?
Markstag
Phoca Member
Phoca Member
Posts: 35
Joined: 22 May 2008, 15:04

Re: how to use phoca with an artlcle?

Post 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. :|
exia0890
Phoca Member
Phoca Member
Posts: 15
Joined: 05 Jul 2008, 11:42

Re: how to use phoca with an artlcle?

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to use phoca with an artlcle?

Post by Jan »

Do you use the same versions of Phoca gallery component and plugin, e.g. 1.8.x == 1.8.x
If you find Phoca extensions useful, please support the project
exia0890
Phoca Member
Phoca Member
Posts: 15
Joined: 05 Jul 2008, 11:42

Re: how to use phoca with an artlcle?

Post 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. :cry:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to use phoca with an artlcle?

Post 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
If you find Phoca extensions useful, please support the project
exia0890
Phoca Member
Phoca Member
Posts: 15
Joined: 05 Jul 2008, 11:42

Re: how to use phoca with an artlcle?

Post by exia0890 »

i have added a position just below the top for my homepage,its there that the warning error is showing.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to use phoca with an artlcle?

Post 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 ???
If you find Phoca extensions useful, please support the project
exia0890
Phoca Member
Phoca Member
Posts: 15
Joined: 05 Jul 2008, 11:42

Re: how to use phoca with an artlcle?

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to use phoca with an artlcle?

Post 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
If you find Phoca extensions useful, please support the project
Post Reply