Hey guys!
I'm just installed the newest version 4.0 stable J2.5 on my system
PHP Built On Linux infong 2.4 #1 SMP Thu Feb 14 13:02:49 CET 2013 i686 GNU/Linux
Database Version 5.1.67-log
Database Collation utf8_general_ci
PHP Version 5.2.17
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 2.5.10 Stable [ Ember ] 24-April-2013 14:00 GMT
Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
I've created a form using the wizard and have placed a few elements on the form just to test it out and to see how it looks. I've added it to a menu and when I click it, the form seems blank.
It's published and there are no errors returned in the UI. Any ideas?
Aaron
I'm just installed the newest version 4.0 stable J2.5 on my system
PHP Built On Linux infong 2.4 #1 SMP Thu Feb 14 13:02:49 CET 2013 i686 GNU/Linux
Database Version 5.1.67-log
Database Collation utf8_general_ci
PHP Version 5.2.17
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 2.5.10 Stable [ Ember ] 24-April-2013 14:00 GMT
Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
I've created a form using the wizard and have placed a few elements on the form just to test it out and to see how it looks. I've added it to a menu and when I click it, the form seems blank.
It's published and there are no errors returned in the UI. Any ideas?
Aaron
Thanks Bob!
That did the trick. What would be the purpose of that feature? I mean, if you don't want to show the form, why not just disable it?
Aaron :mrgreen:
That did the trick. What would be the purpose of that feature? I mean, if you don't want to show the form, why not just disable it?
Aaron :mrgreen:
Hi Aaron,
If you use the Easy Wizard to start with then that - and a bunch of other actions - are built in for you. If you use the Normal/Advanced Wizard you get to start with a clean, empty form. Though, as I post the answer to this question here about once a day I'd probably add it :-)
Bob
If you use the Easy Wizard to start with then that - and a bunch of other actions - are built in for you. If you use the Normal/Advanced Wizard you get to start with a clean, empty form. Though, as I post the answer to this question here about once a day I'd probably add it :-)
Bob
Thanks Bob!
Now I just have to get one form to:
1) connect to the DB successfully
2) have the article (form submission) end up in the right category / section when submitted
3) capture the user name who submitted the form
in J1.5 I had to do a couple of things
1) this was easy as you just enabled it, and selected the table from the chosen DB. Now you have to add more parameters to get it working. I'm getting an error that I can't review properly because it shows up in the table name drop menu (you can't CTRL +C it)
2) you had to add something like this to the form in the on submit section to have it in the right place in Joomla:
<?php
$_POST['catid'] = '44';
$_POST['id'] = '';
$_POST['sectionid'] = '5';
$_POST['state'] = '0';
3) Adding this in the form, captured the user :
<?php
$user = & JFactory::getUser();
?>
Can I do this in the newest version? I'm getting a bit stuck right now.
Aaron
Now I just have to get one form to:
1) connect to the DB successfully
2) have the article (form submission) end up in the right category / section when submitted
3) capture the user name who submitted the form
in J1.5 I had to do a couple of things
1) this was easy as you just enabled it, and selected the table from the chosen DB. Now you have to add more parameters to get it working. I'm getting an error that I can't review properly because it shows up in the table name drop menu (you can't CTRL +C it)
2) you had to add something like this to the form in the on submit section to have it in the right place in Joomla:
<?php
$_POST['catid'] = '44';
$_POST['id'] = '';
$_POST['sectionid'] = '5';
$_POST['state'] = '0';
3) Adding this in the form, captured the user :
<?php
$user = & JFactory::getUser();
?>
Can I do this in the newest version? I'm getting a bit stuck right now.
Aaron
Hi Aaron,
If you are trying to add an article then CFv4 has a Submit Article action that will do most of that for you. There are a couple of problems with it though - it won't accept a variable category and someone recently pointed out that it will allow duplicate aliases.
You can get round the category problem by changing it using a Custom Code action after the Submit Article action.
Bob
PS Categories and Sections were merged in one of the Joomla! 1.6+ upgrades.
If you are trying to add an article then CFv4 has a Submit Article action that will do most of that for you. There are a couple of problems with it though - it won't accept a variable category and someone recently pointed out that it will allow duplicate aliases.
You can get round the category problem by changing it using a Custom Code action after the Submit Article action.
Bob
PS Categories and Sections were merged in one of the Joomla! 1.6+ upgrades.
Thanks for the help, I think I'm getting there now. I'm just testing or learning about "article save" and "db save" and if you have to use both to function? (i.e. save article in site content)
I would assume as soon as an article is created in any state, that it would be saved in the content table.
Aaron
:mrgreen:
I would assume as soon as an article is created in any state, that it would be saved in the content table.
Aaron
:mrgreen:
This topic is locked and no more replies can be posted.