• Anonymous
  • Login
  • Register
BlogSphere - Feature Request: Upgrade Admin Block from static to dynamic


We have changed the D6AdminBlock subform from hard coded links to dynamic links. IN addition (through adding a second role) we also made it so you can specify if the link should show up to a Full Blog Administrator or a User Blog Administrator. We would like to submit this for review, but we need to submit the forms and views, please contact me if you are interested. below is a look at how the form itself is changed.

Thanks,

Mike Smelser & Judy Hessler
Rumpke Consolidated Companies
mike.smelser@rumpke.com


Code
----------------------
The subform "D6AdminBlock" should be changed to the following:
Add hidden CFD field "itemLinks" that evaluates to:
-----------------------
uAccess := @If(@IsMember("[BlogAdmin]";@UserRoles);"Blog Administrator"; @IsMember("[BlogUserAdmin]";@UserRoles);"User Administrator"; "");
dbLook := @DbLookup( "" : "NoCache" ; "" ; "adminItems" ; uAccess ; 5);
@If( @IsError( dbLook ); ""; dbLook )


<div id="Block_Admin" class="BlockOutline">
<div class="BlockTitle">
BlogSphere Administration
</div>
<div class="BlockContents">
<ul>
<Computed Value> (where <computed Value> = @Implode(itemLinks))
</ul>
</div>
</div>
<div class="BlockSpacer"></div>



Taken Actions by Owners

No actions have been taken yet.


In this field you can enter the actual request.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.
In this field owners can describe what they have done or want to do.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.