By julienburie on Monday, 02 November 2015
Replies 9
Likes 0
Views 1K
Votes 0
Hello i would like to know how can i erase lines other than add event button as shown in picture below
i don't want to see lines like show non published event or reset button, i would like to have only add event button.

Thanks
You will need to hide the whole section by going to:

JEvents -> Configuration

Show Admin Panel -> No.

And then create a new module to show only to Registered users, and set a link to the create event menu item.

Many thanks
Tony
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Tonyp for your respone,
But i don't understand i want to show admin panel for registred to be able to create event.
But i don't want to show other parametrs.
I can't just erase them from the code ? can you tell me please where in the code i can delete those fields
Thanks again
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Ok. I would highly advise against modifying code when you can simply include a module which a html button to a menu item.

But if it's what you want edit:

/components/com_jevents/views/default/helpers/defaultviewhelperviewnavadminpanel.php

You should really copy this to:

/templates/your_template/html/com_jevents/helpers/

Then rename it from defaultview
to
your_jevents_layoutview

Many thanks
Tony
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much because i did not understand well your first advice.
if i apply Show Admin Panel -> No.
Then i create custom module, in which position exactly to be same than other ?

And once created how do i know the exact link to create event menu item ?

Thanks again
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

You create a new menu item, select Manage Events under the JEvents header.

Then create a new module, and link the button to this menu item. It can of course be hidden. The place it in the position:
jevpostjevents

Shown on all pages.

Many thanks
Tony
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks,
But when i select menu with manage events and link it to a button, it show the below image.

But what i want is when we click in the button (related to manage events) we have directly add event page that was present when admin panel was Yes.

I don't know what is the direct link to create event menu item, because creating menu with manage events shows page with this below image
BR
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Br,

I'm very sorry I meant 'Create Events' Menu Item.

Many thanks
Tony
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
You are right my mistake

Thanks
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem.

Many thanks
Tony
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post