Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

Can a module calling an API post to the database?

If I create a module, by standard, it doesn't have database fields. If I use this module to call an API it works, but what if the API is down then my module shows blank. Plus there's the downside of ...
Eoin's user avatar
  • 2,043
1 vote
2 answers
721 views

What is the proper way to use content.prepare?

I am trying to put a module inside another component. According to https://www.joomlashack.com/blog/joomla-how-to/module-position-component/ I can put <?php echo JHtml::_('content.prepare', '{...
shenkwen's user avatar
  • 1,389
0 votes
1 answer
699 views

Where do I define custom global variables in my Joomla project?

I'm using Joomla 3.9.18 and I've got a project including a component and a couple of modules. I've got a couple of variables that are the same throughout the whole project (like some prefixes and a ...
user avatar
1 vote
1 answer
2k views

Pass PHP variables to CSS?

I want to pass some variables to my css, without using inline styles. During some research I found different sources pointing to the same solution. For example here on the Joomla forum. Basicly they ...
TVBZ's user avatar
  • 213
0 votes
1 answer
573 views

Display the component view or layout into a module

I've built my own component com_mycomp and in the component there is form in a layout and the path to this layout is: com_mycomp/site/layouts/subscription/form.php so I want to show this layout (form)...
TrolliFlame's user avatar
1 vote
2 answers
38 views

Add Options to {loadedmoduleid ID}

I want to create a module that implements animated icons into my articles. For this I want to use the following icon-pack: https://github.com/icons8/titanic Then I want to somehow write in my ...
Cowboy_Patrick's user avatar
0 votes
1 answer
87 views

Custom module doesn't work, messing up all page, messing up editor

I am using Joomla! 3.7.5 and JA Builder. I'm trying to create a block with custom module. Once I create it, paste code and assign position, then in page editor add block with widget - position and ...
Viktoriia Shestak's user avatar
3 votes
1 answer
2k views

How to use HTMLHelper to add to the document head

In this post: How to add CSS/JS/an Image to a module backend @lodder shows me how to use HTMLHelper to add CSS and JavaScript. Previously I had followed the Joomla! documentation https://docs.joomla....
Eoin's user avatar
  • 2,043
1 vote
1 answer
541 views

Custom header content depend on article

I am wondering is it possible to have different headers depending on the different articles? e.g article ID 1 shows header A and article ID 2 shows header B. Currently I have modified the template ...
Z Pat's user avatar
  • 13
0 votes
1 answer
811 views

Different views on router.php (Joomla! 3.6.4)

I am developing my second custom component for Joomla! 3.6.4 and I have another problem with my router.php. This time I need to dynamically change the view on my router.php but I don’t know how to do ...
OlafGizursson's user avatar
0 votes
0 answers
109 views

Create custom HTML page as administrator menu in Joomla 3.7

As we know Joomla 3.7 permits to create custom administrator menus, but is it somehow possibile to create "Custom HTML" administrator single item menu? Something like creating single article menu on ...
Adam M.'s user avatar
  • 457
1 vote
1 answer
33 views

How to make a Joomla module installation from a module already installed on another page

I'm working on a new website and I wanted to install a module that I have on another website that I'm administrating (I didn't make that website and the developer who made it, made that module himself)...
TheAdnan's user avatar