I can update the date in the table perch3_content_items to show that the day is booked, but is it possible to change the region value in the control panel?
I have set up a page where the client can go into the control panel and upload a number of dates and times for appointments. There is also a checkbox where she can indicate if this date is already booked.
The page then displays a list of dates in a radio box format. If the date is already booked the radio box is disabled.
When the user selects a date on the page and submits the form, is there any way this can change the value of the 'booked' checkbox?
Ah yes, that' was the problem. It works a treat now. Thanks so much, I've been staring at this for hours.
This is the full templateCode
- <div class="form-check">
- class="form-check-input" style="text-align: left !important; font-weight: 100 !important"
- id="flexRadioDefault1" value="<perch:content id="appttime" type="date" time label="Date/Time" format="d F Y H:i" native>"
- <label class="form-check-label" for="flexRadioDefault1">
- <perch:content id="appttime" type="date" time label="Date/Time" format="d F Y H:i" native></div>
I have a list of dates on a page and I want to filter out all past dates so that only future dates will show.
I have the following code but cannot see why it doesn't work.
Thank you for your reply.
The function isn't crucial but it is mainly for the client rather than the customer.
On reflection it may be best to move the form from the template to the product page which is php and send from there.
I have a template which allows a category to be chosen for a product in the control panel.
The template also displays a product image and a buy now button.
I want to feed the chosen category into the buy now button code but can't work out how to do this.
The section of code in the buy now button is:
Can anyone suggest how I can do this in the html template please?
In the control panel I have a region and the title of all the items in that region are listed on one page. Is it possible, in this listing, to have another column showing the product number and if so, how would I do this please?
Thank you. This did indeed allow me to change the Blog title.Quote
Another option is to change the itemTitle in the database in the perch3_menu_items table.
This gave me an idea on how to also change the word 'Blog' on the dashboard homepage blog listing to 'News' by going to
I was also able to change the tab name on the blog post list by changing the blog_title
in perch3_blogs table from Blog to News
In the dashboard, is it possible to rename BLOG to NEWS?
Ah, just found what I was looking for in the docs. I can add in the title of the post with perch_blog_post_field() which should be fine. Thanks
Yes I am using post.php and it is the <title> tag in <head> that I need to be editable.
Is it possible for the title tag in post.php to be created by the editor in the control panel so that each blog post details page has a unique title tag?
Thank you, that worked a treat.
Can someone tell me how I can exclude categories of blog posts using perch_blog_custom() ?
At present I have the code below but want to exlude any post with the category of 'resources'.
Is it possible to instal 2 blogs with Perch (not Runway) and have these display separately on the control panel?
Brilliant, thanks. It's now working well.