Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-06-20 19:59:11
- Darkliam
- New Member
- Registered: 2010-06-20
- Posts: 9
Create a menu
hello
I create a menu for my site and when you click on a link, an other menu is opens with a block and they are links into this bloc (a bulleted list into a bulleted list).
In this block with links, I would like that this block is divided into three columns with an equal number of links (rounded of course).
I don’t know how to divide the number of links (article) in 3 and view a number of links in each column.
(I use adi_calc plugin but I don’t know how divide the number of links and past a same number of link for have the same number in each columns. I use rss_unlimited_categories too because the first menu is my list of categories)
Could you help me please?
Last edited by Darkliam (2010-06-20 20:25:37)
Offline
#2 2010-06-20 20:28:23
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Create a menu
Hi Darkliam, since this is mainly a question about the use of adi_calc, you will find help quicker if you post in the plugin thread.
Offline
#3 2010-06-20 21:53:10
- Darkliam
- New Member
- Registered: 2010-06-20
- Posts: 9
Re: Create a menu
Its ok now to divide a number of article but I have an other probleme.
I would have the number of article in a section and in a category, and I have found mdn_count but this plugin don’t accept rss_unlimited_category
Do you have an other solution for have the number of article by categories ?
Offline
#4 2010-06-20 22:32:25
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Create a menu
I guess rah_function can do it.
Offline
#5 2010-06-20 23:00:11
- Darkliam
- New Member
- Registered: 2010-06-20
- Posts: 9
Re: Create a menu
thanks you for your help I test that
Last edited by Darkliam (2010-06-20 23:05:49)
Offline
#6 2010-06-20 23:11:14
- Darkliam
- New Member
- Registered: 2010-06-20
- Posts: 9
Re: Create a menu
I test but I have a last question,
can I put this<txp:rah_function call=“safe_count” table=“textpattern” where=‘Categories=“peintres”’ />
In <txp:variable name=“test” value=’<txp:rah_function call=“safe_count” table=“textpattern” where=‘Categories=“peintres”’ />’ /> ?
Offline
#7 2010-06-21 06:46:56
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Create a menu
Again, questions about plugins are best asked in the plugin thread :)
Offline
#8 2010-06-21 07:40:35
- Darkliam
- New Member
- Registered: 2010-06-20
- Posts: 9
Re: Create a menu
ok thanks a lot XD I was tired
Last edited by Darkliam (2010-06-21 07:45:16)
Offline
Pages: 1