BLOG:CMS :: Support Forum

Support Forum for BLOG:CMS

You are not logged in.

#1 29.08.2005 19:57

jopi
newbie...
From: Barcelona
Registered: 29.08.2005
Posts: 1
Website

Several sticky items

Greetings,

Would it be possible to have several sticky items, one for each articles' categories ? I am thinking of that for making a little post of introduction for each category on my blog. Thank you very much in advance,


Daniel

Offline

 

#2 21.09.2005 21:14

noname
BLOG:CMS PhD
From: Czech Rep. / Prague
Registered: 26.07.2004
Posts: 225
Website

Re: Several sticky items

the best way is to use %if(cattegory statement with item plugin - you can then have sticky anything anywhere

Offline

 

#3 22.09.2005 09:11

empiryk
BLOG:CMS PhD
From: Poland
Registered: 03.10.2004
Posts: 166
Website

Re: Several sticky items

noname wrote:

the best way is to use %if(cattegory statement with item plugin - you can then have sticky anything anywhere

Can you be more specific? Please, give explicit example.


[ I apologize for my poor english sad ]

Offline

 

#4 26.10.2005 20:12

terminus1
newbie...
Registered: 26.10.2005
Posts: 1

Re: Several sticky items

no news<a href=1>.</a>

Offline

 

#5 09.11.2005 19:31

noname
BLOG:CMS PhD
From: Czech Rep. / Prague
Registered: 26.07.2004
Posts: 225
Website

Re: Several sticky items

empiryk wrote:

noname wrote:

the best way is to use %if(cattegory statement with item plugin - you can then have sticky anything anywhere

Can you be more specific? Please, give explicit example.

E.g. my default main index skin at http://wia.cz:
<%if(category)%>
    <h2 class="nadpis" ><%category%></h2>
    <div id="obsah" >
  <%if(category,catid,8)%>
    <%Plugin(BlogWithOffset,defaultdate,5)%>
  <%else%>
  <%if(category,catid,1)%>
    <%Plugin(BlogWithOffset,novinky,15)%>
  <%else%>
  <%if(category,catid,15)%>
    <%Item(15,adsl)%>
    <%Plugin(BlogWithOffset,default,15)%>
  <%else%>
    <%Plugin(BlogWithOffset,detailed,1)%>
  <%endif%>
<%endif%>
<%endif%>
</div>
<%else%>
<div id="splashdiv" >
<%ExtraSkin(splash)%>
</div>
<div id="obsah" >
<a id="novinky" title="Všechny novinky" href="?category=novinky">Novinky</a>
<%Plugin(BlogWithOffset,novinky,4,1)%>
</div>
<%endif%>

i think quite self-descriptive, otherwise let me know and i will explain

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

TOPlist