3 questions
Posted: 06 January 2008 09:55 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  305
Joined  04-26-2007

Hello,

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….

Thanks!

 Signature 

OnWired LLC | EE Pro Network Member

Profile
 
 
Posted: 06 January 2008 11:49 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  21029
Joined  04-29-2002

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?

It needs to be a single entry page of some sort.

 Signature 

EE 2.01PB - 2.x Bug Tracker | Docs | Upgrade from 1.x to 2.x | Build Update Instructions | 1.6.x Update Info

Most recent 2.x version: Build 20100215
Don’t forget to upgrade MSM and Forum as needed!

Profile
MSG
 
 
Posted: 07 January 2008 02:03 AM   [ Ignore ]   [ # 2 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19293
Joined  06-03-2002

2. Re: 404 page, I can’t seem to change its title.  See here:

You don’t happen to be setting your page title with a weblog entries tag by chance?

 Signature 
Profile
MSG
 
 
Posted: 07 January 2008 10:50 AM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  305
Joined  04-26-2007
Derek Jones - 07 January 2008 02:03 AM

You don’t happen to be setting your page title with a weblog entries tag by chance?

Why, yes, yes I am.  How did you know?  What shall I use instead?

Thanks!

 Signature 

OnWired LLC | EE Pro Network Member

Profile
 
 
Posted: 07 January 2008 10:52 AM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  305
Joined  04-26-2007
Sue Crocker - 06 January 2008 11:49 PM

How are you wanting the title to be changed?

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…

Thanks!

 Signature 

OnWired LLC | EE Pro Network Member

Profile
 
 
Posted: 07 January 2008 10:56 AM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19293
Joined  06-03-2002

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.

 Signature 
Profile
MSG
 
 
Posted: 07 January 2008 10:56 AM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  25625
Joined  05-20-2002

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.)

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 07 January 2008 10:57 AM   [ Ignore ]   [ # 7 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19293
Joined  06-03-2002
maadmac - 07 January 2008 10:52 AM

Would you mind clarifying what you mean by ‘single entry page’?  I’m not sure I follow…

Please see the Knowledge Base article What is a Single Entry Page?

 Signature 
Profile
MSG
 
 
Posted: 07 January 2008 10:58 AM   [ Ignore ]   [ # 8 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  305
Joined  04-26-2007
Derek Jones - 07 January 2008 10:56 AM

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
&ndash;Durham&ndash;Chapel Hill, North Carolina (NC) Web Design &amp; Development Company, Search Engine / Email Marketing, Content Management &amp; 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
&ndash; {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 &ndash; {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>
 Signature 

OnWired LLC | EE Pro Network Member

Profile
 
 
Posted: 07 January 2008 11:01 AM   [ Ignore ]   [ # 9 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  305
Joined  04-26-2007
Robin Sowell - 07 January 2008 10:56 AM

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…

 Signature 

OnWired LLC | EE Pro Network Member

Profile
 
 
Posted: 07 January 2008 11:11 AM   [ Ignore ]   [ # 10 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19293
Joined  06-03-2002

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?

 Signature 
Profile
MSG
 
 
Posted: 07 January 2008 11:15 AM   [ Ignore ]   [ # 11 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  305
Joined  04-26-2007
Derek Jones - 07 January 2008 11:11 AM

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:

{embed="includes/head"}
{exp
:weblog:entries weblog="misc" entry_id="133"}
... content ...
{/exp:weblog:entries}
 Signature 

OnWired LLC | EE Pro Network Member

Profile
 
 
Posted: 07 January 2008 11:21 AM   [ Ignore ]   [ # 12 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19293
Joined  06-03-2002

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.

 Signature 
Profile
MSG
 
 
Posted: 07 January 2008 11:38 AM   [ Ignore ]   [ # 13 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  305
Joined  04-26-2007
Derek Jones - 07 January 2008 11:21 AM

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.

Thanks!

 Signature 

OnWired LLC | EE Pro Network Member

Profile
 
 
Posted: 07 January 2008 11:56 AM   [ Ignore ]   [ # 14 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19293
Joined  06-03-2002

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).

 Signature 
Profile
MSG
 
 
Posted: 07 January 2008 10:44 PM   [ Ignore ]   [ # 15 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  305
Joined  04-26-2007
Derek Jones - 07 January 2008 11:56 AM

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.

 Signature 

OnWired LLC | EE Pro Network Member

Profile
 
 
   
 
 
‹‹ Magpie not working?      MetaWeblog API Issue ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 120384 Total Logged-in Users: 36
Total Topics: 126501 Total Anonymous Users: 26
Total Replies: 665233 Total Guests: 319
Total Posts: 791734    
Members ( View Memberlist )