New Module: ochFoundation5
Just released an awesome new module: ochFoundation5. This module is specifically designed for Bootstrap 5 themes and will greatly help you add highly customizable building blocks to your websites. Currently supporting a spam-free Contact Form (even without Captcha!), Carousel, Parallax (article) images, and Testimonials. Configurable and completely customizable via Template Overrides:
onlinecommunityhub.nl/joomla-extensions/...ule?coupon=LETSBUILD
Time limited coupon for a 50% (!) discount: LETSBUILD
No bug Display title and description
- Patrick Gaulin
-
Topic Author
- Offline
- Posts: 17
- Thank you received: 0
I would like to force ochOpenGraph to display title and description I created with fields.
In a page without an article, I have to use it in a custom module. For the image I have to write {_ochopengraph image="/images/path-to-image.jpg"}
For title and field, is there a way to write it?
Thank you!
Please Log in to join the conversation.
- Ruud van Lent
-
- Offline
- Posts: 1301
- Thank you received: 87
Yes there is.
From the documentation:
New in version 0.3.0: additional parameters! Starting from version 0.3.0 you have the possibility to set additional parameters in the ochopengraph tag. You can set the following parameters giving you full control of what is being shared:
* image="path to image": this allows you to use a different image then the image in the article
* title="custom title": set a different title then the article title as the title to be used on Social Media when the page is shared
. * description="custom description": set a custom description that will be used on Social Media
* force="no": when you assign the opengraph tag to e.g. a category blog menu, then all articles that are displayed in this category have the parameters from the ochopengraph tag set. When you set the parameter force="no" then the articles in the category blog will use the articles values instead of the menu values.
* type="...": Set the og:type manually (default = article)
Please Log in to join the conversation.
- Patrick Gaulin
-
Topic Author
- Offline
- Posts: 17
- Thank you received: 0
1- {_ochopengraph title="test"}
{_ochopengraph description="test"}
2- {_ochopengraph title="test", description="test"}
3- {_ochopengraph title="test"; description="test"}
4- {_ochopengraph title="test" description="test"}
All these options create a bug.
I'm sorry if I ask a lot of questions. I am French-speaking and I do not understand all your documentation.
Thanks again!!
Please Log in to join the conversation.
- Ruud van Lent
-
- Offline
- Posts: 1301
- Thank you received: 87

the last option should be used so {_ochopengraph title="..." description="..."} (without the _)
Can you tell me what error you get? or give me a link to the page where you use this tag?
Please Log in to join the conversation.
- Patrick Gaulin
-
Topic Author
- Offline
- Posts: 17
- Thank you received: 0
I must admit that Google translate is my best friend.

Here is the link to the url of the page I'm having trouble with.
www.cliniquevena.com/
I also put screenshots for you.
Please Log in to join the conversation.
- Ruud van Lent
-
- Offline
- Posts: 1301
- Thank you received: 87
is it possible for me to login to the backend of the site? I would like to try / check some things.
If possible you can mail me the credentials (info[at]onlinecommunityhub.nl)
Please Log in to join the conversation.
- Patrick Gaulin
-
Topic Author
- Offline
- Posts: 17
- Thank you received: 0
Voici les informations de connexion au site.
Please Log in to join the conversation.
- Ruud van Lent
-
- Offline
- Posts: 1301
- Thank you received: 87
so I was able to login to your site.
The home page is based on an article.
On the home page you have the module ochOpenGraph
in that module you only specified the title, I just added the description and that works correct?
So not sure what the issue is here.
Also: because the home page is based on an image you can also set the title and description via the custom fields you have created for these in the article itself (in the article edit / fields tab). Then there is no need for the ochOpenGraph module.
Only 'issue' is that the field for the description must be of type textarea and you selected test. So you cannot set the description fiels in the plugin configuration.
Please Log in to join the conversation.
- Patrick Gaulin
-
Topic Author
- Offline
- Posts: 17
- Thank you received: 0
I was trying to put the title and description from the module. I think that's why it wasn't working.
Also, I couldn't select the custom field for description in the plugin. Now that I corrected the type of the description field, everything works perfectly.
Thanks again for your patience.
Please Log in to join the conversation.
- Ruud van Lent
-
- Offline
- Posts: 1301
- Thank you received: 87
site looks great!
Please Log in to join the conversation.