Posts by davidroberts
-
-
I have read the https://docs.grabaperch.com/pe…eate-a-multilingual-site/ page. If I want to build out the same information but in different languages do I create a 'pages' folder for each language and then add the text in the normal way?
-
Thanks Clive. Fixed
-
That does not seem to work. On the Archive page I have a list of tags. When you click on a tag e.g. URL/blog/archive?/architecture it just give you a list of blog posts and not the architecture posts.
The code that I have in the archive.php template is
Code- /* --------------------------- POSTS BY TAG --------------------------- */
- if (perch_get('tag')) {
- echo '<h1>Archive of: '.perch_blog_tag(perch_get('tag'), true).'</h1>';
- perch_blog_custom(array(
- 'tag' => perch_get('tag'),
- 'template' => $template,
- 'count' => $posts_per_page,
- 'sort' => $sort_by,
- 'sort-order' => $sort_order,
- ));
- $posts_displayed = true;
- }
-
The Tag/Category URL's on the Archive page are not going to the correct URL and so are not showing the Tag/Category.
For example on the blog page the URL is /blog/2017-10-25-handmade and the Tag is Handmade - /blog/tag/handmade. When you click on that it works. On the Archive page there are a list of Tags, when you click on Handmade the URL is /blog/archive?/handmade it just takes you to list of blog posts and not the specific tag. The same issue happens with the Category URL. How do I get the correct URL?
-
Hi,
Ok when I looked in the control panel it had made a new region for the index.php (about) section. So when I added the text it showed on the page!
So I need to keep the index page as index.php which then shows in the location as /index.php.
-
-
PHP
- <?php include('perch/runtime.php'); ?>
- <?php PerchUtil::output_debug(); ?>
- <!DOCTYPE html>
- etc
- </header>
- <?php perch_content('about'); ?>
- <?php perch_content('Intro'); ?>
- When I add another region it does not show up in the control panel. When I look at source the runtime and regions are in red in the code.
-
I get the page but no debug info.
-
I don't get anything on the page.
But get this on the settings page.
recover(): "> [1] SELECT u.*, r.* FROM perch3_users u, perch3_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='6e6f5f5148ad4af007fde938963dcab0' LIMIT 1 update(): ">UPDATE perch3_users SET userHash='f1a0f6806d99b4298f6e039143af3fb5' WHERE userID='1' get(): "> [20] SELECT settingID, settingValue, userID FROM perch3_settings WHERE userID=1 OR userID=0 ORDER BY userID ASC add_new_apps(): "> [6] SELECT itemValue FROM perch3_menu_items WHERE itemType='app' get_as_array(): "> [20] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0 get_menu(): "> [1] SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=0 ORDER BY itemOrder ASC LIMIT 0, 1 get_items(): "> [1] SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=1 ORDER BY mi.itemOrder ASC get_value(): "> [1] SELECT itemTitle FROM perch3_menu_items WHERE itemType='app' AND itemValue='settings' LIMIT 1 get_menu(): "> [1] SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=0 ORDER BY itemOrder ASC LIMIT 1, 10 get_items(): "> [2] SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=2 ORDER BY mi.itemOrder ASC title_panel(): ">File: /core/settings/modes/basic.post.php Queries: 11 Memory: 0.6501 -
It still does not show anything on the page.
-
I changed it back to /index.html. I was getting a 404 and I thought that was the reason.
-
Waiting for some help with this after 2 days! If may be simple but it is not working for some reason. Any help would be appreciated.
-
I have created an editable region on the home page called <?php perch_content('intro');?> and it shows up under pages Region= (intro) in the Perch Control Panel and I have added the text to the region (text block). The problem is it is not showing on the web page? Under location/path I have just added (/) as it is the 'home page' . The 'site' is just the index.html page with a number of editable regions.
I have set up a rewrite in the .htaccess page to remove .php
# Redirect index.php Requests
-
That's what I am asking? Is it possible to do this through Perch CMS
-
I would like to run my https://micro.blog/ through the Perch CMS? Like this https://paulrobertlloyd.com/2018/01/microblogging but Paul uses a different system set up
-