Changing # marks

Mar 2, 2011 at 12:01 PM

We would like to edit #marks preventing them from becoming GUIDS.

Now we have following urls http://www.greenwall.by/en/Default/News.aspx#b6f11a3e-4075-4262-b5aa-0220a34c6ee3

We would like to have http://www.greenwall.by/en/Default/News.aspx/nvs_express_release

The other question-how we can integrate tag "noindex" to system.

We are using    Composite C1 2.0 SP1 Patch 1 in Mozilla Firefox 3.6.14.

Mar 2, 2011 at 12:10 PM

How do you render your list of news? As it is now, i see that you insert a <a id="..."></a> tag in the html just before each news-header (h2). This should just be modified so it outputs the title of the news-item instead of its guid.

Mar 3, 2011 at 8:39 AM

What about integrating new tags?How we can do it?Right now it's not recognizing noindex tag,for example.

Mar 3, 2011 at 1:22 PM

once again, i need to now how you're rendering your newslist. If its via an XLST function, you have a <head>-tag before the <body> where you can put content in that should go in the rendered page's head element. There is a guide to it here http://docs.composite.net/C1/XSLT/GuideToXsltFunctions.aspx/Editing-Functions where you can see the following

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:in="http://www.composite.net/ns/transformation/input/1.0" xmlns:lang="http://www.composite.net/ns/localization/1.0" xmlns:f="http://www.composite.net/ns/function/1.0" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xsl in lang f"> 
   <xsl:template match="/">
      <html> 
         <head> 
         <!-- markup placed here will be shown in the head section of the rendered page --> 
         </head>

Mar 4, 2011 at 6:14 AM

Yes we are rendering pages via XLST functions.

Mar 4, 2011 at 11:15 AM

We have solved the issue with urls. We have integrated the new field "Label" in news sections. We strated to write instead of GUID the value of label field.

http://greenwall.by/Default/News.aspx#2011.01.06.nvs_express_1.4.0.

We still have question about integrating new tags,like "no_index"

And the other question is-how we can use different master pages for different pages? Right now we have the masterpage for all pages, but it is needed to integrate the other masterpage for our corporate blog http://greenwall.by/Default/Blog.aspx

Mar 4, 2011 at 1:09 PM

I don't understand your question regarding the noindex tag if my previous comment about <head> doesn't resolve it.

Are you using masterpages og templates? Masterpages is a asp.net concept and is not natively support by C1 but can used with the C1Contrib project. There is a 1:1 relation between masterpages and templates just as there is a 1:1 relation between a page and a template. You can change which template a page should use on the content-tab when you're editing a page, in the far right side. There is a drop-down menu where you can choose from available templates.