I have a new node type that I want to make purchasable using the ecommerce module. I gather that I need to implement hook_productapi in my node type module. I wish to have each node priced the same (say $5). How can I do this as simply as possible? I would imagine I would not need much of the functionality. E.g. I would not need to populate the ec_product table?
Ok, i am new to theming .. but it's got to be done by monday. I just want to make sure my understanding is correct on some issues:
I'll need to customize the look of the forum pages and the blog pages. So:
page.tpl.php is the file that governs the look of the entire page?
so i copy this to page-default.tpl.php and also copy it to page-blog.tpl.php and page-forum.tpl.php, and then by modifying code in those files i can get a different look to the blog and forum pages?
Just finished a web site for a friend of mine who runs an event marketing agency. For my very personal taste I think the site has a little to many gimmicks, but my friends likes that. Personally, I would have preferred a more purer approach but still, any comments from you folks highly welcome!
I try to upgrage my 4.7CVS version installed on my computed for testing purpose. I can't get to it.
first i have a warning message at the firt run :
# warning: Cannot modify header information - headers already sent by (output started at c:\programme\easyphp1-8\www\drupal470\includes\database.mysql.inc:118) in c:\programme\easyphp1-8\www\drupal470\includes\common.inc on line 139.
# warning: Cannot modify header information - headers already sent by (output started at c:\programme\easyphp1-8\www\drupal470\includes\database.mysql.inc:118) in c:\programme\easyphp1-8\www\drupal470\includes\common.inc on line 1
and when i enter my username and loggin i 've got this result :
Page not found
* warning: Cannot modify header information - headers already sent by (output started at c:\programme\easyphp1-8\www\drupal470\includes\database.mysql.inc:118) in c:\programme\easyphp1-8\www\drupal470\includes\common.inc on line 139.
* warning: Cannot modify header information - headers already sent by (output started at c:\programme\easyphp1-8\www\drupal470\includes\database.mysql.inc:118) in c:\programme\easyphp1-8\www\drupal470\includes\common.inc on line 139.
* user warning: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' query: SELECT * FROM users WHERE status = 1 AND name = LOWER('npenel') in c:\programme\easyphp1-8\www\drupal470\includes\database.mysql.inc on line 118.
Just tried writing a PHP script to setup Drupal database for MySQL automatically. Not sure if it works for everyone, but it works for me so far, both 4.6, and 4.7. Just unzip the file into your drupal directory and run setup.php, and it should work from there. Not the best way to do things, but hey, it works. :-)
Finns det någon svensk översättning till version 4.7? Om det inte finns det är det någon som vet om det är på gång.
Jag skulle själv kunna tänka mig hjälpa till med översättningen men jag vet inte hur jag ska gå tillväga. Jag har läst Translation Guide men förstod inte mycket av den.
Finns det någon som vet hur översättningen ska göras så förklara gärna lite kort. Andra som är intresserade av att hjälpa till kan gärna skriva en rad här.