More modifying for the page_main.php
As in the last post on 'Messages Generated From Actions, I want to move the edit link from the left hand column to the bottom of the post as I have in the posts_main.php.
After moving it I formatted it with a <div class="page-edit-link"> with borders, but when not logged in the borders didn't show and i wanted a separator from the feedback block so I added a border-top to the 'feedback' div to separate.
The code in the 'page_main.php'is: Added before the <div class="clearboth">
<?php
$Item->edit_link( array( // Link to backoffice for editing
'before' => '<div class="page-edit-link">',
'after' => '<div>',
'text' => '#',
'title' => '#',
'class' => '',
'save_context' => true,
) );
?>
Then the <div class="clearboth"> was changed to <div class="comments"> to get a permanent separator, which acts as the bottom border for the edit link when logged in.
The css codes are:
.page-edit-link{
clear:both;
text-align:right;
width:96%;
margin-left:23px;
padding:5px 3px 2px 0;
border-top:1px dotted blue;
}
.comments{
clear:both;
margin-left:23px;
border-top:1px solid blue;
}