aschuster
Posts: 5
|
| Posted: 01/09/2008, 2:37 AM |
|
Hello,
we use CCS version 3.2.0.4.
We have following problem:
We include a file (inc_subnavi) in the body-tag of the main page.
It looks like this
<body>
<div id="wrap">
{header}
<div id="main">
<div class="sidebar">
{inc_subnavi}
</div>
...
And the inc_subnavi.html looks like this:
<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
<div class="navi">
<p class="title"><a href="index.php">Kontakt</a></p>
<ul>
<li>...</li>
<li>...</li>
</ul>
</div>
When we know publish the project or the page inc_subnavi CCS doesnt publish the p-tag with the class "title". It only publishes the content of the p-tag.
But when you like agaion in CCS the p-tag still is in the file! You have to open inc_subnavi.html (only the html file) and cut and paste <p class="title"><a href="index.php">Kontakt</a></p>. After publishing the html file it is ok.
But why does CCS remove the p-tag? Any ideas?
We use XHTML transitional in this project.
Thanks.
|
 |
 |
DonB
|
| Posted: 01/10/2008, 10:46 AM |
|
You might try changing the class to something that's NOT a standard
attribute name 'title' => 'kontackt' The template parser is probably
confused.
--
DonB
http://ccswiki.gotodon.net
"aschuster" <aschuster@forum.codecharge> wrote in message
news:24784a3d2a5647@news.codecharge.com...
> Hello,
>
> we use CCS version 3.2.0.4.
> We have following problem:
> We include a file (inc_subnavi) in the body-tag of the main page.
> It looks like this
> <body>
> <div id="wrap">
> {header}
> <div id="main">
> <div class="sidebar">
> {inc_subnavi}
> </div>
> ..
>
>
> And the inc_subnavi.html looks like this:
> <meta http-equiv="content-type" content="application/xhtml+xml;
> charset=iso-8859-1" />
> <div class="navi">
> <p class="title"><a href="index.php">Kontakt</a></p>
> <ul>
> <li>...</li>
> <li>...</li>
> </ul>
> </div>
>
>
> When we know publish the project or the page inc_subnavi CCS doesnt
> publish the
> p-tag with the class "title". It only publishes the content of the p-tag.
> But when you like agaion in CCS the p-tag still is in the file! You have
> to
> open inc_subnavi.html (only the html file) and cut and paste <p
> class="title"><a
> href="index.php">Kontakt</a></p>. After publishing the html file it is ok.
>
> But why does CCS remove the p-tag? Any ideas?
>
> We use XHTML transitional in this project.
>
> Thanks.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>
|
|
|
 |
aschuster
Posts: 5
|
| Posted: 01/12/2008, 5:38 AM |
|
good idea. But it doesn't work. I named the class "seltsam" (german for curious):
<p class="seltsam"><a href="index.php">Deckhengste</a></p>
But again the parser removes the hole p-tag.
Alex
|
 |
 |
aschuster
Posts: 5
|
| Posted: 01/12/2008, 5:40 AM |
|
Update: When I use a div instead of a p-tag it even works with class="title".
Strange isn't it?
|
 |
 |