By linux_enthusiast on
Hi :-) Please help. I created theme, all is great, but I have one problem. I need put text (price) in special area in web page. Look http://oi49.tinypic.com/1febyf.jpg Text must be placed in red star. Now I'm learning how to make modules. How can I make text input in administrative section and place text in red star in all pages?
(Prices are fictitious yet.)
Thanks :-)
Sory for my English, I'm from Slovakia.
Comments
Are you going to change the
Are you going to change the price manually, or it should change automatically?
And, is the price supposed to change for example in different pages?
Price should be changeable
Price should be changeable manualy and should have only one value for all pages.
Then, I believe you should
Then, I believe you should add it to theme. Consider a region for it, and set the position of the region such that it gets to its desired place; then put a custom block with your desired custom price in it.
You helped me solve my
You helped me solve my problem. :-) I created new region in theme.info and put it in page.tpl.php by The Definitive Guide to Drupal 7. Then I created block and wrote content. Editing lauout.css and style.css were simple. :-) Result
I'm very happy to hear that.
I'm very happy to hear that :-)
Well done.