Questions tagged [content-plugin]
The content-plugin tag has no usage guidance.
8
questions
2
votes
1
answer
35
views
Joomla 4 Plugin to overwrite value of a custom field
I need a Joomla 4 Plugin to overwrite a marker in Custom Fields of type text or textarea with the article's title.
I added a onPrepareContent() method where I have access to the articles title as well ...
2
votes
1
answer
65
views
Plugin to manipulate form data onContentBeforeSave
For a Joomla 4 project I wrote a Content Plugin to grab video thumbs from Video-URLs (Vimeo) the user adds into Custom form field of a frontend form. The following code successfully gets the video ...
0
votes
1
answer
84
views
Custom plugin doesn't even seem to load on Joomla 4
As a sort of newbie developer with php/Joomla, I created a content plugin for Joomla 3 which pretty much did what I wanted and expected...
I then decided to migrate it to Joomla 4 following the very ...
1
vote
1
answer
63
views
Simple Joomla plugin not working on frontend
I have a simple Joomla 3 plugin that works fine on backend for resizing images when uploading from multimedia manager:
<?php
defined('_JEXEC') or die('Restricted access');
class ...
1
vote
0
answers
30
views
Is SweetAlert2 html parameter length limited in size?
I recently created a plugin for Joomla which uses the nice SweetAlert2 popup script and it generally works fine. However, surprisingly, when the size of the html message I use is too long, the box ...
1
vote
1
answer
127
views
How to use Openlayers transpiled Javascript code in my own extension (a "bundle")
I am developing a Joomla 3.x content plugin to display Openlayer maps in articles based on @Robbie Jacksons excellent tutorial at https://docs.joomla.org/J3.x:Developing_an_MVC_Component/Adding_a_Map ...
1
vote
1
answer
73
views
How can a Joomla 3x "content" plugin determine which page it is on?
I am building an advanced image handler for Joomla 3x where images are built dynamically at run-time based on a number of parameters defined in tags inserted into articles. An example look like this:
{...
0
votes
1
answer
41
views
How can I place a module position in the midpoint of my content no matter what size
I want to put a call to action in the middle of my content no matter what size the content it.
I know I will need some JavaScript in order to calculate the word count and the mid point. And I know I ...