How to create an administrator link on home page
blackhawx
Registered Users Posts: 26 Big grins
Under the new SmugMug system, I would like to create a custom link on the home page that only administrators see. Is this possible under the new SmugMug system? If so how do we accomplish this?
Thanks for any advice
Thanks for any advice
0
Comments
I'm not unveiled so don't know what should happen in this case.
Of course someone who really knows the answer may come along soon...
Anyway, here is my connecting issue - under the new SmugMug system, the link to this page...
https://secure.smugmug.com/sales/history/
...is nested to deep within the system. Under the legacy system, a link to that page was right off my home page tool bar. Anyway... I need that link embedded on the home page only when I log in as an administrator. I am willing to create a custom HTML link on my home page, which I can do easily, but I just don't know how to make it hidden from public users...
Thanks
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
I don't want to do it that way. I want a link within the interface itself. If my shortcut was accidentally deleted, if my device was mis-placed, if I am on someone else's PC, if I am constantly going back and forth between my tablet, mobile device, and PC, I want the flexibility to always access the same link I initially set to quickly view my sales history.
What I'm asking for is exactly what was in the legacy interface...so hopefully the only conclusion to this is not saying to just make a bookmark....?
.sm-user-owner .sm-page-widget.sm-page-widget-3548587 .adminview {
display: inline;
}
.adminview {
display: none;
}
.sm-user-owner appears to be a .CSS class that only loads on the body element when the admin user actually logs in. the .sm-page-widget...[x] is already being used in the SmugMug style sheet system, so I added it in the CSS rule to help override my element of focus. and .adminview is a class name I created, which sits on the element that I want to show/hide. Hopefully this is the answer and will also help out other folks here on the forum who are looking to do something similar.
bh