With the prefs.feature_blog_heading perm enabled and tiki_p_edit_templates dissabled, users - with the perm to create blogs - will be able to create blogs but no heading will be shown when their blogs are viewed in tiki-view_blog.php.
In essence, unless both above named perms/prefs are enabled a user won't be able to create a heading, and no heading will be saved in DB for the blog.
And since the conditional to handle situations when $heading is empty has been removed in rev 9146 the blog will show no heading what so ever when it is viewed.
I suggest to re-instate the changes made to the conditional which displays the default heading if the user is not able to create his/her own headings.
I also think we should re-consider whether tiki_p_edit_templates should be tied to the creation of custom headings...
Suggested change:
In the file templates/tiki-view_blog.tpl
Replace
{eval var=$heading}
with
{if strlen($heading) > 0}
{eval var=$heading}
{else}
missing page for plugin INCLUDE
{/if}
This conditional will handle situations when the user does not have a custom heading - in which case it will display the default heading.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |