1. Is this the place to get help with the Solspace Tag module? I’m having some trouble with it… I realize it’s a 3rd party module, but I figure its cost entitles it to support like the forum module, no?
2. Re: 404 page, I can’t seem to change its title. See here: Random Page
It’s displaying everything correctly, except the title—it appears to be pulling from a random post (one of the portfolio entries). Any ideas?
3. Re: Live Look, I’m having trouble getting it to display. See here: Live Look
It’s displaying a 404, but it’s getting the title right (see title bar in browser). I’ve got it set to use the same template as ‘blog’, but called ‘draft’ instead….
1. Is this the place to get help with the Solspace Tag module? I’m having some trouble with it… I realize it’s a 3rd party module, but I figure its cost entitles it to support like the forum module, no?
Since the Solspace tag module is a third party module, we don’t offer support for it here in this forum.
There is a Solspace Forum where you can receive support.
2. Re: 404 page, I can’t seem to change its title
How are you wanting the title to be changed?
3. Re: Live Look, I’m having trouble getting it to display. See here: Live Look
Do you actually have a template called blog/draft?
I’d like it to be something like, “Page Not Found.” I’d also like to know why it’s choosing that blog entry’s title, in particular; I don’t otherwise see any connection…
Do you actually have a template called blog/draft?
It needs to be a single entry page of some sort.
I do; I have a template called ‘draft’ in the template group ‘blog’. Draft is an identical copy of the blog/index template, which obviously is displaying normally.
Would you mind clarifying what you mean by ‘single entry page’? I’m not sure I follow…
Can you share the code inside your <head> section, maadmac. I’ll be better able to give you a suggestion. Essentially, you probably shouldn’t be doing that for your 404 template. It’s just going to show the most recent entry the way a weblog entries tag would on any other template.
A true single entry page in the EE sense has a single entry indicator in the url- either an entry_id or url_title- Lisa lays it out in The Importance of Symantics in some detail. Typically, if it’s not a single entry page, EE will pull back entries based on the parameters of the tag. (A bit of a simplification, but that’s the gist.)
Can you share the code inside your <head> section, maadmac. I’ll be better able to give you a suggestion. Essentially, you probably shouldn’t be doing that for your 404 template. It’s just going to show the most recent entry the way a weblog entries tag would on any other template.
Hi Derek,
That’s what I would expect, but that entry is certainly not the most recent, which is why it’s a bit puzzling… at least that would make sense.
Here’s the <head>:
<title> {if segment_1 == ''} Raleigh–Durham–Chapel Hill, North Carolina (NC) Web Design & Development Company, Search Engine / Email Marketing, Content Management & Ecommerce Solutions | OnWired, LLC
{if:elseif segment_1 == 'blog' && segment_2 == ''} Blog | OnWired Web Design Raleigh, Durham, Chapel Hill, NC
{if:elseif segment_1 == 'blog' && segment_2 != ''} {exp:weblog:entries disable="categories|custom_fields|member_data|pagination|trackbacks" limit="1"} Blog – {title} | OnWired Web Design Raleigh, Durham, Chapel Hill, NC {/exp:weblog:entries}
{if:elseif segment_1 == 'portfolio'} {exp:weblog:entries disable="custom_fields|member_data|pagination|trackbacks" limit="1"}{categories}{category_name}{/categories} Portfolio – {title} | OnWired Web Design Raleigh, Durham, Chapel Hill, NC{/exp:weblog:entries}
{if:else} {exp:weblog:entries limit="1" disable="categories|custom_fields|member_data|pagination|trackbacks"}{title} | OnWired Web Design Raleigh, Durham, Chapel Hill, NC{/exp:weblog:entries} {/if} </title>
A true single entry page in the EE sense has a single entry indicator in the url- either an entry_id or url_title- Lisa lays it out in The Importance of Symantics in some detail. Typically, if it’s not a single entry page, EE will pull back entries based on the parameters of the tag. (A bit of a simplification, but that’s the gist.)
Did I miss somewhere in the docs that the 404 page must be a single-entry template?
The kb says:
A “single-entry” Template simply means one where you have the URL Title or Entry ID specified in the URL. In other words, you’re explicitly telling EE to display a single, specific entry.
How would that work in this case? Clearly the URL that would display a 404 could be anything; if I understand the above statement it says I must specify the URL? I’ll go have a look at Lisa’s post…
Well what’s the template group and template you are using for your 404? Are you using it for a multi-purpose template? Is the template named 404 and the entry being shown by chance have an entry id of 404?
Well what’s the template group and template you are using for your 404? Are you using it for a multi-purpose template? Is the template named 404 and the entry being shown by chance have an entry id of 404?
The template is called ‘404’ and it’s in a group called ‘onwired’, which is the equivalent of ‘default_site’. Here’s the relevant code from that template:
Ok, if it’s named 404, since it’s numeric, EE is going to think you are wanting to use an entry ID in the URL, so I think my guess was correct that the indicated entry has an entry id of 404. You can avoid that with dynamic=“off”, but that’s not what you want since you are using a standardized template to generate your <head> content with the embed. There are a few ways you can address this. One would be with a segment_2 conditional looking for ‘404’ to display a static title, or you could pass an embed variable to indicate to the embedded template that it’s being requested from the 404 template, and to do something different when that embed variable is present.
Ok, if it’s named 404, since it’s numeric, EE is going to think you are wanting to use an entry ID in the URL, so I think my guess was correct that the indicated entry has an entry id of 404. You can avoid that with dynamic=“off”, but that’s not what you want since you are using a standardized template to generate your <head> content with the embed. There are a few ways you can address this. One would be with a segment_2 conditional looking for ‘404’ to display a static title, or you could pass an embed variable to indicate to the embedded template that it’s being requested from the 404 template, and to do something different when that embed variable is present.
Could I not simply change the template name, then? How about Error404? Or can it not contain any numerals at all? I’ll try that first, then, try the embedded title route.
You could just change the name, but then it’s still going to be using that weblog entries tag to generate your title, which I’m assuming you do not want on the 404 page. Only fully numeric segments in the 2nd or 3rd URI segment will trigger a weblog entries tag to access an entry by id (and again dynamic=“off” can affect that as well).
You could just change the name, but then it’s still going to be using that weblog entries tag to generate your title, which I’m assuming you do not want on the 404 page. Only fully numeric segments in the 2nd or 3rd URI segment will trigger a weblog entries tag to access an entry by id (and again dynamic=“off” can affect that as well).
Hmmm…. OK. It just occurred to me, though, that I could simply not embed the dynamic head in that template, just do a static one. That should do the trick, though it’s something of a cop-out! Oh well, you pick your battles… Thanks, Derek.