<div dir="ltr">Hi Claus and thanks for your explanations.<div><br></div><div style>I went for your second suggestion and created a new sub-sitemap in a subfolder /test/.</div><div style><br></div><div style><br></div><div style>
In this /test/ I dragged a <span style="background-color:rgb(255,255,255)">"<span style="font-family:Verdana,Helvetica,Arial,sans-serif;font-size:12px;font-weight:bold;line-height:16px;white-space:nowrap">'News' type detail page"</span></span> (v8news) from the sitemap-editor, and to this I dragged a "<b>configurable list"</b> from the page editor.</div>
<div style><br></div><div style>After setting up the collector plus the mapping, the list display the blog... but still with the un-beautified URL's.</div><div style><br></div><div style>Note that I could enable "Make detail default" for the v8news, and it would keep the setting for /news/. This is explained by your statement that only one detail page can exist per content-type per (sub) sitemap.</div>
<div style><br></div><div style>But still I have no rewritten URLs... :-(</div><div style><br></div><div style>Any other hint?</div><div style><br></div><div style><br></div><div style>I would prefer to be able to use v8news for both news and blog because it does what we need, and I don't want to reinvent the wheel.</div>
<div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 May 2013 15:15, Claus Priisholm <span dir="ltr"><<a href="mailto:cpr@codedroids.com" target="_blank">cpr@codedroids.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Two things comes to mind: <div><br></div><div>1) content naming is not setup sufficiently explicit . I've noticed that when creating content, one set of defaults is used (to name the content sub-folder and files) and another is used when trying to find the content for the detail page - the result for me was that urls never got "beautified". I read your message such that you do get the urls rewritten just not to the right folder, so the setup may be fine.</div>
<div><br></div><div>2) per design you can only have one detail page per content type per "sitemap". I haven't tried to challenge that limitation so I am not sure if it would yield the result you get. You mention that they both are stored inside /.contents which is not necessarily the same as you only have one sub sitemap, but it suggest that it is the case, and then you will run into problems. So you will need to create sitemap for news and one for blogs.</div>
<div><br></div><div>Or, you can get around that limitation by not using the 8.x detail page mechanism, but it requires some extra work and of course may be a bit besides the point. </div><div><br></div><div>
Brs</div><div>Claus</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><a href="tel:2013%2F5%2F2" value="+352201352" target="_blank">2013/5/2</a> Yves Glodt <span dir="ltr"><<a href="mailto:yg@mind.lu" target="_blank">yg@mind.lu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Hi list,<div><br></div><div>I seem to have trouble to get detail-pages work.</div><div><br></div><div>What I am trying to do is to have a blog- and a news-section, both using the v8news document-type.</div>
<div><br></div><div>They both work in the sense of creating/editing/reading them from ADE. They have their own content-stores in /.content/news and /.content/blog/.</div><div><br></div><div>/news/ and /blog/ both have just one index.html containerpage containing a textblock and a list. The list is configured identically for both, using the byQuery collector with identical parameters, except "news" and "blog" substituted as needed.</div>
<div><br></div><div><br></div><div>The only issue I have is the "generated" link is not working for /blog/. For /news/ its ok.</div><div><br></div><div><br></div><div>I tried setting the "Make detail default" for "/blog/" in the sitemap-editor, which has the consequence that the news still work,and have their "beautiful" URL generated, but with /blog/ instead of /news/ "subfolder" in the URL. (But they still work)</div>
<div><br></div><div>But whatever I try, the URLs are never generated nicely for any content in /.content/blog/</div><div><br></div><div>Any more hints ?</div><div><br></div><div>Best regards,</div>
<div>Yves</div></div>
<br></div></div>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Claus Priisholm<div><a href="tel:%2B45%2048%2022%2046%2046" value="+4548224646" target="_blank">+45 48 22 46 46</a></div>
<div>cpr (you know what) <a href="http://codedroids.com" target="_blank">codedroids.com</a></div>
</font></span></div>
<br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div>