7 years ago
13
Topic

I have followed the tutorial to Creating a Back-end Manager. 

When I reached the point of creating the module, I understand the core Admin Menu should be picked and choose Preset - SEBLOD Apps from the dropdown menu. 

After saving the module. I don't see any menu on the top of my screen.

Am I missing something here?

Thank you!

Get a VIP membership
4229 Posts
Kadministrator
7 years ago
10
Level 2

Hello Klas!

I had previously noticed that manual is outdated. 

Also I had already read the blog post you mentioned.

I got Joomla 3.8.1 and installed SEBLOD 3.14.1. I'm test driving it on a localhost in my computer.

I tried to execute query UPDATE `#__extensions` SET `enabled` = 0 WHERE element = "mod_cck_menu". I got for reply 0 rows affected. (Query took 0.0006 seconds.). But the module is still not being displayed.

Thank you

4229 Posts
Kadministrator
7 years ago
9
Level 3

You need to use joomla core capabilities e.g. https://www.joomlashack.com/blog/tutorials/new-admin-menus/

7 years ago
8
Level 4

Thank you Klas!

I was not yet aware of that feature!

Now, what kind of Menu Item Type do I use here?

I don't see any pointing to SEBLOD

4229 Posts
Kadministrator
7 years ago
7
Level 5

If you go to Menus->Add and you change Client to Administrator, you should get Seblod presets in the dropdown

7 years ago
6
Level 6

I have done that and chose Preset - SEBLOD Apps, as I want to create a link to the App I created.

I thought I would find a menu item type that would allow me to create a link to my App or that would show all content types available and redirect me to the form to create my content.

Same way it happens when I go to Content > Articles > Add New Article.

4229 Posts
Kadministrator
7 years ago
5
Level 7

Hi,

when I choose Seblod Apps preset i automatically creates links to all apps in this menu. But there is indeed nothing about Seblod in the dropdown, I guess this needs to be improved further.

7 years ago
4
Level 8

When I choose Preset - SEBLOD Apps and save, I get the following message:

Message

Menu was saved but failed to import the preset: Saved failed: The alias menu-seblod-lib-cck-menu-preset-cck-apps is already being used by LIB_CCK_MENU_PRESET_CCK_APPS menu item in the menu (remember it may be a trashed item).

I understand there is some conflict here. But, where? I'm working in a sandbox and SEBLOD is the only component installed. And I've got nothing else in the trash.

4229 Posts
Kadministrator
7 years ago
3
Level 9

You obviously created menu using same preset once before, I tried and it worked fine for me the first time.

7 years ago
2
Level 10

I did this on a fresh install of Joomla and SEBLOD. Please, review if I'm doing it in the right order:

  1. I created my App in SEBLOD
  2. In Menu Manager I created a menu on the Administrator side
  3. Under Import a preset I choose Preset - SEBLOD Apps. Save and Close.
  4. Then in the Module Manager I switch to the Administrator side
  5. I create a new Administrator Menu
  6. In the Menu to Show option, I choose the menu I created in step 2-3

At this point I expected to see the menu on the top of the screen, but nothing is displayed.

  1. I go back to the Menu Manager to edit the menu I created.
    1. On the top I see the following message: 
      Warning
      The administrator menu Menu SEBLOD Apps does not contain - Menu Manager, Module Manager, Components Container. Click to turn on the menu recovery mode.
    2. I turn on the menu recovery mode and I see a menu that has nothing to do with SEBLOD, and there is an option to Exit Recovery Mode
  2. I choose to edit the menu
  3. The Import a preset is back to None
  4. I choose Preset - SEBLOD Apps again and Save
  5. I get the message: Menu was saved but failed to import the preset: Saved failed: The alias menu-seblod-apps-lib-cck-menu-preset-cck-apps is already being used by LIB_CCK_MENU_PRESET_CCK_APPS menu item in the menu (remember it may be a trashed item).
  6. I understand this happens because I used the preset before. Is there any way to clear this then?
4229 Posts
Kadministrator
7 years ago
1
Level 11

You need to choose "Use preset" in the module settings, but it seems Seblod Apps preset is not working, other 3 are ok.

7 years ago
0
Level 12

I changed Import a preset to Preset - SEBLOD and got to display a new Construction menu. Then I switched to Preset - SEBLOD Apps and a new menu Apps appeared with my app. YAY! 

But the extra Construction menu is still there...

NOT quite sure what the correct order is to get this right, though...

7 Posts
Chris@FM
6 years ago
0
Level 1

Hi there,

I have to confirm a problem, at least a brainhurt, here on J!3.8.6, CCK 3.15.0, PHP 7.2.

I followed helvecios description in most steps to get it solved, task was to display all admin lists as the deprecated menu did.

If I do manually put the url to the list in the menu all is fine, but the automatically built ones by importing "Seblod Apps" is not working - the menu entries show afterwards an error

"Component 'com_cck' does not exist"

I think the easiest way would be if the component is adding possibillity to add a direct link in the admin com_menu section as seen on screenshot of helvecio on #55761

For possible followers... how to get a list link in the backend:

  1. go the menues and switch here to admin
  2. create an administrator menu
  3. add a menu item as SYSTEM -> URI to this link: index.php?option=com_cck&view=list&search=NAME (NAME has to be replaced with the static name of your backend list)
  4. go to modules -> switch to admin and edit "Seblod - Admin Menu"
  5. choose then your module to show instead of the default Seblod preset 
  6. save and have fun

protipp

add first an menu item called Apps to link to # and set your list link(s) as a child to it, then you'll get the "old fashioned" apps menu with dropdowns back.

Best regards,
Pierre.

Get a Book for SEBLOD