Tagged: user workflows
- This topic has 5 replies, 2 voices, and was last updated 6 years, 3 months ago by
justin.
-
AuthorPosts
-
-
October 12, 2015 at 3:28 pm #4538
justinMemberI copied the demo-header.php file and edited the top to just be for user-profiles like so:
/* Flow: User Workflow Page: profile.php, user-edit.php Header: true Position: title */When you click on a user’s profile and you first enter in, you see the profile, when you click on the tab that was created by the workflow for profile, you get an empty screen. Not sure if this is a bug or if I implemented the new workflow method incorrectly. (The documentation and your demo code are pretty different)
Attachments:
You must be logged in to view attached files. -
October 13, 2015 at 10:54 am #4548
SteveKeymaster@justin– You’re pretty close. You actually need TWO Workflow files to make this work.
HEADER File: Which is what you have and should work.
TAB File: Take a look at demo-common.php in the demos Workflows/ folder. That’s what is actually creating the tab and setting the default.Let us know if that fixes your issue.
-
October 13, 2015 at 12:25 pm #4554
justinMemberDo I need to use sub-tabs like you did in the demo?
I did not include sub-tabs.This is my profile tab: user-flow-profile.php in the workflows folder
<?php /* Title: Profile Order: 1 Flow: User Workflow Page: profile.php, user-edit.php Default: true */This is my second tab: user-flow-general.php in the workflows folder
<?php /* Title: General Order: 20 Flow: User Workflow */ -
October 13, 2015 at 2:09 pm #4556
SteveKeymaster@justin- It will be easier if I have access to your code. Please zip up and email to [email protected], and I’ll be happy to take a look.
-
October 13, 2015 at 3:50 pm #4564
SteveKeymaster@justin– I just emailed you your updated code with the changes.
WordPress really doesn’t make it easier to control the user profile or edit term pages. Actually, they are pretty much a mess. The code in demos is hiding those fields with CSS on the alternate tabs. Not the best solution, but the only one WordPress gives us right now.
-
October 13, 2015 at 4:09 pm #4565
justinMemberThat works great. Thank you for your help.
-
-
AuthorPosts
- The topic ‘User Flow [0.9.9.2]’ is closed to new replies.