Page 1 of 2
does phoca include plugin process
Posted: 10 Oct 2009, 04:56
by solutionsExpert
i would like to intergrate phocagallery with jSeblod and they said at below link that if phoca include plugin process then they could intergrate into phoca.
so were would i point them into the code?
http://www.jseblod.com/forum/40-comment ... rk.html#10
thanks for a great product btw
Re: does phoca include plugin process
Posted: 10 Oct 2009, 16:49
by Jan
Hi, sorry I don't know jSeblod, I don't know which function it has

so I don't know which parts of code should be changed? added? ?

Re: does phoca include plugin process
Posted: 10 Oct 2009, 18:49
by solutionsExpert
hello Jan
thanks for quick reply
http://www.jseblod.com/forum/40-comment ... k.html#647
that link is where i am talking with that developer...
and i think it would be great to get these working together...
I will keep you posted...
thanks again
Re: does phoca include plugin process
Posted: 11 Oct 2009, 03:03
by solutionsExpert
ok i got some info from info from Bes over at jseblod.
here it is::
Try to ask Phoca team to insert plugin process on field that you want use with jSeblod CCK. In general it's the description field (with Joomla Editor).
They must add a code like this (may be on model view), in this example :
//$yourtext is the text that you want process with plugin, you must pass it to $rows[$i]->text
Code:
Code: Select all
$dispatcher =& JDispatcher::getInstance();
JPluginHelper::importPlugin('content');
$limitstart = JRequest::getVar('limit', 0, '', 'int');
for ($i=0; $i<count($rows); ++$i) {
$rows[$i]->text = $yourtext;
$rows[$i]->parameters = new JParameter($rows[$i]->attribs);
$rows[$i]->event = new stdClass ();
$results = $dispatcher->trigger('onPrepareContent', array ( & $rows[$i]
, & $rows[$i]->parameters, $limitstart));
$results = $dispatcher->trigger('onAfterDisplayTitle', array ($rows[$i]
, & $rows[$i]->parameters, $limitstart));
$rows[$i]->event->afterDisplayTitle = trim(implode("\n", $results));
$results = $dispatcher->trigger('onBeforeDisplayContent', array ( & $rows[$i]
, & $rows[$i]->parameters, $limitstart));
$rows[$i]->event->beforeDisplayContent = trim(implode("\n", $results));
$results = $dispatcher->trigger('onAfterDisplayContent', array ( & $rows[$i]
, & $rows[$i]->parameters, $limitstart));
$rows[$i]->event->afterDisplayContent = trim(implode("\n", $results));
}
does this sound familiar to you?
basically what i was thinking was in the gallery, of using his feature
http://demo.jseblod.com/accordion-in-virtuemart.html
the accordion to show additional info for detail info and etc.
thanks again for looking into this.. ( this would give you both additional expose on joomla.org)
Re: does phoca include plugin process
Posted: 11 Oct 2009, 21:16
by Jan
Hi, I have looked at the demo, but still didn't found what is the goal ot this function
Maybe the description field of category (category description) can be used there ?
Re: does phoca include plugin process
Posted: 14 Oct 2009, 01:33
by solutionsExpert
the goal is to make your gallery into a more powerful gallery... think of it this way..
your gallery+ a cck = endless possibilities for your gallery.
by making your gallery work with this extension, you just gave your gallery endless possibilities...
my use::
i am making a gallery which is created by users and i want to allow them additional space to add more info about there share on the site
what i want to have each be able to do
phoca::
upload picture of share
jseblod::
add info about upload
add the file to be downloaded
Re: does phoca include plugin process
Posted: 15 Oct 2009, 17:09
by Jan
Hi, I have added it into a feature request list. I hope I will find time to see it soon.
Jan
Re: does phoca include plugin process
Posted: 17 Oct 2009, 07:35
by solutionsExpert
thanks for your time.. look forward to the fruits of your labor
Re: does phoca include plugin process
Posted: 03 Dec 2009, 15:44
by jSeblod
Hi all,
Nothing to do for use jSeblod CCK 1.5 on Phoca Gallery or Phoca Download.
Look video example on Universal Compatibility page on jSeblod-cck.com.
Regards.
Re: does phoca include plugin process
Posted: 03 Dec 2009, 16:57
by Jan
Hi, I see on the site (in slideshow) the the JSebold supports Phoca. But this is all I can see with my time, as I am not able to find time to answer all the topics here and develop some new features, still no new information about this component
