What is the name of the region that uses portfolio_item.html, and how are you displaying it? From your video, it doesn't look like title is a region - it looks like a field within a region.
What is the name of the region that uses portfolio_item.html, and how are you displaying it. From your video, it doesn't look like title is a region - it looks like a field within a region.
Drew,
I have followed your own guide into adding portfolio items
It's really hard to help without you answering the questions I'm asking. All I'm trying to do is figure out where you're going wrong - it's not for my benefit, I'm trying to help you. Please help me to help you.
What is the name of the region that uses portfolio_item.html, and how are you displaying it?
Ok,
last_item
is there, but empty. Are you 100% sure that this returns your menu item?Hi,
This is pulling a title "Cig Gafr Conwy " and I want it to display in the end of the breadcrumb.
https://fineline-new.fineline-websolutions.co.uk/casestudy/cig-gafr-conwy
Once i get it to output i will create a new template just for this breadcrumb template.
Regards Alex
Good morning,
Any update on why i cannot output a simple region from another page?
So you've confirmed that this does actually output what you want, yes?
Yes, as i have already said. It is a title of the portfolio item, reading "Cig Gafr Conwy"
Its outputs in two areas, the 'Client' on the right side and the actual name of the portfolio item.
Regards
What does this output?
Nothing at all, :(
But this outputs your title?
I'm struggling to see how one would work and the other not.
Hi Drew,
Please see this video.
https://screencast.com/t/jLcROoNgvdk
Does this make sense?
Regards
Hi,
Did my video make any sense?
What is the name of the region that uses
portfolio_item.html
, and how are you displaying it? From your video, it doesn't look liketitle
is a region - it looks like a field within a region.Drew,
I have followed your own guide into adding portfolio items
https://docs.grabaperch.com/video/v/portfolio-with-categories/
The region is portfolio with multiple items set so i can add many portfolio clients.
Regards
It's really hard to help without you answering the questions I'm asking. All I'm trying to do is figure out where you're going wrong - it's not for my benefit, I'm trying to help you. Please help me to help you.
What is the name of the region that uses
portfolio_item.html
, and how are you displaying it?Hi Drew,
So sorry Drew!
The name of the region is portfolio and it is displayed as follows
Ok. So this is nonsense and doesn't display anything, right? Because there's no region called
title
. Your region is calledPortfolio
.Instead, create new template called
portfolio_item_title.html
and put this in it:Then to display the title, you need to start with something like this:
... but you also need to add whatever filter you're using to pick a single item. What does the code on your detail page look like?
Drew,
The title is in portfolio_item.html, that is what I want to display on the breadcrumb. Why can i can just pass this field into the breadcrumb?
SINGLE ITEM: Notice the title - <perch:content id="title" type="text" label="Client Name" required="true" order="1" title="true" />
Ok, that's your template. What about the code on your page for showing a single item? (The 'detail' view)
Hi Drew,
Code below for this page: https://fineline-new.fineline-websolutions.co.uk/portfolio/
You will see the title is also here :)
What about the code on your page for showing a single item? (The 'detail' view)
Hi Drew,
I have already posted that up
Code below for page: https://fineline-new.fineline-websolutions.co.uk/casestudy/cig-gafr-conwy