Saturday 29 August 2009 5:10:56 am
Yes there are lot of things you can do, but it requires that you know a bit programming or at least can understand some template code. I don't know your skill level, but lets try to dive into it:
To make it simple I assume the this is standard ezwebin templates. If it is NOT (remember, stylesheets are not templates, so I only talk about template aka *.tpl files here), then you'll need to enable* site.ini [DebugSettings]debugOutput and [TemplateSettings]ShowUsedTemplates, refresh the page and check the first line under "Templates used to render the page" which should look like:
1 node/view/full.tpl full/folder.tpl extension/ezwebin/design/ezwebin/override/templates/full/folder.tpl
The line above is from standard ezwebin install, so as you see from the forth (and last) column, we have the path to the file we want to debug / investigate (this is the same on your install).
So using your editor and ftp/ssh/scp tool of choice, navigate to the root to ezpublish and further navigate to the file mention above (extension/ezwebin/design/ezwebin/override/templates/full/folder.tpl) Now lets try to debug a couple of things, on line 28 (+/- 3 lines dependign on version), you'll find:
{if $node.object.data_map.show_children.data_int}
Now try to debug a couple of things by adding the following lines BEFORE that line (make a copy of the file before you start, so you can try out stuff your self and be able to go back)
{$node.object.data_map.show_children.data_int|attribute('show', 2)}
{$node|attribute('show', 1)}
You might need to clear some cache to get this to show up, go to 'Setup' in admin interface and clear viewcache, and maybe also template cache if that's not enough. (If that doesn't help, just "clear all") Then, if you cant make anything of it on your own, post the result you get back here (see on the right side when posting forum replies for how to use [code] blocks around the text to keep formating ). Good luck ;) * Go to Setup -> Ini-Settings (/settings/view) and select site.ini and your front site siteaccess, then scroll down or use ctrl+f to search for them and click the edit icon.
Some related doc pages:
$node http://ez.no/doc/ez_publish/technical_manual/4_x/reference/objects/ezcontentobjecttreenode
|attribute http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_operators/miscellaneous/attribute site.ini http://ez.no/doc/ez_publish/technical_manual/4_x/reference/configuration_files/site_ini
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
|