Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some View layout combinations don't work #51

Open
3 of 9 tasks
rafaehlers opened this issue Nov 13, 2020 · 2 comments
Open
3 of 9 tasks

Some View layout combinations don't work #51

rafaehlers opened this issue Nov 13, 2020 · 2 comments
Labels

Comments

@rafaehlers
Copy link
Collaborator

Assuming these two options:

image

Table

  • Table x Table (works)
  • Table x Unordered (odd way):

image

  • Table x Definition (works)

Unordered List

  • Unordered x Table (incorrect)

image

  • Unordered x Unordered (odd way):

image

  • Unordered x Definition (works)

Definition List

  • Definition x Table (wrong):

image

  • Definition x Unordered (odd way:)

image

  • Definition x Definition (works)
@rafaehlers rafaehlers added the bug label Nov 13, 2020
@rafaehlers
Copy link
Collaborator Author

Related: #40

@shamalisulakhe
Copy link
Contributor

Possible reasons -
plugins/Gravity-Forms-Directory/includes/class-gf-directory-shortcode.php : Line 205

image
$content = apply_filters( 'kws_gf_directory_output', apply_filters( 'kws_gf_directory_output_' . $form_id, self::html_display_type_filter( $content, $directoryview ) ) );

  • $directoryview takes view type of directory/multiple entries view even being on the single entry page.
  • $single var is not passed, thus considered false by default on the single entry page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants