unable to add single page on concrete5 - concrete5

I am unable to add a single page on a concrete5 site. Please check the screenshot:
https://prnt.sc/hns5p7
Also please check the below screenshot:
https://prnt.sc/hns6oa
In this folder I have added a view.php file and print a custom message for now, like "Test". Now I am trying to add a single page from Themes & Page Types > Single Pages. Its showing the same error. I don't know why its showing this error. Also I have followed below link to add a new single page.
https://www.concrete5.org/community/forums/customizing_c5/creating-dashboard-page-tutorial

There's a page in the concrete5 documentation that explain how to create single pages: see https://documentation.concrete5.org/developers/working-with-pages/single-pages

Related

Copy the contents of existing page to another page with different name in wordpress without using any plugin

I am new in WordPress. In my WordPress application having one page named "Retail". I want to create new page named "Website" with the same content of "Retail" page. I copied content and paste in to new page editor and saved. But some CSS problem is there. I think css file is missing kind. How to resolve this problem?
We cannot find the problem without any real information. However you can check if any of the following issues occurs:
You use a theme which let you add custom CSS rules in specific page. You might have a settings button in the page where you add it. In that case, you need to copy that as well.
You need to check your CSS files and see if the styling rules are applied for a specific page. It could be like .page-id-662 or .pageid-662
The last you could check is the functions.php file in case you enqueue a styling CSS file on specific pages as well.
What did you do exactly?
Created a new page in the Wordpress backend and copied the contents of "Retail?
Or put on a whole new Wordpress website and copy the "Retail" page there?
And please give an example of what went wrong in the design. Can you possibly specify the HTML code of an element with a design error?

How to create a static page on Ghost Blog?

I created a page file named "page-timemachine.hbs" on my custom theme's root directory followed a tutorial, and I have added a item on my blog "/ghost/settings/navigation/",like this
add new navigation
But when I visit the link, I got a "404".Did I made anything wrong? thx
You also need to add the page in the admin GUI. You do that by doing the following (assuming you are on a fairly recent version of Ghost):
Add a new post
Click on Post Settings on the top right of the interface.
Click the checkbox Turn this post into a static page
After that is done you can simply edit the post as usual and after you've published it, it should appear instead of your 404-error.

Changing a template on a blog page - WordPress 3.5.1

I am using an older version of WordPress 3.5.1.
I know how to use different templates on different pages but the problem is I cant figure out how to set a different template for my blog page. When I open the page Blog in the Edit Mode I see a blank page, contrary to my other pages which display their content. Is it possible that this page is a redirected from somewhere else and how can I figure it out? Also when I change the template from Page Attribute it does not take effect. On any other page it works but this one. How can I figure out how to change the page template?
There's no built in selectable templating system for blog posts. Its based on the actual template files and their hierarchical structure.
http://codex.wordpress.org/Template_Hierarchy
Its probably your index.php or single.php that is throwing an error. I would go into the wp-config.php and find the line that says define('WP_DEBUG', false); and change that to true. Then reload the page and see if it spits out an error. A basic loop is only a few lines of php, so I would guess there's an error somewhere on the page.
As for the pages not changing when you change the template, its possible there is conditional code or something in the template itself. Are you saying it only changes the look of the page on some pages but not others?

Wordpress custom posts page coming blank

I am new to wordpress
I created a theme and created new static page as home page
Now wanted to add blog page and for this I created another page, named it as blog and then marked it as "posts page" in settings >> reading
If I don't do this then I can see header and footer of the page but if I do the above then it shows blank page without anything
Why it shows completely blank page?
How can I relate posts with it?
On doing
define('WP_DEBUG', true);
I get errors like below
Deprecated: Assigning the return value of new by reference is deprecated in D:\wamp\www\project\wp-content\plugins\exec-php\exec-php.php on line 22
And after removing these errors, still its blank page
Should I use any other plugin?
All website is complete just blog page needs to be created
You can try to change your name from blog to other name such as article, blogs, journal... which related to the intention of your site because there's probably a conflict happen in naming convention of Wordpress or your theme here.

How to add custom URLs to my WordPress template files?

I'm developing a WordPress theme and I need to have a custom URL for some kind of content.
For example, I need to have a page to show some article details. Now, i've created a page template called "Article", and so i've to create a new page and give it the page template "Article"
(I get the url http://mydomain.com/article?id=123)
It works fine, but now i'm having dozens of this pages, and it's a mess to create them all on every installation of this theme, so i want to do it in my theme code.
I saw something near that on BuddyPress, where you can use /member/ and it redirects to a member page. I just wanna know how to do so.
Thanks!
If you are running wordpress 3.0 I would recommend making a custom post type for your articles. That would allow you to control the URL in the way that you want and also allow you to use more sophisticated full text urls if you wanted to.
Here are some links to some tutorials about how to make a custom post type to get you started:
http://kovshenin.com/archives/custom-post-types-in-wordpress-3-0
http://kovshenin.com/archives/extending-custom-post-types-in-wordpress-3-0/
The second one has an example file that you can download and edit to help you get started.
Cheers,
Paul

Resources