Meta info in module/blocks

Posted in: Newspaper
Post count: 17

Hello everyone,
in a previous topic I was wondering the possibility of adding in the child theme modules/blocks that is not possible today.
My requirement, for example, is the ability to decide which modules display the meta info.
Because currently there is only the possibility to hide or see the meta info on everything, the only possibility would be to create a new module and not put meta info.
Another possibility, very good and that implements the theme, would be to be able to decide which modules/blocks enable meta info, as now is with the category tag.
It will be possible?
Thank you.

Fabio

Post count: 22421

Hello,

Well it is possible even now. The module meta info is nothing but a function being called on a specific module. If you access each module file you will see the calls for them like so: http://screencast.com/t/k0U56xxP
Simply remove these fields for a specific module and that one will no longer show the data.

Thank you!

Post count: 17

Of course you’re right!
But then, as I said in the other topic, the meta info will not work on all pages in which they are used.
I’ll explain:
I decided one type of design, and will use almost always the same module; then I make a custom post to see the people who are part of my business that I view with the same module, but I will not, of course, might see the meta info. This is not possible, and it would be appropriate to remove meta info.
Thanks for the attention.

Fabio

Post count: 22421

Unfortunately if you change a module file, it will affect that module everywhere it is added on the site. There is no simple way of removing the meta for a module in specific locations of the site…sorry. You will be better off finding 2 modules that are similar and use one where you do not want metas and the other where you want metas.
Thanks.

Post count: 17

I know it’s not easy, but it can definitely be solved with the solution that I proposed; that is, being able to overwrite the file ‘/include/td_config.php’ in child theme and add module/blocks as you want.
This solution would give added value to all your already great job.

Your advice is correct, and that’s what we had done, but now we decided to modify the file ‘/include/td_config.php’ in the theme parent, and add a new module in the child theme (it works perfectly!).
Obviously, we will control each update, and add the code again in the event of your changes to the file; this until you can overwrite the files in the child theme.
Good day and thank you.

Fabio

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.