Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

New answers tagged

0

After trying every possible way I could imagine I finally found the solution and I've been pretty close with the version I mentioned in this post. class BookstoreRouter extends JComponentRouterView { public function __construct($app = null, $menu = null) { $books = new JComponentRouterViewconfiguration('books'); $this->...


1

I won't pretend to believe that this answer will completely resolve your problem, but I do see a couple things to be fixed up. if (!strpos($id, ':')) is not advisable practice even if it does what you intend to do. To check if a substring exists within a string you should be performing a strict boolean check on false (either !== or ===) if (strpos($id, ':'...


0

I came to the conclusion that it is need to specify menu itemid as a parameter. If the menu has only one item associated with JoomGallery, then it can be obtained automatically. If several, then it is necessary to specify force in shortcode params. For example, plugin shortcode now is {jgcat catid=123 itemid=194 tmpl=bootstrap4}. Then php code parses plugin ...


Top 50 recent answers are included