Forum

Thread tagged as: Problem, Addons, Runway

Post view - wrong link

Hello, I have a problem viewing or previewing posts from within the edit page. The url I get instead of domain/post/post-slug/preview is domain/admin/addons/apps/perch_blog/edit/post-slug/preview https://www.dropbox.com/s/i7g2nu60r8l0qbx/Screen.jpg?dl=0

What am I doing wrong this time?

Perch Runway: 2.8.31, PHP: 5.6.18, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (2.8.31), assets (2.8.31), categories (2.8.31), perch_blog (5.0), perch_shop_orders (1.0.8), perch_shop_products (1.0.8), perch_shop (1.0.8), perch_members (1.5), perch_mailchimp (3.0.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_members', 'perch_shop', 'perch_mailchimp', );
PERCH_LOGINPATH: /admin
PERCH_PATH: /Users/proko/Sites/annaand.co/admin
PERCH_CORE: /Users/proko/Sites/annaand.co/admin/core
PERCH_RESFILEPATH: /Users/proko/Sites/annaand.co/admin/resources
Image manipulation: GD
PHP limits: Max upload 8M, Max POST 128M, Memory: 256M, Total max file upload: 8M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
HTTP_HOST: annaandco.dev
DOCUMENT_ROOT: /Users/proko/Sites/annaand.co
REQUEST_URI: /admin/core/settings/diagnostics/
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
Proko Mountrichas

Proko Mountrichas 3 points

  • 5 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Have you set the path in Settings?

You mean the Blog post page path right? If so, yes. In my case I just use {postSlug}

Rachel Andrew

Rachel Andrew 394 points
Perch Support

You need to use the correct full path from root.

Thanks Rachel. I followed your suggestion and then had to change the links in the post-list.html but now view/preview also works.

I find the documentation about Blog+Runway needing some more complete examples and explanation of what each setting/step does.

Thanks again!