Mateus Machado Luna
Forum Replies Created
-
Ok, no problem! Glad to know that 🙂
No worries about the delay 🙂
And yeah, since the script is used in the Admin Bar it makes sense that it is loaded everywhere, we actually have a similar case in our side.
I’ll let my users know about the disabling workaround, thanks!
We’ll be available if you have any progress or suggestions for implementing regarding the conflict. You can reach us here or via our Forum and GitHub issues.
@shresthauzwal much appreciated! Thanks for the care 🙂
Forum: Plugins
In reply to: [Tainacan] info about pluginHi @salvo722!
Any file uploaded as “document” or “attachment” to a Tainacan item will be stored inside your WordPress hosting site. It will live inside the wp-content/uploads/ folder structure, within folders related to the collection Id and then to the item id. You won’t have options to manipulate this.
There are plugins related to offloading media into CDNs like AWS which do this kind of mapping (hosting in another place), but they will work on Tainacan as long as they link the media URL to the expected place in the traditional WordPress folder structure. You can define item “document” or “metadata” as links as well, in this case the file would be stored in another place of you preference. If that link is trully public, the browser will be able to render, for example, an Iframe with a PDF file.All that said I’m not sure if Tainacan is a good call if you are looking to provide a sort of “customer digital file manager”. We won’t have sub-folder level (while you can replicate that with Taxonomies hierarchy). Our goal is much related to facilitate organizing items with custom metadata and exposing that structured data to the public via blocks such as faceted search.
In any case, if you want to give it a try and have more questions, feel free to reach us in our forum: https://tainacan.discourse.group/. More people there will be willing to help 🙂
Sorry for bringing more trouble than solutions… The Template Part feature is such a powerful tool that it ends up bringing these challenges… I think I noticed one problem that will happen even if we’re not working with Ajax…
If I have a GreenShift Row block inside template part “A” and apply some settings to it, for example, define a max-width, the plugin will automatically render some css like:
#gspb_row-id-gsbp-f91b30f > .gspb_row__content {
max-width: 870px;
justify-content: center;
}Then if I copy this block and paste it in another template part “B”, and later tweak the max-width… rendering both templates in a single page, I’ll have conflicting styles, right? I suppose there is some logic that avoids this when we’re inside the same editor that obviously cannot be checked when loading from the template part shortcode…
Forum: Plugins
In reply to: [Image Hotspot by DevVN] Issue incorporating Spotify IframeP.S.: This might be the solution: https://stackoverflow.com/a/15692066
But in case it is not secure, I know there are valid embed providers for WordPress, those working with the Embed block… just not sure how would they work in TinyMCE:
Embeds
Thanks for the help, I’m using without Ajax by now. But the feature is too nice to be left out, I’ve decided to open an issue in core to see if they come up with anything that could solve this… not sure it end up in something but it is worth a try:
Sadly I’m working on a project where tens of Core Blocks are being used in multiple sections, it would be really hard to migrate them and reliably assure that future updates won’t insert Core Blocks. I believe this would be easier if we could guarantee that block variations would migrate every aspect of configuration when transforming from Core to GS ones, but that is also hard to assure.
Would you see any technical hack, something that would required me to put hands on code to overcome this? I’m willing to implement something on the theme side if necessary.
Forum: Plugins
In reply to: [Tainacan] error “puedes volver a intentarlo”Hola @silviasanchez, ¿cómo estás? Te respondo con la ayuda de un traductor online.
Sentimos que te esté ocurriendo esto. Lamentablemente es un mensaje de error genérico, por lo que necesitarÃamos más detalles para asegurarnos de cuál es la causa. Mi primera suposición es que es posible que tenga que actualizar sus enlaces permanentes (Enlaces permanentes). Echa un vistazo a esto:
Si eso no lo soluciona, te pedirÃa información de la consola de tu navegador, algo que explicamos unos párrafos antes en ese mismo enlace.
Si quieres plantear esta y más dudas a nuestra comunidad, te sugerirÃa que nos contactaras en nuestro foro de Discourse: https://tainacan.discourse.group/. Incluso tenemos algunos miembros que hablan español 🙂
Forum: Plugins
In reply to: [Tainacan] Community repositoryThat is really weird… Can you give more deatils? Does it spits any error on the screen when you click on “New collection”? Or it doesn’t do anything? Can you provide us with your console log errors? Here is an explanation on how to find that:
https://tainacan.github.io/tainacan-wiki/#/faq?id=how-do-i-see-network-or-browser-console-errors
Forum: Plugins
In reply to: [Tainacan] Community repositoryUhm… are you receiving 400/404 errors whenever you try do anything in the Tainacan admin panel? If so, you may try going to WordPress Admin -> Settings -> Submenu Permalinks. Select “Post name” or leave it as it is and then hit the “Save” button at the end of the page. Even if you don’t change anything, clicking the button re-creates WordPress permalinks structure which might have not been updated after the plugin was installed and it is something necessary in order to our endpoints to work.
Let me know if this works, ok?
Forum: Plugins
In reply to: [Tainacan] Community repositoryHi @billakosgr!
I’ll split the answer in two parts:
- You can use Tainacan with any theme, but the collection and items will have templates which will offer more features and more customization with themes that have compatibility. Currently, we would recommend either using Tainacan Interface or Blocksy with our Integration plugin.
- The main idea is that the items repository is managed by logged in users, inside the Tainacan Admin panel. This can be defined with different levels of capabilities. So at least some sort of login step would be necessary. But you can also use the Item submission block for creating pages where an external user would send data to the repository. The disadvantage is that it becomes a merely submission step, the user won’t be able to later edit content that he/she sent, for example.
Hope that answers! If you want to have more in-depth discussions, I would recommend reaching us in our community forum: https://tainacan.discourse.group/
Hi @jgeorg!
I’m really sorry for the late answer.
First, I would like to invite you to open topics in our Discourse forum: https://tainacan.discourse.group. We can chat here if you prefer but there you should find more immediate support and more people to share with.
In any case, your request fits into some topics that have been mentioned there, and the short answer so far is “no”. Tainacan really lacks more elaborate features towards OAI-PMH usage and even some features that were implemented in the past were retired due to incompleteness.
We do consider this an important topic for the future and want to address it as soon as we can. If you happen to be in contact with developers with some experience we can even provide some guidance to start building some solutions. Right now, however, it is a bit low compared to other priorities that are more demanding. In an effort to group things related to this topic and prepare ourselves for next year, we labelled some issues in this tag:
https://github.com/tainacan/tainacan/labels/%5BGoal%5D%20Interoperability
Hi @munirkamal.
Thank you for the EditorsKit plugin. I am one of the authors of the Tainacan plugin and I too have identified this conflict with some of ours blocks. Basically, every time I call a
useSelectinside a block, it triggers the error if the custom class names feature is enabled.I also don’t understand the cause for this. I’ll just give you some links here that I believe may be useful if you want to investigate on your side:
This is the where the error message comes from in the Gutenberg source code:
Notice how it mentions this “static” vs “mapping” context change. I believe it may be related to different moments when the hook can be called. This StackOveflow topic made me believe it can be caused by invoking it multiple times in the same context, but I’m not familiar with hooks.
Looking into the EditorsKit plugin source code, the only curious thing that I can notice is that you are using
withSelectinstead ofuseSelect, which was introduced a few years ago and seems the be the more “canonical” approach according to the Gutenberg Documentation.Hope this helps somehow finding a solution!
Forum: Plugins
In reply to: [Tainacan] Erro ao criar itemOlá @joaobrunno! Você teve algum avanço nesta questão?