Well, I tried putting your code into my controllers/recipe.php, but I keep getting this error: Fatal error: Call to a member function on a non-object in /home/russell/public_html/administrator/components/com_recipe/controllers/recipe.php on line 51 Here's my code: /** * save a record (and redirect t...
So, should the code you gave me be put on the form.php page or on some other page? I based my component off the hello_world component shown to us by joomla.
Here's my code so far, if it helps: <?php defined('_JEXEC') or die('Restricted access');?> <form action="index.php" method="post" name="adminForm" id="adminForm"> <div class="col100"> <fieldset class="adminform"> <legend><?php echo JText::_...
I could really use some help. I haven't really worked with PHP for about a year, and I'm still learning joomla. I have joomla 1.5 and I installed the IncludePHP plug-in. What I'm trying to do is pull information from my database onto an article. My code so far is: {php} defined('_JEXEC') or die('Res...
I could really use some help. I haven't really worked with PHP for about a year, and I'm still learning joomla. I have joomla 1.5 and I installed the IncludePHP plug-in. What I'm trying to do is pull information from my database onto an article. My code so far is: {php} defined('_JEXEC') or die('Res...
Ever wondered if there was an easy way to put a separator between a new items and articles? Well, there is a CSS class recognized by the Joomla! core that makes this a simple chore. At the end of each content item, Joomla! generates the following statement: The folowiing example puts a solid ba...