Using JRoute to generate component SEF URL without a menu item id

Currently JRoute generates URLs for my component which look like this https://mysite.com/component/mycomponent/xxx, where I’m handling xxx in my component’s router. Instead I’d like JRoute to generate a URL for the same location with https://mysite.com/myseflocation/xxx. I’ve found four ways of achieving what I want, but I don’t find any of them particularly satisfactory. All of my…

Magento 1.9 Import products inssue

I’m trying to import some products, magento performs everything right, but when I look at the catalog, there is no imported product Starting profile execution, please wait… Warning: Please do not close the window during importing/exporting data Starting Mage_Dataflow_Model_Convert_Parser_Csv :: parse Found 453 rows. Starting catalog/convert_adapter_product :: parse Processed 100% 453/453 records Imported 453 records…

error displaying magento

Install magento 2 on my premises and I have these errors and I can’t see the system Already use the following commands php bin/magento setup:upgrade php bin/magento setup:static-content:deploy php bin/magento setup:di:compile php bin/magento cache:flush php bin/magento cache:clean But this does not solve my problem, the maximum I can see on the screen is this How…

Grab all the posts for particular category

So I have a class called Recipe and inside I have a get() method as shown below: public function get() { $taxonomies = get_terms([ ‘taxonomy’ => ‘recipe-categories’, ‘hide_empty’ => false ]); $output = ”; if (!empty($taxonomies)): $output = ‘<div>’; foreach ($taxonomies as $category) { if ($category->parent == 0) { $output .= ‘<p><a href=”‘ . get_home_url()…