Larry Cottle
Forum Replies Created
-
AuthorPosts
-
Larry CottleParticipant
So, the foreach loop is in a form. Nested forms are not allowed according to the HTML specification. When a form element is nested within another form element, the browser corrects the structure. As a result the form tags being removed.
Back to the drawing board!!!
Any suggestions to overcome my dilemma are welcomed. Otherwise Please close this ticket.
Thank You! for your time.
Good Day
Larry CottleParticipantHello,
Well, after 10 hours of troubleshooting I removed un necessary php exit; in my custom tab code which prevented the scripts from loading. This is why I had to add the scripts manually in version 8.4.1.
Now I no longer need to add scripts manually.
Every thing works great!
Thanks a lot!
LJC
Larry CottleParticipantIf I have three users with same display name, how do i know the one to pick from the list?
LJC
Larry CottleParticipantNo.
FEP uses first and last name to identify recipients. The directory lists users by first and last name. The search box in mew message to: field lists recipients by first and last name.
When creating new message from message menu, (to: box “type user name”), search will return first & last name of recipient. Because I have some users with same first and last name, both users appear in search box with no way to tell which one to choose.
In order to know which one to choose I have to search by username or nicename. Which means I have to know the username or nicename beforehand.
This is confusing because the person sending a message only knows the recipient by first and last name.
A username/nicename column in directory would help solve problem. All FEP users should know username/nicename associated with first & last name.
Thanks,
LJC
April 25, 2018 at 6:58 pm in reply to: New message form shortcode autopopulate to specific user #13683Larry CottleParticipantI contacted theme author. They solved the problem. Works great now.
Thank you!
LJC
April 25, 2018 at 1:35 am in reply to: New message form shortcode autopopulate to specific user #13670Larry CottleParticipantThank you! That syntax worked! However the form will no longer populate in my lightbox.
Any ideas?
Have A Great Day!
LJC
April 24, 2018 at 11:12 pm in reply to: New message form shortcode autopopulate to specific user #13664Larry CottleParticipantDisregard Previous reply as it has an error
<?php
Q Where are you adding this shortcode
A In php template where php code can be parsed
Heres The CODE:echo do_shortcode(‘[fep_shortcode_new_message_form to=godzilla subject=”test”]’)
?>
the form shows as expected.<?php
$user = ‘godzilla’;
echo do_shortcode(‘[fep_shortcode_new_message_form to=$user subject=”test”]’)
?>the form DOES NOT show.
LJC
April 24, 2018 at 11:10 pm in reply to: New message form shortcode autopopulate to specific user #13662Larry CottleParticipant<?php
Q Where are you adding this shortcode
A In php template where php code can be parsed
Heres The CODE:$user = ‘godzilla’;
echo do_shortcode(‘[fep_shortcode_new_message_form to=godzilla subject=”test”]’)
?>
the form shows as expected.<?php
$user = ‘godzilla’;
echo do_shortcode(‘[fep_shortcode_new_message_form to=$user subject=”test”]’)
?>the form DOES NOT show.
LJC
Larry CottleParticipantProblem solved.
Please close ticket
LJC
-
AuthorPosts