public function Base_Render_Before($Sender) {
$Session = Gdn::Session();
if ($Sender->Menu){
$Sender->Menu->AddLink('Gallery',T('Gallery'), 'gallery', array('Plugins.Attachments.Upload.Allow'));
Replace with this
public function Base_Render_Before($Sender) {
if ($Sender->Menu){
$Sender->Menu->AddLink('Gallery',T('Gallery'), 'gallery');
@vrijvlinder написал:
Find this bloc in the plugin's default.php
public function Base_Render_Before($Sender) {
$Session = Gdn::Session();
if ($Sender->Menu){
$Sender->Menu->AddLink('Gallery',T('Gallery'), 'gallery', array('Plugins.Attachments.Upload.Allow'));
Replace with this
public function Base_Render_Before($Sender) {
if ($Sender->Menu){
$Sender->Menu->AddLink('Gallery',T('Gallery'), 'gallery');
I admit my mistake in my question only viewing gallery. I know I'm boring - excuse me please
Comments
Find this bloc in the plugin's default.php
Replace with this
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I admit my mistake in my question
only viewing gallery. I know I'm boring - excuse me please 