Go Premium for a chance to win a PS4. Enter to Win

x

Joomla

Joomla is a free and open-source content management system (CMS) for publishing web content. It is built on a model–view–controller web application framework that can be used independently of the CMS. Written in PHP, Joomla uses object-oriented programming (OOP) techniques and software design patterns, stores data in a MySQL, MS SQL  or PostgreSQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, search, and support for language internationalization.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have a component called com_product that I developed. For the most part, its working properly.

I am having an issue when I add a category to the component.

I can get here:
Components -> Products -> Categories -> New
Product -> CategoriesProduct -> Categories -> Edit Screen
Then, I enter the data, hit any button, but the 'Cancel' button and I get this error:
Error message.
When I hit the back button, I can then hit the Cancel button and it takes me to the category listing page.

Anyone know what I'm missing within my code to get this working properly?

Here's my product.php file that sits here: /administrator/com_product/product.php
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_product
 *
 * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
 
// No direct access to this file
defined('_JEXEC') or die('Restricted access');

// Set some global property
$document = JFactory::getDocument();

// Require helper file
JLoader::register('ProductHelper', JPATH_COMPONENT . '/helpers/product.php');
 
// Get an instance of the controller prefixed by Product
$controller = JControllerLegacy::getInstance('Product');
 
// Perform the Request task
$controller->execute(JFactory::getApplication()->input->get('task'));

// Redirect if set by the controller
$controller->redirect();

Open in new window


Here's my helper file at: /administrator/com_product/helpers/product.php

Open in new window

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE
LVL 5
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Hello  

My saturday seems to be filled with htaccess issues :)  BTW this is a different site than my earlier question today.

I have a client who needs to have a few generic php and html files in the root of the server.  The existing Htaccess file apparently is disallowing files to be in the root -- which gives a 404 errors -- even though the physical files exist in the root (/public_html)

The files mainly have htm and php extensions, but there may be jpg, gifs and perhaps swf extensioins.

It''s a Joomla site, and I'm thinking it might be a security feature.  (His old joomla site let him have these kinds of files in the root.  But I guess Joomla hyped up the security and is not letting them be viewed by the public.

Please look at the htaccess file and let me know if indeed there is a rule prohibiting this, and how I can eliminate that rule.  BTW there is nothing in the code that will identify the actual site.....)
### ===========================================================================
### Security Enhanced & Highly Optimized .htaccess File for Joomla!
### automatically generated by Admin Tools 3.5.1 on 2015-05-15 14:49:25 GMT
### Auto-detected Apache version: 2.2 (best guess)
### ===========================================================================
###
### The contents of this file are based on the same author's work "Master
### .htaccess", published on http://snipt.net/nikosdion/the-master-htaccess
###
### Admin Tools is Free Software, 

Open in new window

0
We lost an employee to an illness and surgery for several weeks.  A Joomla backup file had been copied out to a new site space and Kickstart as well.  I am a SQL programmer, I do back end stuff.  I don't do anything with Joomla or setting up new sites in CPanel.  The site doesn't display in the browser with the IP address.  I found some great articles out there, but the instructions I've read are to open the kickstart.php file and then I'll be able to restore the .jpa file.  I can't even open the page in the browser, message is file not found.  I'm really stuck here and I'm hoping somebody can help me figure this out.  I'm sure it's not that complicated but I'm missing something.  Thank you in advance for your patience!
0
Our website seems to be running slowly. I believe it is needing an update to Joomla 3.7. We are required to backup our site before updating and we are also supposed to wait until Hikashop sends us an update notification.  How can I get our site to run more smoothly?
0
If you Google something I notice that some websites are just random blogs or options of a product or something. I notice that some not all are made by WordPress or another CMS.

My question is do people pay to just give an option or blog about something fake? I know that for a free WordPress site they include "wordpress" in the link. WordPress' I've seen don't have this watermark.

Would like to know how this works.
0
Hi All,

Our new web master decided to open the Joomla HTML editor on one of our Articles.  This messed up our buttons and now the web page shows a bunch of code underneath it.  Please see attached image.

I tried adding the HTML and script tags to the code and the HTML editor strips it out.  I have not idea on how to fix this.
Example.JPG
0
HI all,

I have a website that's Joomla based. I keep getting security breaches where malicious code is injected, etc.

It's not a mission critical site, so it's more of an annoyance than anything. But what are some of the preventative measures that people take for something like this?

Also, are there tools that clean up these malicious injections? An anti-virus for Joomla websites?

Thanks in advance.
0
What is the best way to approach this?

I want to create a database field in phpmyadmin/mysql within a Joomla3.7.2 site for a referral ID from a friend on sign-up. How do I set up the php URL to pass that as a session variable upon going to a special link, and following them through to sign up?
0
Hi, some time ago our sales guy employed a friend to change our company website from a simple fixed website to a full blown PHP-MySQL Joomla based website. This friend is no longer contactable and now we have a website no one can edit, and it has been hacked with the addition of links to Viagra websites.

I'm the IT Manager with obvious networking skills and I can write HTML ok, I know SQL server but I've never had a crack at a PHP - MySQL website of any sort let alone Joomla. I'd love to have a go at this because learning this is on my to do list, but in truth I just have to get this fixed and move on. Is there a simple way to edit a Joomla website in-situ or do I have to download the website and export the databases ... or do I just hire a professional?
0
I am using Joomla 3.6.5.   Last week  I have made changes to a slideshow extension(display on the Home Page) as well as to my events calendar(RSEventsPro). When I open a browser to view the changes, none appear until I use Shift Refresh. The same is true when displaying the Upcoming Events on my Home page. Open my website (www.fitndance.com) and notice that the slideshow only has 4 items, the Upcoming Events(on left side) display older events and then click on the Calendar(on top Menu) and notice on May 19th is blank. Then click on Shift Refresh on the Calendar, and the Swing Dance event appears. Then return to the Home page and click Shift Refresh and the Upcoming Events updates and the slideshow has 5 events.

I have cleared System Cache and does not resolve the problem.

Here is a video link showing what is happening. https://youtu.be/Kg3TqkA9-v8

I've cleared system cache and does not resolve the issue.
0
Vote for the Most Valuable Expert
LVL 7
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Hi I am trying to install joomla for the first time.
Got PHP and MySQL server installed, now trying to install Joomla

When it comes to the second page, Joomla does not see any MySQL databases, and you cannot proceed.

Please see screenshot.

PLease help.
5.JPG
0
Good afternoon

I am trying to add a background image to a Joomla 3.6 site. I managed to make the background blue (https://chairrepair.co.za) but instead of the blue I want to use an image.

Any ideas? Problem seems to be that the feedback to similar questions on the Joomla forum relates to version 3, and it seems 3.6 is a bit different to 3.

Appreciated
0
Hi,

I have a couple of joomla sites which I moved from an old server to a new server.  They were running fine on the old site but when I moved them they are now running extremely slow - one site I have just copied as, the other required a couple of changes to the template as it was using <?  instead of <?php tags but otherwise a straight copy.  

There are other sites on the server and they are ok so it is not a server issue.  

Below are details of the old server and new server setup -  I would like some advice on what I need to check to resolve.

Old server Php 5.3.14, Apache 2.2.22, MySQL 5.0.27
New server Php 5.4.12, Apache 2.4.4, MySQL 5.6.12

The joomla websites are running the following the versions of Joomla 1.5.15 and 1.5.19.

I can provide phpinfo settings if required.

Thanks
Valerie.
0
Hello Experts,

Whenever I attempt to add the following script to a page I created in Joomla it keeps on disappearing, can someone let me know why?

<script type="text/javascript">  var appInsights=window.appInsights||function(config){    function i(config){t[config]=function(){var i=arguments;t.queue.push(function(){t[config].apply(t,i)})}}var t={config:config},u=document,e=window,o="script",s="AuthenticatedUserContext",h="start",c="stop",l="Track",a=l+"Event",v=l+"Page",y=u.createElement(o),r,f;y.src=config.url||"https://az416426.vo.msecnd.net/scripts/a/ai.0.js";u.getElementsByTagName(o)[0].parentNode.appendChild(y);try{t.cookie=u.cookie}catch(p){}for(t.queue=[],t.version="1.0",r=["Event","Exception","Metric","PageView","Trace","Dependency"];r.length;)i("track"+r.pop());return i("set"+s),i("clear"+s),i(h+a),i(c+a),i(h+v),i(c+v),i("flush"),config.disableExceptionTracking||(r="onerror",i("_"+r),f=e[r],e[r]=function(config,i,u,e,o){var s=f&&f(config,i,u,e,o);return s!==!0&&t["_"+r](config,i,u,e,o),s}),t    }({        instrumentationKey:"b8fd81a5-3f5e-4e1b-a117-911cd608797e"    });           window.appInsights=appInsights;    appInsights.trackPageView();</script>

Open in new window


I'm trying to add it to:

<h1 class="title textleft default textDefault" style="margin-bottom: 20px; border: 0px; font-size: 24px; font-family: 'My Font One', 'Open Sans', sans-serif; vertical-align: baseline; line-height: 27.600000381469727px; text-transform: none;"><span style="margin: 

Open in new window

0
In a Joomla module I am trying to not show some Adsense ads when the screen resolution is below 350px.  Here is the code I have tried:

<style type="text/css">
.responsive_right_1 { display:inline-block; width: 320px; height: 100px; }
@media (max-width: 350px) { .responsive_right_1  { display: none; } }
@media (min-width: 500px) { .responsive_right_1  { width: 320px; height: 100px; } }
@media (min-width: 900px) { .responsive_right_1  { width: 336px; height: 280px; } }
</style>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- responsive_right_1 -->
<ins class="adsbygoogle responsive_right_1"
     style="display:inline-block"
     data-ad-client="ca-pub-xxxxxxxxxxxxxx"
     data-ad-slot="xxxxxxxxxxx"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

Open in new window


However, the ads still appear when the screen resolution is set to 350px or lower.
0
HELP! I have added two featured article to my site, but they don't show on the Home Page. However, when I search my site, find the page and click it, it takes me to the home page where my content can now be seen. How to I get my content to appear as featured without having to search it?
0
I currently have an old site used to send documents to a group of Brokers. I have the option to put a Broker in one of two groups. I can then upload documents and share those documents to one of those two groups and I can also select what Category (page) the document will show up on. The site also emails the Brokers that there is new files then they can log into the site and only see the files they have permissions to see. The site was made from scratch from a web developer we had about 10 years ago. I am not a web developer and am having a hard time keeping it up and I am not able to add new features to the site. I do not need the Brokers to edit or upload any files.

Is there a simple and good looking solution? I have seen some ugly and hard to use wordpress plugins but nothing that look better than my 10 year old site. I keep seeing "SP Project & Document Manager" when I google but that looks like garbage. Others have said "Use Sharepoint". I can NEVER find any real setup guides to setup anything in sharepoint or anything to go off of besides the basic setup guides from Microsoft that do not explain anything that I am trying to accomplish.

Anyone do anything similar or know of something for me to try out?
0
How do I hide a menu and link to the article within another article.  I have researched the problem on the web but have found nothing that will work with Joomla 2.5 Mission Control 2.6

I will be forever in your debt for a working solution.
0
Hi,
I can see that transferring joomla users to wordpress is easy with use of a plugin or doing it manually.
What I need to think about next though, is how can I manage these wordpress users withouth them having to go the wordpress admin page to login to view pages.  We want them to only login to site via a pop up login and then to see the protected pages.
We don't want them to have access to login to wordpress like a normal user.
Can anyone suggest a plugin that would take the management of the wordpress users a little bit more seriously with more options as to what the users see etc?

thanks for help in advance.
A
0
Concerto's Cloud Advisory Services
LVL 5
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Can anyone advise me on a shopping cart for Joomla 2.5 other than RokQuikCart or Ecwid?  I would like a cart that allows payment by  PayPal and Credit Card.

RokQuikCart doesn't seem to allow a credit card payments in addition to PayPal.

Ecwid seems to need html pasted in to the page and doesn't seem to have a nice simple interfaces for entering products and prices.

Thanks in advance,

Clive
0
I am using Joomla with the RocketTheme Antares template and the extention Rokbox for an automated popup that is being triggered on page load, for the homepage only. I have tested it and everything is working fine so far.

Can anyone please help me with the following issue: I would like the popup to appear 10 seconds after homepage load and only once, instead of every time the homepage loads.
 
I am using this link in the page settings oft he homepage:
<!-- popup for main page -->

<div><a data-rokbox href="#" data-rokbox-element="#g-popupmodule-module-popupmodule-274" title="" rel="rokbox" id="rokbox-popup-main"></a></div>

This is the piece of code that I added into the index.php (/templates/rt_antares/index.php) to make sure that the popup is being executed on homepage load only:

<?php
 if($_REQUEST['Itemid'] == '133' ) :
?>
<script language="javascript" type="text/javascript">
if(typeof HTMLElement!='undefined'&&!HTMLElement.prototype.click)
    HTMLElement.prototype.click=function()
    {
        var evt = this.ownerDocument.createEvent('MouseEvents');
        evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
        this.dispatchEvent(evt);
    }
      function showrokbox(){    
          document.getElementById('rokbox-main-popup').click();
       }
//      window.addEvent( domready , function(){
//            showrokbox();
//      });
      
      
window.addEvent('domready', function(){
 showrokbox();
});…
0
Hi,
I am in the process of migrating a Joomla 1.5.x site to 3.x site.
It's done for the most part. But I curious about something.
I have a custom module, with a graphic in it. I want to link the graphic to an article on my site.
In 1.5, if I tried to add a link it would come up with a dialog box that would allow me to select the article. (see attached)
Now, in 3.x, if I try to add a link, the dialog box seems to only accept a direct http:// link, with no option to browse the list of current articles. Is there some advanced feature in 3.x that I need to turn on to see this advanced dialog box for linking articles?
Thanks!
NachtJoomla Screen ShotJoomla Screen Shot 2
0
When I view my Joomla database northfh5_nw3 in PHPmyAdmin, in the left pane the jml_updates table is listed but the table name does NOT show up in the right pane .

When I try to select it in the left pane, I get an error that says:
#1146: Table 'northfh5_nw3.jml_updates'  does not exist.

I have an exact copy of that database that is named northfh5_nw3a, that contains the same table, 'jml_updates'. I exported it and tried to import it back into the first database. Doing that I get this :

Error
SQL query:
-- -- Database: `northfh5_nw3a` -- -- -------------------------------------------------------- -- -- Table structure for table `jml_updates` -- CREATE TABLE IF NOT EXISTS `jml_updates` ( `update_id` int(11) NOT NULL AUTO_INCREMENT, `update_site_id` int(11) DEFAULT '0', `extension_id` int(11) DEFAULT '0', `name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT '', `description` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, `element` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT '', `type` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT '', `folder` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT '', `client_id` tinyint(3) DEFAULT '0', `version` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT '', `data` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, `detailsurl` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, `infourl` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, `extra_query` varchar(1000) COLLATE utf8mb4_unicode_ci DEFAULT
0
I would like to have a page on the website that does not appear in the menus but can be accessed by entering the URL.

Is it possible?

Thanks in advance.
0
Hi,  I have a site written in spanish.  I would like to be able to have readers convert it to English?  Which plugin lets you write in spanish and convert to English. Or can I write two pages one in both languages.
Which is the best way to do this?

This site here http://angusargentino.une.edu.au seems to have a translate pop up but its in joomla and i am not sure if google is doing it?

Can I use this on a wordpress site?  How?

Can someone help me get a spanish site written up and converted to English if neccessary?
0

Joomla

Joomla is a free and open-source content management system (CMS) for publishing web content. It is built on a model–view–controller web application framework that can be used independently of the CMS. Written in PHP, Joomla uses object-oriented programming (OOP) techniques and software design patterns, stores data in a MySQL, MS SQL  or PostgreSQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, search, and support for language internationalization.

Top Experts In
Joomla
<
Monthly
>