I have this piece of code that already runs on the pages I need this done. (The entire Joomla 3.9 site is a Frankenstein of custom code, components, etc. ) I tried adding the following to see if I can get this to set the title the same way. Meaning, I go into the Joomla Language overrides section, add the
Tag: joomla
Editing/styling text from file/array and putting it back in order, styled?
tl;dr I’m trying to style specific lines from a textfile, and in the end being able to show it on the page in the original order. info: My page is running Joomla with the sourcerer extension. Sample content of the wishlist: Full story I’m trying to set up a simple site for my family that can display our wishlists. We’re
How to use condition in xml fieldset
I have two eddition in my realise joomla web app. “Common” and “Special” edition. I want to limit “Common” edition with exclude “icons” dir from “images”. expected: I tried the following code but it was not correct (Apparently, if segment cannot be used within fileset) Answer I use condition for this
How can I find a list of all the php files that are called when a page loads?
I’m taking over a website for my job. The last developer didn’t understand the architecture of our CMS and hacked his way around everything. Also, he documented nothing. I need to track back and see …
Get intro image by ID from database (joomla)
I am trying to read the intro image from a joomla database. I have a list of products, that each need to show the intro image that matches the ID of the product. // content $content = “…
Facebook Open Graph, required property ‘og:title’ of type ‘string’ was not provided
I have a Joomla-page (v3.2.4) where I put in some dynamic Open Graph tags with PHP, like this: The PHP, before the tag: And in my tag I have this: When I run the page through the Facebook Object Debugger, I get the following two errors: Object at URL ‘http://www.livakursertestsite.dk/kurser/babytegn-2’ of type ‘website’ is invalid because a required property ‘og:title’
Chart.js – Creating multiple charts on one page
I would like to use chart.js in my joomla-component called “bestia”. To do so I imported chart.js as media-element in the manifest.xml. I’m calling the js by doing the following: JHtml::script(Juri::root() . ‘media/com_hostinghelden/chartjs/Chart.js’); Now I would like to use a helper to shorten things up a bit. My helper should draw a graph… Well, if I call this Jhtml-Graphs, the
Can I insert executable PHP code into Joomla custom HTML module?
if you open this Joomla website you can easy understand what I have to do: http://lnx.erusma.org As you can see at the bottom of the page there is a Custome HTML Joomla module named Get in touch This custom HTML module contains this simple HTML code that show an e-mail form: I have inserted this HTML code by the JCE
Joomla – Controller task that returns JSON data
I have the task run in my controller. I want it to return JSON data. As it stands, I am getting my JSON data wrapped inside the template HTML. How do I tell Joomla to just return JSON data from the …
Adding Attributes to Select Options in Joomla
I’m trying to add extra HTML attributes to some select options in a dropdown list in Joomla 2.5, and want to use the built-in HTML helpers rather than write the HTML by myself. The current output is: …