Bug #23605 Bug Fixed

Pages Add-on + Live Preview not displaying entry data?

Version: 4.2.1 Reporter: Chris LeBlanc

Hello,

I just purchased EE 4 and am hitting an issue with Live Preview not working with my template.

To reproduce: 1. Create a new entry “Page” with Page URI ‘/foo’ and a specific template form the template dropdown 2. Verify page is created in Pages Manager (‘/’ doesn’t list in the “Pages Manager” which might be another bug) 3. Edit same entry and choose “Preview” 4. Notice channel entry data is missing from the template despite the specified template is in preview

I’m just using the Pages module, no other add-ons.

  • In system/ee/EllisLab/ExpressionEngine/Controller/Publish/Publish.php change line 406 from:

    $uri = $entry->getPageURI();

    to:

    $uri = $entry->getPageURI();
    ee()->uri->page_query_string = $entry->entry_id;
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases