Hi.
I have a hopefully simple question :-)
How do I add a new block ?
I want a block with partner links in left
I made the HTML and added the code block.partner - but smarty fails
Thx
Hi.
I have a hopefully simple question :-)
How do I add a new block ?
I want a block with partner links in left
I made the HTML and added the code block.partner - but smarty fails
Thx
I use V5.0 indexuOriginally Posted by snoezel
You must add php code in /blocks/ folder and its template in /themes/theme_name/blocks/ folder.
The easiest way to learn how to coding block is by copy/paste from other similar block files and change the codes as you requred.
Perhaps i could help you, how many do you have link partners and how you would like to display them.
Thx, I figured it out, and got it working :-)Originally Posted by dody
Could you tell me how to ADD a new text field on add_form.html
I want a field "Suggest category" but I cant get it to send the value, the field
is added now, but I dont get the input from the field :-(
You need to codes php in regular file, such as suggest_category.php.
Block isn't made for that purpose. It's used to displaying information which you can put everywhere as you wish.
Hi dody.Originally Posted by dody
I didnt ment a block named "suggest category".
I ment to ADD a text field on the form, that send the new submissions, but
I dont get the input from that new added field "Suggest category"