Forum

Thread tagged as: Question

Cannot preview pages - blog

Hello,

I am using Perch Blog app but I cannot preview pages.

I have put a version of index.php and post.php in a folder called /blog/ and when I try to preview a blog entry, i.e. a draft it comes up blank.

Is there a particular <?php(); ?> section I must add to a page in order to preview content?

Garth Holmes

Garth Holmes 1 points

  • 6 years ago

Hi,

Have you included the perch runtime at the top of the page?

<?php include('perch/runtime.php');?>

Cheers Dennis

Hi Dennis,

I have included that.

I am using <?php perch_content_create(); ?> for additional fields but they don't reference any blog .html templates.

Also, my actual .php pages, are in a /blog/ folder i.e. /blog/index.html and /blog/post.php

Thanks for writing

Rachel Andrew

Rachel Andrew 394 points
Perch Support

If you are rewriting your URLs then you will need to ensure you have a rule for the preview as explained in the documentation.

You do not need to put anything extra on your pages to preview them.

Ok,

I'll read the documentation but is there any reason it needs to append /preview/ on the end of the URL or is there any way to stop that from occurring?

Drew McLellan

Drew McLellan 2638 points
Perch Support

The page needs to know it should be showing a preview.

Can you post your diagnostics?

Perch information

    Perch: 2.8.8
    Production mode: Production (100)
    Installed apps: content (2.8.8), assets (2.8.8), categories (2.8.8), perch_blog (4.6), perch_forms (1.8.3), perch_mailchimp (2.0.1), perch_members (1.2), perch_backup (1.2)
    DB driver: PDO
    DB tables: perch2_blog_authors, perch2_blog_comments, perch2_blog_index, perch2_blog_posts, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_forms, perch2_forms_responses, perch2_mailchimp_campaigns, perch2_mailchimp_history, perch2_mailchimp_log, perch2_mailchimp_stats, perch2_mailchimp_subscribers, perch2_members, perch2_members_forms, perch2_members_member_tags, perch2_members_sessions, perch2_members_tags, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_scheduled_tasks, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
    Users: 2
    App runtimes:

    <?php
        $apps_list = array(
            'content',
            'categories',
            'perch_blog',
            'perch_forms',
            'perch_mailchimp',
            'perch_members',
        );
    ?>

    Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
    Scheduled tasks for perch_mailchimp: update_list_stats (60 mins)
    Editor plug-ins: markitup
    H1: 105ac2522953975ae65ce63d3a19775a
    L1: 6a10ba8fd6cf183b9e51e15979d54d45
    headerColour: #ffffff
    content_singlePageEdit: 1
    helpURL:
    siteURL: /
    hideBranding: 0
    content_collapseList: 1
    lang: en-gb
    update_2.1.4: done
    latest_version: 2.8
    update_2.3.3: done
    on_sale_version: 2.8.8
    update_2.3.4: done
    update_2.4: done
    update_2.4.1: done
    update_2.4.2: done
    update_2.4.3: done
    update_2.4.4: done
    update_2.4.5: done
    update_2.4.6: done
    update_2.4.7: done
    update_2.4.9: done
    update_2.5: done
    update_2.5.2: done
    update_2.5.3: done
    update_2.5.4: done
    update_2.6: done
    update_2.6.3: done
    update_2.6.6: done
    update_2.7: done
    update_2.7.2: done
    update_2.7.3: done
    update_2.7.4: done
    update_2.7.5: done
    update_2.7.6: done
    update_2.7.7: done
    update_2.7.8: done
    update_2.7.9: done
    update_2.7.10: done
    update_2.8.2: done
    update_2.8.4: done
    update_2.8.5: done
    update_2.8.6: done
    update_2.8.7: done
    perch_blog_update: 5.0
    perch_blog_post_url: /blog/{postSlug}
    perch_mailchimp_secret: 7623a548bd20a1094942ff47dc42fd68
    perch_mailchimp_update: 2.0
    headerScheme: light
    perch_members_login_page: /members/login.php?r={returnURL}
    perch_blog_slug_format: {postTitle}
    perch_blog_akismet_key:
    perch_blog_max_spam_days: 0
    perch_mailchimp_api_key:
    perch_mailchimp_list_id:
    perch_mailchimp_campaign_url: /mailchimp/campaign.php?s={campaignSlug}
    perch_backup_mysqldump_path:
    dashboard: 0
    hide_pwd_reset: 0
    content_hideNonEditableRegions: 0
    content_frontend_edit: 0
    perch_blog_comment_notify: 0
    update_2.8.8: done
    PERCH_DEVELOPMENT: 10
    PERCH_STAGING: 50
    PERCH_PRODUCTION: 100
    PERCH_DB_USERNAME: sitemast_myperch
    PERCH_DB_SERVER: localhost
    PERCH_DB_DATABASE: 
    PERCH_DB_PREFIX: perch2_
    PERCH_TZ: UTC
    PERCH_EMAIL_FROM: 
    PERCH_EMAIL_FROM_NAME: 
    PERCH_LOGINPATH: /perch
    PERCH_PATH: /home/sitemaster/public_html/perch
    PERCH_CORE: /home/sitemaster/public_html/perch/core
    PERCH_RESFILEPATH: /home/sitemaster/public_html/perch/resources
    PERCH_RESPATH: /perch/resources
    PERCH_HTML5: 1
    PERCH_DEBUG:
    PERCH_APPS_EDITOR_MARKUP_LANGUAGE: html
    PERCH_APPS_EDITOR_PLUGIN: ckeditor
    PERCH_RUNWAY:
    PERCH_ERROR_MODE: DIE
    PERCH_DATE_LONG: %d %B %Y
    PERCH_DATE_SHORT: %d %b %Y
    PERCH_TIME_SHORT: %H:%M
    PERCH_TIME_LONG: %H:%M:%S
    PERCH_PREVIEW_ARG: preview
    PERCH_TEMPLATE_PATH: /home/sitemaster/public_html/perch/templates
    PERCH_DEFAULT_DOC: index.php
    PERCH_DEFAULT_EXT: .php
    PERCH_PRODUCTION_MODE: 100
    PERCH_RWD:
    PERCH_HTML_ENTITIES:
    PERCH_SSL:
    PERCH_STRIPSLASHES:
    PERCH_PROGRESSIVE_FLUSH: 1
    PERCH_AUTH_PLUGIN:
    PERCH_DB_CHARSET: utf8
    PERCH_DB_PORT:
    PERCH_DB_SOCKET:

Hosting settings

    PHP: 5.4.41
    Zend: 2.4.0
    OS: Linux
    SAPI: cgi-fcgi
    Safe mode: not detected
    MySQL client: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
    MySQL server: 5.5.42-cll
    Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, fileinfo, filter, ftp, gd, hash, iconv, SPL, json, mcrypt, session, mysql, mysqli, standard, Phar, posix, Reflection, mysqlnd, SimpleXML, sockets, imap, tokenizer, xml, xmlreader, xmlwriter, zip, cgi-fcgi, PDO, pdo_sqlite, pdo_mysql
    GD: Yes
    ImageMagick: No
    PHP max upload size: 32M
    PHP max form post size: 64M
    PHP memory limit: 128M
    Total max uploadable file size: 32M
    Resource folder writeable: Yes
    Session timeout: 24 minutes
    Native JSON: Yes
    Filter functions: Yes
    Transliteration functions: No
    DOCUMENT_ROOT: /home/sitemaster/public_html
    GATEWAY_INTERFACE: CGI/1.1
    HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,text/vnd.wap.wml;q=0.6
    HTTP_ACCEPT_ENCODING: gzip, deflate
    HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.5
    HTTP_CONNECTION: keep-alive
    HTTP_COOKIE: PHPSESSID=5869eca610f838b2b5650b6d4cc2c2a2; cmsa=1; __zlcmid=VBeidPrGaxb5e9
    HTTP_HOST: 
    HTTP_REFERER: 
    HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1
    PATH: /bin:/usr/bin
    QUERY_STRING: extended
    REDIRECT_STATUS: 200
    REMOTE_ADDR: 59.167.232.140
    REMOTE_PORT: 62744
    REQUEST_METHOD: GET
    REQUEST_URI: /perch/core/settings/diagnostics/?extended
    SCRIPT_FILENAME: /home/sitemaster/public_html/perch/core/settings/diagnostics/index.php
    SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
    SERVER_ADDR: 27.124.121.210
    SERVER_ADMIN:
    SERVER_NAME: 
    SERVER_PORT: 80
    SERVER_PROTOCOL: HTTP/1.1
    SERVER_SIGNATURE: <address>Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 Server at </address>
    SERVER_SOFTWARE: Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4
    UNIQUE_ID: VXkY6xt8edIAAHjh5OYAAAAS
    PHP_SELF: /perch/core/settings/diagnostics/index.php
    REQUEST_TIME_FLOAT: 1433999595.19
    REQUEST_TIME: 1433999595
    argc: 1
Drew McLellan

Drew McLellan 2638 points
Perch Support

Which aspect of the preview isn't working for you?

Hi Drew,

If I put the blog entry into Draft mode and then click Preview, it comes up with the "overriding" template, i.e. everything without the content from the blog.

Personally, this would not bother me but if others' are to become blog creators or let alone editors, then they might be a bit confused having to navigate to the actual page which while not difficult might put some off diving into the world of arbitrary markup.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you turn debug on and let me know what it outputs for the page?

From the blog post page:

Debug Message
SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='7a7cb6975b4bf13ac037d96c5c6bb9ec' LIMIT 1
UPDATE perch2_users SET userHash='28dcde76c7cb52f8965269a8ac39a075' WHERE userID='1'
SELECT p.privKey FROM perch2_user_privileges p
SELECT * FROM (SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID
SELECT * FROM perch2_categories c, perch2_category_sets s WHERE c.setID=s.setID AND s.setSlug='blog' ORDER BY catTreePosition ASC
SELECT * FROM perch2_blog_sections ORDER BY sectionTitle ASC
SELECT SQL_CALC_FOUND_ROWS DISTINCT * FROM perch2_blog_posts ORDER BY postDateTime DESC LIMIT 0, 15
SELECT FOUND_ROWS() AS `count`
SELECT COUNT(*) FROM perch2_blog_comments WHERE commentStatus='PENDING'
Queries: 10
Memory: 2.4699

Array
(
    [type] => 32
    [message] => PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mysqli.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mysqli.dll: cannot open shared object file: No such file or directory
    [file] => Unknown
    [line] => 0
)

From the post.php page referencing the blog:


Debug Message SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='af98105db7456800baa5a356fad9ec6e' LIMIT 1 UPDATE perch2_users SET userHash='11dfd40af36cf298354d70d54dafca37' WHERE userID='1' SELECT p.privKey FROM perch2_user_privileges p SELECT * FROM (SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID SELECT * FROM perch2_pages WHERE pageID=431 LIMIT 1 SELECT * FROM perch2_content_regions WHERE pageID=431 AND regionPage!='*' ORDER BY regionOrder ASC SELECT COUNT(*) FROM perch2_content_items WHERE itemJSON!='' AND regionID=3699 AND itemRev=0 Queries: 8 Memory: 2.3476 Array ( [type] => 32 [message] => PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mysqli.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mysqli.dll: cannot open shared object file: No such file or directory [file] => Unknown [line] => 0 )
Drew McLellan

Drew McLellan 2638 points
Perch Support

Are those both in preview mode?

This is after I've selected Draft mode in the page accessed via the Blog menu (minus identifying information):

Debug Message
SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='7c948d1970fb3daaf46c02fda9b4f1ab' LIMIT 1
UPDATE perch2_users SET userHash='c4ea6e1506257d17d9fa22c61270c7e2' WHERE userID='1'
SELECT p.privKey FROM perch2_user_privileges p
SELECT * FROM (SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID
SELECT * FROM perch2_blog_authors WHERE authorEmail='' LIMIT 1
SELECT * FROM perch2_blog_sections ORDER BY sectionTitle ASC
SELECT * FROM perch2_blog_posts WHERE postID=14
SELECT * FROM perch2_blog_sections ORDER BY sectionTitle ASC
Using template: /templates/blog/post.html
SELECT * FROM perch2_resources WHERE resourceID='54' LIMIT 1
SELECT * FROM perch2_resources WHERE resourceAWOL=0 AND resourceParentID='54' AND resourceKey='thumb'
SELECT * FROM perch2_resources WHERE resourceAWOL=0 AND resourceParentID='54' AND resourceTargetWidth=320 AND resourceTargetHeight=240 AND resourceCrop=1 AND resourceDensity=1
SELECT * FROM perch2_resources WHERE resourceAWOL=0 AND resourceParentID='54' AND resourceTargetWidth=50 AND resourceTargetHeight=50 AND resourceCrop=1 AND resourceDensity=1
Logging resources for perch_blog
DELETE FROM perch2_resource_log WHERE appID='perch_blog' AND itemFK='postID' AND itemRowID=14
INSERT IGNORE INTO perch2_resource_log(`appID`, `itemFK`, `itemRowID`, `resourceID`) VALUES('perch_blog','postID',14,54),('perch_blog','postID',14,55),('perch_blog','postID',14,56),('perch_blog','postID',14,57)
Dynamic fields:

Array
(
    [postTitle] => 
    [postDescHTML] => Array
        (
            [raw] => 

        )

    [image] => Array
        (
            [assetID] => 54
            [title] => 
            [_default] => /perch/resources/
            [bucket] => default
            [path] => 
            [size] => 59261
            [w] => 264
            [h] => 406
            [mime] => image/jpeg
            [sizes] => Array
                (
                    [thumb] => Array
                        (
                            [w] => 97
                            [h] => 150
                            [target_w] => 150
                            [target_h] => 150
                            [density] => 2
                            [path] => 
                            [size] => 10706
                            [mime] => 
                            [assetID] => 55
                        )

                    [w320h240c1] => Array
                        (
                            [w] => 156
                            [h] => 240
                            [target_w] => 320
                            [target_h] => 240
                            [crop] => true
                            [density] => 1
                            [path] => 
                            [size] => 7925
                            [mime] => 
                            [assetID] => 56
                        )

                    [w50h50c1] => Array
                        (
                            [w] => 50
                            [h] => 50
                            [target_w] => 50
                            [target_h] => 50
                            [crop] => true
                            [density] => 1
                            [path] => 
                            [size] => 1878
                            [mime] => 
                            [assetID] => 57
                        )

                )

        )

    [postDateTime] => 2015-06-11 02:53:00
)

UPDATE perch2_blog_posts SET postTags='', postStatus='Draft', postAllowComments='1', postTemplate='post.html', authorID='1', postDescRaw='', postTitle='', postDateTime='2015-06-11 02:53:00', postDynamicFields='{\"image\":{\"assetID\":\"54\",\"title\":\"\",\"_default\":\"\\/perch\\/resources\\/\",\"bucket\":\"default\",\"path\":\"\",\"size\":59261,\"w\":264,\"h\":406,\"mime\":\"image\\/jpeg\",\"sizes\":{\"thumb\":{\"w\":\"97\",\"h\":\"150\",\"target_w\":150,\"target_h\":150,\"density\":2,\"path\":\"\",\"size\":10706,\"mime\":\"\",\"assetID\":\"55\"},\"w320h240c1\":{\"w\":\"156\",\"h\":\"240\",\"target_w\":\"320\",\"target_h\":\"240\",\"crop\":\"true\",\"density\":\"1\",\"path\":\"\",\"size\":7925,\"mime\":\"\",\"assetID\":\"56\"},\"w50h50c1\":{\"w\":\"50\",\"h\":\"50\",\"target_w\":\"50\",\"target_h\":\"50\",\"crop\":\"true\",\"density\":\"1\",\"path\":\"\",\"size\":1878,\"mime\":\"\",\"assetID\":\"57\"}}}}' WHERE postID='14'
No ids to log.
UPDATE perch2_blog_posts SET postTags='', postStatus='Draft', postAllowComments='1', postTemplate='post.html', authorID='1', postDescRaw='', postTitle='', postDateTime='2015-06-11 02:53:00', postDynamicFields='{\"image\":{\"assetID\":\"54\",\"title\":\"\",\"_default\":\"\\/perch\\/resources\\/\",\"bucket\":\"default\",\"path\":\"\",\"size\":59261,\"w\":264,\"h\":406,\"mime\":\"image\\/jpeg\",\"sizes\":{\"thumb\":{\"w\":\"97\",\"h\":\"150\",\"target_w\":150,\"target_h\":150,\"density\":2,\"path\":\"\",\"size\":10706,\"mime\":\"\",\"assetID\":\"55\"},\"w320h240c1\":{\"w\":\"156\",\"h\":\"240\",\"target_w\":\"320\",\"target_h\":\"240\",\"crop\":\"true\",\"density\":\"1\",\"path\":\"\",\"size\":7925,\"mime\":\"\",\"assetID\":\"56\"},\"w50h50c1\":{\"w\":\"50\",\"h\":\"50\",\"target_w\":\"50\",\"target_h\":\"50\",\"crop\":\"true\",\"density\":\"1\",\"path\":\"\",\"size\":1878,\"mime\":\"\",\"assetID\":\"57\"}}}}', postSlug='' WHERE postID='14'
No ids to log.
DELETE FROM perch2_blog_posts_to_tags WHERE postID='14'
DELETE FROM perch2_blog_index WHERE itemKey='postID' AND itemID='14'
INSERT INTO perch2_blog_index (itemKey, itemID, indexKey, indexValue) VALUES ('postID',14,'image','/perch/resources/'),('postID',14,'postID','14'),('postID',14,'postTitle',''),('postID',14,'postSlug',''),('postID',14,'postDateTime','2015-06-11 02:53:00'),('postID',14,'postDescRaw',' '),('postID',14,'postTags',''),('postID',14,'postStatus','Draft'),('postID',14,'authorID','1'),('postID',14,'sectionID','1'),('postID',14,'postCommentCount','0'),('postID',14,'postImportID',''),('postID',14,'postLegacyURL',''),('postID',14,'postAllowComments','1'),('postID',14,'postTemplate','post.html'),('postID',14,'itemID',''),('postID',14,'itemRowID',''),('postID',14,'postURL','/blog/'),('postID',14,'_id',14)
OPTIMIZE TABLE perch2_blog_index
SELECT COUNT(*) AS qty, c.catID FROM perch2_blog_index i, perch2_categories c, perch2_blog_posts p WHERE i.indexValue=c.catPath AND i.indexKey='_category' AND i.itemKey='postID' AND i.itemID=p.postID AND p.postStatus='Published' AND p.postDateTime<='2015-06-11 12:49:00' GROUP BY i.indexValue
DELETE FROM perch2_category_counts WHERE countType='blog.post'
SELECT authorID, COUNT(*) AS qty FROM perch2_blog_posts WHERE postStatus='Published' AND postDateTime<='2015-06-11 12:49:00' GROUP BY authorID
SELECT c.sectionID, COUNT(p.postID) AS qty FROM perch2_blog_sections c, perch2_blog_posts p WHERE c.sectionID=p.sectionID AND p.postStatus='Published' AND p.postDateTime<='2015-06-11 12:49:00' GROUP BY c.sectionID ORDER BY c.sectionTitle ASC
SELECT COUNT(*) FROM perch2_blog_comments WHERE commentStatus='PENDING'
SELECT * FROM perch2_blog_authors ORDER BY authorFamilyName, authorGivenName ASC
Queries: 33
Memory: 4.499

Array
(
    [type] => 32
    [message] => PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mysqli.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mysqli.dll: cannot open shared object file: No such file or directory
    [file] => Unknown
    [line] => 0
)

The first of the previous two posts, was from the page accessed via the Blog app and the second Debug was from the /blog/post.php page

I hope this information is useful.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you try adding this top the top of your post page, after the runtime include?

perch_blog_check_preview();

Hi Drew,

I've done that but I'm still unable to view the Blog via /preview/

This is the code I am using:

<?php set_include_path($_SERVER['DOCUMENT_ROOT']); ?>.
<?php include('perch/runtime.php'); ?>
<?php perch_blog_check_preview(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<?php perch_page_attributes(array('template' => 'seo.html'));?>
<?php echo PHP_EOL ; ?>
<meta name="viewport" content="initial-scale=1.0"/>
<?php echo PHP_EOL ; ?>
<title><?php perch_blog_post_field(perch_get('s'), 'postTitle'); ?></title>
<?php echo PHP_EOL ; ?>
<!-- Stylesheets -->
<style type="text/css"><?php include('includes/style.php'); ?></style>
<?php echo PHP_EOL ; ?>
<?php echo PHP_EOL ; ?>
<!-- JavaScript -->
<script type="text/javascript" src="/javascripts/jquery-2.1.4.js"></script>
<script type="text/javascript" src="/javascripts/javascripts.js"></script>
<?php echo PHP_EOL ; ?>
<?php echo PHP_EOL ; ?>
</head>
<?php echo PHP_EOL ; ?>
<body>
<div class="pages">

<header>
<div id="top_section">
<div class="logo-mobile"></div>
</div>
</header>

<main>
<div id="bottom_section">
<?php perch_blog_post(perch_get('s')); ?>

</div>
</main>

</div>

<footer>
<?php include('includes/footer.php'); ?>
</footer>

</body>
</html>

Thanks again

The .html template code:

<h1><perch:blog id="postTitle" type="text" label="Title" required="true" size="xl autowidth" order="1" /></h1>

<article>

<p><perch:blog id="postDateTime" type="date" time="true" format="%d %B %Y" /></p>

<perch:if exists="image">
<div style="float:left;padding-right:1em;"><img src="<perch:blog id="image" type="image" width="320" height="240" crop="true" label="Image" order="4" />" alt="<perch:blog id="postTitle" />" /></div>
</perch:if>

<p><perch:blog id="postDescHTML" type="textarea" label="Post" order="2" html="true" size="xxl autowidth" required="true" /></p>

<perch:blog id="image" type="image" width="50" height="50" crop="true" suppress="true" />
</article>

Kind regards

Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you configured that URL to route to your post.php page?

Hi Drew,

My apologies but I don't know which URL you are talking about.

It isn't critical since there are no content editors for this particular site but it would be nice to be able to preview the "blog" even though I am only using Blog App tags in regular pages.

Cheers

Drew McLellan

Drew McLellan 2638 points
Perch Support

Me neither after two weeks! :)

I think your preview URL. Do you have a route for preview URLs?