ellimondo cheers that worked. Exactly what I needed. Cheers.
Posts by james595832
-
-
Doesn't seem to pick it up.
-
Beside my title in a blog I am building I would like to out put the ID number automatically. For example when you create a post in the admin panel you get https://www.jamesreilly.eu/adm…pps/perch_blog/edit/?id=3
Is there a way to take the ID=3 and output the number in the post ?
-
Ah yes an array. Obvious when I think about it now.
Thanks for the help MX. Appreciate it.
-
I created a blog and now I want to include the forms add on.
The config app file for blog is as follows:
<?php
$apps_list = [ 'perch_blog' ];to add the forms to this folder do you close this and add another for example
<?php
$apps_list = [ 'perch_blog' ];?>
<?php
$apps_list = [ 'perch_form' ];
?>
When I do this it stops the blog showing.
-
I got it working eventually.
Following your guide didn't seem to work. I was probably doing it wrong. When I manually entered in the URL of the master page in the browser and then went back into the admin panel the changes were visible. Strange one. Thanks for the help though. Appreciated.
-
OK thanks Clive. Will give it a go.
-
Sorry for not picking this up.
Ok so I have a php page with regions in it, in the templates folder I have several html templates. When I changed these and uploaded to the server in the exact same way nothing changes? Is this something done on the backend admin panel or in the code?
-
Hi,
What do you mean by saving the regions?
-
Hello,
I created a site and pushed it live for a client. They have asked for some changes, so I updated templates which I have done but when I push the live the template changes are not appearing in the CMS. For example they wanted a H4 tag to be a different colour so I added a class to the template to change it but when I uploaded the template the change does not appear.
Anyone come across this issue?
Thanks
James
-
I found out the problem. I had named the template file in small case but in calling the template name I had it as a Capital letter. Took the capital away and the content is now displaying on the site.
-
Cheers will try that.
-
I created a layout template that I want to display on a page. It works on my local machine but when I deployed the site it isn't finding it even though the files are all in the correct folders.
-
If I wanted to display the article number is there a template or function to get this?
For example I post an article and it is assigned a number. How do we print that out.
It would look like this:
01 - My Blog post title here
02 - My Blog post title
Its the number I want to display.
Thanks in advance,
James
-
Hello,
Been following the video series and already my head is confused.
Basically I have a page I have created with all the usual blog bits.
Post header
--------------------
Author
--------------------
date
--------------------
Post content | Side bar for articles / categories
--------------------
My question is this. Can I not just grab already made pieces of perch php function script and just do the following to make it work?
Post header
--------------------
perch_blog_author_for_post()
--------------------
date can't find a script that just outputs a simple 00/00/00 format. Only the functions show have archive and links I don't want this.
--------------------
<?php perch_blog_post(perch_get('s')); ?> |<?php perch_blog_post_categories(perch_get('s')); ?>
--------------------
I can get all the fields displaying but it is coming from the post.html template i think, which is spitting out all data into the post body which I don't want. I want it in broken down into the areas above.
How do I do this?
-
Trying to log into the CMS for a client but when I enter my username and password I get this error. Any ideas why?