does phoca include plugin process

solutionsExpert
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Oct 2009, 04:49

does phoca include plugin process

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

Re: does phoca include plugin process

Post 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? ? :( :idea:
If you find Phoca extensions useful, please support the project
solutionsExpert
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Oct 2009, 04:49

Re: does phoca include plugin process

Post 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
solutionsExpert
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Oct 2009, 04:49

Re: does phoca include plugin process

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

Re: does phoca include plugin process

Post by Jan »

Hi, I have looked at the demo, but still didn't found what is the goal ot this function :idea:

Maybe the description field of category (category description) can be used there ?
If you find Phoca extensions useful, please support the project
solutionsExpert
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Oct 2009, 04:49

Re: does phoca include plugin process

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

Re: does phoca include plugin process

Post by Jan »

Hi, I have added it into a feature request list. I hope I will find time to see it soon.

Jan
If you find Phoca extensions useful, please support the project
solutionsExpert
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Oct 2009, 04:49

Re: does phoca include plugin process

Post by solutionsExpert »

thanks for your time.. look forward to the fruits of your labor
jSeblod
Phoca Member
Phoca Member
Posts: 10
Joined: 30 Nov 2009, 21:26
Contact:

Re: does phoca include plugin process

Post 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.
Content Construction Kit for Joomla : www.jSeblod-cck.com (GPL, Open Source)
Internet Services : www.Seblod.com
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: does phoca include plugin process

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