Link List needed

Creating and modifying plugins.
Post Reply
inki
Regular
Posts: 8
Joined: Mon Oct 23, 2006 10:50 am

Link List needed

Post by inki »

Hi there!

So serendipity_plugin_linklist is pretty nice with all its dyntree stuff, but unusable for long names, so what I'm looking for is a link list that can be displayed in the main area.

Anyone? Anyone? Bueller? Bueller?

Cheers,
inki
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Link List needed

Post by garvinhicking »

Hi!

If you're ready for some prime-time heavy smarty stuff, I could instruct you how to put contents of a sidebar to their own static page, using smarty-template calls?

Other than that, I don't know of any linklists that s9y displays natively on their own page. You could however wrap an external linklist application into the main section of s9y using the iframe wrapurl plugin...


Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Link List needed

Post by garvinhicking »

Hi!

Just looked up the older thread:

http://board.s9y.org/viewtopic.php?t=11 ... rty+static

There I already describe how you can achieve what you need. I explained it there with another plugin, but you can adapt that for any plugin you want.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
inki
Regular
Posts: 8
Joined: Mon Oct 23, 2006 10:50 am

Post by inki »

No sir, doesn't work. I did exactly what's described in the historical posting, but I don't see any content on the static page.

Cheers,
inki
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Which serendipity version are you using? What's your URL?

Does the staticpage display at all, and you're just missing your output? Which ID of the plugin did you use for the smarty plugin call exactly? And did you make sure to move that plugin to the "hidden" sidebar?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
inki
Regular
Posts: 8
Joined: Mon Oct 23, 2006 10:50 am

Post by inki »

The plugin is in the hidden area. The static page displays. S9Y Version is 1.2. The call is

Code: Select all

{serendipity_showPlugin id="serendipity_plugin_linklist:20f5b258e4803d9985542964a75e725d" side="hidden"} 
The URL is

http://jt-stables.aufserver4.hieriminte ... links.html

Cheers,
inki
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Could you try to include another plugin in the staticpage? Most preferably a html_nugget plugin? Maybe the linklist has some special coding (which I would check afterwards, if it works with a html nugget).

Could you modify the {showplugin} call in the staticpage so that you add a

Code: Select all

LINKLIST-Plugin here: ...
output? Maybe the staticpage parsing has a problem, and the template is not evaluated at all.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
inki
Regular
Posts: 8
Joined: Mon Oct 23, 2006 10:50 am

Post by inki »

I added

Linklist plugin start

Linklist plugin end

Cheers,
inki
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Thanks for that. Did you try if it works with a HTML nugget?

Could you show me a dump of your SQL table 'Serendipity_plugins' of the row with your linklist plugin?

Can you also try to enhance the smarty call with this:

Code: Select all

{serendipity_showPlugin  
class="serendipity_plugin_linklist" 
side="hidden"
}
That should broaden the scope of the plugin API including the right plugin. I have the feeling it is currently not pulling the right SQL query with the current call.

Sadly my test-installation is currently unstable so I can't easily reproduce your issue right now. Hope you don't mind to be the test-dummy here. ;)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply