How to force the ribbon button to appear, how to hide the sortspec note #97
-
macOS X.14.6 · Obsidian 1.4.13 Installed the plugin
restarted app |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments
-
at a glance, assuming that your report is precise, the plugin has not been enabled after installation. At the same time, restarting Obsidian is not needed after new plugin installation. Please confirm that after installing the plugin, you enabled it. Each Obsidian plugin has to be enabled after installing it. For the custom-sort plugin, the ribbon button appears after enabling, and it changes its appearance depending on the state of custom sort, initially being inactive (after enabling the plugin). Ok, if I misunderstood your report and you correctly installed and then enabled the plugin, I will do other checks. First, please confirm the above. Related remarks:
Please let me know about the step of enabling the plugin |
Beta Was this translation helpful? Give feedback.
-
Hey thanks, Sebastian! |
Beta Was this translation helpful? Give feedback.
-
Hey @meisterleise thanks for clarifications! The ribbon button, in its initial state looks like below: ![]() When clicked, if sorting spec is correct, it gets applied and the ribbon button changes to: ![]() Regardind the macOS version - yes, this can be confusing. I believe I have the macOS 10.14 Mojave on another mac here, I should be able to test. [update: my other mac has macOS 10.12 Sierra, which is too old to handle Obsidian] Anyways, if you don't see the ribbon button, it could be because of some plugin or another mechanism controlling the ribbon (if any) To do a test, please invoke the command 'sort on' from Obsidian command palette. This is an equivalent of clicking the ribbon icon/button. Does it work this way? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your effort! After executing from the command palette it works and after that the ribbon button suddenly appears at the end of the button bar. Yeah! I mostly got a red button if I pasted one of your config examples. But meanwhile it seems to work. |
Beta Was this translation helpful? Give feedback.
-
it is a great news that the custom sorting eventually started working for you! Copy & paste of the examples can be tricky indeed for various reasons. On the long-term roadmap there is a UI-based editor idea, at the same time there are many more items with higher priority, including a refined quality documentation materials and also introducing the drag & drop based items reordering (via integration of Bookmarks core functionality) Files and folders can be hidden using a special syntax in the plugin, see an example in this discussion Depending on how many sortspec notes you have, e.g. a single sortspec per entire vault or a sortspec note per each relevant folder or a mixed approach, you will need to explicitly list the path(s) of sortspec note(s) as indicated in the discussion mentioned above. |
Beta Was this translation helpful? Give feedback.
-
Okay, I tried it. But the file is still visible. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
-
The sortspec looks correct, so probably the only step missing is to tell the plugin to re-read it. |
Beta Was this translation helpful? Give feedback.
-
Sorry I didn't tell. But of course I clicked the ribbon button, restarted the app, doesn't help. |
Beta Was this translation helpful? Give feedback.
-
A good catch! The state of things is as follows: The parameter of In your case, the ---
sorting-spec: |
test 2
/--hide: sortspec.md
--- or, if you want to place your ---
sorting-spec: |
target-folder: OrdnerTest
test 2
/--hide: sortspec.md
--- |
Beta Was this translation helpful? Give feedback.
-
Ah, now it finally works! |
Beta Was this translation helpful? Give feedback.
-
Because this exchange (#94) contains a series of hints and clarifications potentially useful for others, I'm closing the issue and converting it to a discussion (link will appear in subsequent comment automatically) |
Beta Was this translation helpful? Give feedback.
Ah, now it finally works!
Thank you very much for your awesome support!!