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;
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```