Skip Navigation

[Resolved] Unexpected things in latest version

This support ticket is created 6 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 13 replies, has 3 voices.

Last updated by Clifford 6 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#905515

I'm unsure if these are new bugs in the latest versions or if I'm doing something incorrectly.

1)
- I created a new custom post type and a post is Published. However, there is no "View" link at the wp-admin list of posts: hidden link
- When I edit the single post, it does have a "View" link in the WP Admin Bar.

2)
- When I click to view the single post, Layouts told me there's no Layout for the 404 template, so I created one.
- Next time I tried to view the single post, it loaded my theme's 404.php template file
- So I searched, found https://toolset.com/documentation/user-guides/designing-custom-404-error-pages-with-layouts/, went into Layouts settings, and I do not see the "Options" to select 404: hidden link

FYI:
- I have "A blank page with a message" set for what to do if no Layout exists

#905589

I can see the View link in the Post Admin lists for all posts types I created with Toolset.
This must be an exception only happening with another Plugin, a Theme, Custom code or other.

Clicking on a "View" Link should not take you to any Layouts screens.

There seem to be some problems with this install, which are possibly related to either corrupted files or compatibility issues.

Please download fresh copies from Toolset and re-install them.
No data will be lost, but nonetheless, perform a backup.
Then, if the issue persists, check if it also persists with a WordPress Default Theme and NO Plugins BUT the Toolset Plugins?

If not, could you then re-enable the Plugins one after the other, and check the issue each time you enable a plugin?
Please report me when the issue comes back
It might also be due to the Theme.
Please do reactivate your Theme only after you are sure the issue isn't coming from a 3rd Party Plugin.

If at this point the problems are not solved I think we will need to have a copy of this site.
https://toolset.com/faq/provide-supporters-copy-site/

#905628

Switched to Twenty Seventeen theme.

Deactivated all other plugins.

Re-installed fresh downloads.

Still happening:

P.S. Is there no "Private Message" functionality here?

#905657

Ah, figured it out. My post type apparently needs publicly_queryable to be checked... I guess it's a bug that the WP Admin Bar displays a "View" link when it's not viewable.

Any explanation if I should also enable query_var? If I enable it, how is setting something custom there different from setting Use a custom URL format in the rewrite field?

And what about the ability to assign a Layout to the 404? Is the "Options" not appearing like in the help article's screenshot a bug you can confirm?

#905769

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Clifford,

Could you send me a screenshot of what you are seeing on your end regarding the 404 ?

Thanks,
Shane

#905889

From my initial message in this thread:

- So I searched, found https://toolset.com/documentation/user-guides/designing-custom-404-error-pages-with-layouts/, went into Layouts settings, and I do not see the "Options" to select 404: hidden link

#905897

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Clifford,

Would you mind providing me with admin access so that I can check on this issue for you ?

Thanks,
Shane

#905982

Was the Duplicator backup insufficient for your testing?
Are you unable to replicate this issue with the latest versions of Toolset plugins?

#905983

And could you please mark my previous reply with Duplicator login info Private?

#906229

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Clifford,

I was able to verify and even replicate this issue and will be escalating it to our 2nd tier supporters for further debugging.

Thanks,
Shane

#906265

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Clifford,

I was able to get this to work and this is how you do it.

First add the following to your functions.php file

function MinimaX1_is_integrated_with_layouts() {
    return true;
}
add_filter('ddl-is_integrated_theme', 'MinimaX1_is_integrated_with_layouts');

Second you need to add this to your 404 page template "<?php the_ddlayout(); ?>"

Finally resave your permalinks and it should now allow you to create your custom 404 page.

Thanks,
Shane

#906318

Thank you. So is this confirmed as a bug? If yes, no problem; it'll get fixed eventually.

If it's not considered a bug, then the UX is "a bug" because I ended up at a 404, Layouts said "hey, go make a 404 template", I did, and then it didn't render it and the "Options" wasn't there (because ddl-is_integrated_theme was false) like in the help article's screenshot.

FYI: You can use WP's built-in https://developer.wordpress.org/reference/functions/__return_true/

add_filter( 'ddl-is_integrated_theme', '__return_true' );
#906362

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Clifford,

Actually no its not a bug just that our documentation was missing this little information.

Thanks,
Shane

#906511

Gotcha. Looking forward to that getting added in the future in case I need to reference it again.
Thank you.