Is there a snippet of code that you can insert into page.tpl.php that will check if an admin is logged in, and if so will display an 'edit this page' (or something like that) link next to the content? This way I wouldn't have to go through administrater > content > find my page > click edit for every page I wanted to edit. Instead I could browse my page just like normal and because I was logged in as admin, I could click the 'edit this page' link on each page for instant editing.

Does Drupal have this set up or is there a way to implement this? I know competing CMS's have this feature and it's pretty slick.

Comments

Steven’s picture

You can edit any page by going to it directly and clicking the 'edit' tab. Are you sure your theme is not broken?

--
If you have a problem, please search before posting a question.

smithaa02’s picture

It's possible... I made some modifications to page.tpl.php and node.tpl.php to get the look I was seeking. Do you know what I would need to do to reinsert this?

smithaa02’s picture

It looks like it was in

print $tabs

which I had removed earlier. I put it back in and it seems to do the trick.

Does anybody know if this functionality could be inserted into a sidebar block?