Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-08-26 16:29:48
- 8unknown
- Member
- Registered: 2007-08-26
- Posts: 12
bantjes.com
Hi,
I decided to try textpattern because I have been impressed by its simplicity and efficiency in presenting content on this website www.bantjes.com.
But I can’t seem to find an option in the admin interface that helps to at least create a menu like the top bar menu used on bantjes.com
Do we have to use a plug in or can such a simple menu be created with a ligne of code or something ?
Thx
Offline
Re: bantjes.com
Looks like the HTML code for that menu was created manually instead of using a TXP tag (with a little help from Dreamweaver, I think).
Offline
Re: bantjes.com
are you referring to those ‘news, projects, writing etc’ images?? txp is not going to generate images for you. i dont know of any cms that would.
Last edited by iblastoff (2007-08-26 18:39:53)
Offline
#4 2007-08-27 00:47:14
- 8unknown
- Member
- Registered: 2007-08-26
- Posts: 12
Re: bantjes.com
thx for the answers
the menu is quite simple indeed, i could do that menu with html, but with textpattern my knowledge are not good enough to know where or how to put that top menu on every page… i feel useless and im affraid to break something, there are several different pages with codes, and i wonder if i should modify the default one, or if i have to create a tag that i have to insert everytime i want the menu to appear…
is there a way to put some menu code once so that it appears everywhere on the site ?
Offline
Re: bantjes.com
yes. you can use forms. place your html for the menu in a form (set to misc), and name it whatever you want.
then in your pages, just use <txp:output_form form=“your_nav_form_name” /> for wherever you want it.
Last edited by iblastoff (2007-08-27 00:53:23)
Offline
#6 2007-08-27 19:40:57
- 8unknown
- Member
- Registered: 2007-08-26
- Posts: 12
Re: bantjes.com
so I will have to place that form on every page then, right ?
I wish there was a section in text pattern that allows to place some code that would then be used and displayed on every page of the site…
Thank you for you tip !
Offline
Re: bantjes.com
well how many pages you use is up to you. some people use a single page for their entire site by using if conditionals.
but since it seems like you’re going to be using multiple pages, pasting a single txp:output_form tag is hardly going to affect your workflow anyway.
Offline
#8 2007-09-01 23:07:06
- 8unknown
- Member
- Registered: 2007-08-26
- Posts: 12
Re: bantjes.com
iblastoff wrote:
yes. you can use forms. place your html for the menu in a form (set to misc), and name it whatever you want.
then in your pages, just use <txp:output_form form=“your_nav_form_name” /> for wherever you want it.
i created a misc form named topmenu
and when i insert it in the default page and then try it my browser displays the following message:
Tag error: <txp:output_form form=“topmenu” /> -> Textpattern Notice: Form not found: “topmenu” on line 1360
is my “topmenu” misc form html content wrong ?
here is what i inserted in the default page:
<txp:output_form form=“topmenu” />
is it wrong ?
Many thanks for your answers
Last edited by 8unknown (2007-09-01 23:08:18)
Offline
Re: bantjes.com
It already answered to you: You don’t have a misc-form named topmenu. I wonder why you even asked that, when you already had the answer.
So, just make the form in Textpattern => Presentation => Forms => Create new form
Cheers!
Last edited by Gocom (2007-09-01 23:35:55)
Offline
#10 2007-09-01 23:42:54
- 8unknown
- Member
- Registered: 2007-08-26
- Posts: 12
Re: bantjes.com
As I said in my last post, I did create a topmenu form…
I don’t understand the message, but creating a form is not the solution since I already created it…
whuch is why I asked…
The form is displayed correctly at the end of the forms list:
Form Type
comments_display article
default article
lofi article
search_results article
single article
comments comment
comment_form comment
popup_comments comment
files file
Links link
noted link
plainlinks link
<b>topmenu misc</b>
Offline
Re: bantjes.com
make sure you’re not using the directional quotes around "topmenu"
(assuming you probably copied and pasted my example from this thread. textile automatically converts it to those curly directional quotes. i love txp as a cms but i honestly find textile so annoying)
Last edited by iblastoff (2007-09-02 01:17:34)
Offline
#12 2007-09-02 08:14:17
- 8unknown
- Member
- Registered: 2007-08-26
- Posts: 12
Re: bantjes.com
awww
thank you !!
it works !
Offline