Remove the "No front page content has been created yet" message.

hi!,

I'm building this days my firm's homepage. It just have 2 menues, an image carrousel and some images that link to other web sites. Perhaps I've missed something, but, I haven't had any need to add any content to drupal yet and I won't need it because it is just a farily simple front page. The problem is that the message I stated in the topic keeps appearing when I render the content region of the page.

Creating a new field with 2 Text Type Fields

yes, this is confusing.

I want to create a new Content Type and i need to create a "Field that contains 2 Fields"

as an example, i want title and body together, i cant create they separately cause i dont know how many "title + body" fields i will have in 1 content, and i want to put the "number of values" as unlimited.

There is a simple way to do that?

Thank you.

Drupal 7 Install failure on Windows, Sql Server

I already know that Windows support is pretty squeaky new, but thought it was time to take advantage of all our production level systems and move some v 6 sites to Windows. I was already succesful running drupal 6 with mysql on windows with all of our modules so I think this is plausible. Now to move to Sql server and V7.

Step one was just to see a vanilla new Drupal 7 site running well on Windows and Sql Server before going through the more painful upgrade of the v6 sites. I can get to the point where it is adding tables to my sql server 2008 R2 database, but then it fails after 15 or tables are added. The website install error is:

SQLSTATE[IMSSP]: An error occurred substituting the named parameters.

OK, that isn't very helpful so I installed Drush and tried to install from there. Got more detailed information. Looks like a bug, but can't be sure as use of savepoints is something we generally avoid in Sql Server land:

C:\ProgramData\Propeople\Drush\commands\sql\sql.drush.inc).
Starting Drupal installation. This takes a few seconds ... [ok]

WD registry: PDOException: SQLSTATE[IMSSP]: An error occurred [error]

substituting the named parameters.: RELEASE SAVEPOINT savepoint_1;
Array
(
)
in _registry_parse_file() (line 179 of
C:\_code\PAi\ExternalWeb\DEV\drupal7\includes\registry.inc).

print module

Hello,
I am using the module print to make pdf documents. When I use this module there is an error:
•Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in theme_print_pdf_tcpdf_header() (regel 485 van /home/hervormd/public_html/sites/all/modules/print/print_pdf/print_pdf.pages.inc).
•Warning: getimagesize(http://hervormd-oud-vossemeer.nl/pkn_logo_nieuw.png) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in theme_print_pdf_tcpdf_header() (regel 485 van /home/hervormd/public_html/sites/all/modules/print/print_pdf/print_pdf.pages.inc).
•Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in TCPDF->Image() (regel 7400 van /home/hervormd/public_html/sites/all/modules/print/lib/tcpdf/tcpdf.php).

This is the code in the file print_pdf.pages.inc:
function theme_print_pdf_tcpdf_header($vars) {
$pdf = $vars['pdf'];
preg_match('!(.*?)!si', $vars['html'], $tpl_logo);
preg_match('!(.*?)!si', $vars['html'], $tpl_title);
preg_match('!(.*?)!si', $vars['html'], $tpl_site_name);

$ratio = 0;
$logo = '';
if (preg_match('!src\s*=\s*(?:\'(.*?)\'|"(.*?)"|([^\s]*))!i', $tpl_logo[1], $logo_url)) {
$logo = $logo_url[1];
$size = getimagesize($logo);
$ratio = $size ? ($size[0] / $size[1]) : 0;
}

Alternative "maintenance mode" page - with custom php code - not drupal themed

Hi there,

I've been wondering this (and searching for an answer for a loong time now.)

I currently develop sites using multisite and have just switched to D7, so that may be relevant here.

How to provide a slider into frontend for taxonomy?

I want to show tree level category into content page with slider.. Please provide a suggestion.
Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x