Search found 10 matches

by JohnnyC
Mon Oct 09, 2006 5:15 pm
Forum: Plugins
Topic: serendipity_event_galleryimage and gallery2?
Replies: 7
Views: 4447

Ok, well how about:

Code: Select all

if (!empty($ret)) {
if ($ret->isError()) {
.
.
.
}
}
by JohnnyC
Mon Oct 09, 2006 4:00 pm
Forum: Plugins
Topic: serendipity_event_galleryimage and gallery2?
Replies: 7
Views: 4447

Hello,


What is inside the $ret variable in your case?


I don't have the code here at work to quote from, so you'll have to bear with me :). My understanding of the initial connection to Gallery2 in this code is that it's just an initialization, and nothing would be returned by the $ret variable ...
by JohnnyC
Sat Oct 07, 2006 2:31 am
Forum: Plugins
Topic: serendipity_event_galleryimage and gallery2?
Replies: 7
Views: 4447

I found that if I changed:


if ($ret->isError())


to:


if (!empty($ret))


that I was able to get past this error. I did a search for this on the Gallery2 page, and apparently the isError() doesn't work in the new versions of Gallery2.

Also, one of these in the code:


$image_path ...
by JohnnyC
Fri Oct 06, 2006 7:52 am
Forum: Plugins
Topic: serendipity_event_galleryimage and gallery2?
Replies: 7
Views: 4447

serendipity_event_galleryimage and gallery2?

Here are the settings of the galleryimage plugin:

Which version of Gallery are you using? 2.x
URL of Gallery: http://www.mysite.com/g2
URL of the Gallery album directory: http://www.mysite.com/g2/v
Absolute gallery-path: /var/www/html/g2
Absolute album-path: /var/www/data
Maximum dimension for ...
by JohnnyC
Tue Oct 03, 2006 1:37 am
Forum: General discussions
Topic: List of Integrations?
Replies: 1
Views: 1584

List of Integrations?

Has anyone put together a list of contentent management systems that have working Serendipity integrations? I'm having a hard time finding a CMS with a good Blog integration.
by JohnnyC
Tue Oct 03, 2006 1:34 am
Forum: Development
Topic: embeded pingbacks?
Replies: 5
Views: 6693

Sounds like a challenge!

Can I quote you on that? :)

So is there any API that I could call which would expose the ID that I'm after to get this pingback to work? Alternately, is there an API that would pass me the headers that Serendipity would normally generate, so I can included them in my page?
by JohnnyC
Mon Oct 02, 2006 11:47 pm
Forum: Development
Topic: Serendipity Plugin API
Replies: 4
Views: 5335

Seagull Framework.

Thanks garvinhicking, I'll give that a try. The PHP project that I'm referring to is the Seagull Framework Project. http://www.seagullproject.org/
by JohnnyC
Mon Oct 02, 2006 11:01 pm
Forum: Development
Topic: embeded pingbacks?
Replies: 5
Views: 6693

What if we're using PEAR?

Thanks for the details, garvinhicking. I had a look at the code that's getting the blog page in my embeded application, and it looks like it's using a PEAR HTTP_Request:


require_once 'HTTP/Request.php';
$phpSelfParts = split('\?', $_SERVER['PHP_SELF']);
$s9yUri = BASE_URL . '/serendipity ...
by JohnnyC
Mon Oct 02, 2006 9:21 pm
Forum: Development
Topic: embeded pingbacks?
Replies: 5
Views: 6693

embeded pingbacks?

In all of the Smarty templates, I notice a line in the header for pingbacks:

{if $entry_id}
<link rel="pingback" href="{$serendipityBaseURL}comment.php?type=pingback&entry_id={$entry_id}" />
{/if}

This section is left out when is_embedded is true. How can I handle this when Serendipity is ...
by JohnnyC
Mon Oct 02, 2006 5:46 pm
Forum: Development
Topic: Serendipity Plugin API
Replies: 4
Views: 5335

Serendipity Plugin API

I am embeding Serendiptiy in another php project. There are some notes on that projects' knowledgebase saying that the following code snippet may be used to create sidebars:

<?php
serendipity_plugin_api::generate_plugins('left','div');
serendipity_plugin_api::generate_plugins('right','div ...