Share » Forums » Developer » Parameters for Embed

Parameters for Embed

Parameters for Embed

Tuesday 27 February 2007 9:03:56 am - 6 replies

Author Message

André R.

Tuesday 27 February 2007 11:21:18 am

If I remember correctly this is for future use, right now the best is to override that template and change the setting.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Betsy Gamrat

Tuesday 27 February 2007 7:43:47 pm

Another approach would be to add your own setting into site.ini.append.php, like so:

<b>site.ini.append.php</b>

[TemplateSettings]
ObjectLimit=3

<b>template code</b>

{def $value=ezini( 'SiteSettings', 'ObjectLimit' )}
Value is: {$value}<br />

Good luck

Łukasz Serwatka

Tuesday 27 February 2007 10:42:18 pm

Actually this works like:

<embed href="eznode://89" limit='10' offset='5' />

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Betsy Gamrat

Wednesday 28 February 2007 6:55:39 am

Thank you

:)

Klaus-Peter Heidrich

Wednesday 28 February 2007 7:24:48 am

Thank you all for your advice!

Lukasz, that was just the notation I expected, but Version 3.9 gave me an error about not allowed custom-attributes.

I tried it in the Online-Demo and it worked!
And the Property-Editor offers to add custom-Attributes. Nice!

But which version ist this?

Klaus-Peter Heidrich

Wednesday 28 February 2007 7:32:09 am

Ok, found the version-nr:

The current online demo says that it is 3.8.6

Now I am confused. 3.8.6 has more features than 3.9?

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu