When I am in the list; I click on the "New" button and get my input
form, fill it out, and click "Save". The entry goes into the database,
but I don't see any way to tell it which view I want it to go to after
the save (at least not an obvious way). It seems to just add an "s" to
the input form view... and I don't have a view named that way.
So... how do I tell it what the List view name is?
I guess I could look for the view name with the "s" at the end and
redirect it in the main controller... but that seems like a hack. How am
I supposed to give it the view name?
Sincerely,
Brad Gies
-----------------------------------------------------------------------
Bistro Bot - Bistro Blurb
http://bgies.com http://nocrappyapps.com
http://bistroblurb.com http://forcethetruth.com
http://ihottonight.com
-----------------------------------------------------------------------
Everything in moderation, including abstinence (paraphrased)
Every person is born with a brain... Those who use it well are the successful happy ones - Brad Gies
Adversity can make or break you... It's your choice... Choose wisely - Brad Gies
Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead
Michael Babker
Owner, FLBab.com
"Never be bullied into silence. Never allow yourself to be made a victim.
Accept no one's definition of your life; define yourself." - Harvey
Fierstein
Sincerely,
--
You received this message because you are subscribed to the Google Groups
"Joomla! CMS Development" group.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to
joomla-dev-cm...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
public function save($key = null, $urlVar = null)
{
$retVal = parent::save($key, $urlVar);
if ($retVal)
{
$this->setRedirect(JRoute::_('index.php?option=com_doubleadsense&view=adsenselist',
'New item was inserted'));
}
}
Thanks...
Sincerely,
Brad Gies
-----------------------------------------------------------------------
Bistro Bot - Bistro Blurb
http://bgies.com http://nocrappyapps.com
http://bistroblurb.com http://forcethetruth.com
http://ihottonight.com
-----------------------------------------------------------------------
Everything in moderation, including abstinence (paraphrased)
Every person is born with a brain... Those who use it well are the successful happy ones - Brad Gies
Adversity can make or break you... It's your choice... Choose wisely - Brad Gies
Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead