Drupal 4.7.x
"PHP cloud"
Hello community!
This post is mostly market research, since we are considering starting with high end PHP hosting. We have ideas and skills to make a "PHP cloud" that can serve almost any Drupal installation with the no_anon module enabled and a special module provided by us to allow serving millions of page views for anonymous users. We plan to provide memcache and NDB mysql table engine.
You pay for how many server instances you need to run plus bandwidth and storage.
Would you consider such a service, and what would you pay? Would included Wowza streaming be important?
How to download image module for drupal 4.7.11 ?
Hi
Sorry , just can't find it.
Where can I download it?
Thanks
Block visible for Specific Content Type but NOT Specific URLs
Here is a block visibility snippet for showing a block on certain content types but hiding it on specific URLs.
In this example you can see that this block is intended to be visible on Story and Page content types but invisible on the node edit and admin pages (specifically /edit* and /admin* URLs).
<?php
$match = FALSE;
// block is visible on the content types entered here
$types = array('story' => 1, 'page' => 1);
$url = request_uri();
if ((arg(0) == 'node') && is_numeric(arg(1))) {
$node = node_load(arg(1));
$match = isset($types[$node->type]);
}
// block is invisible on URLs entered here
if (strpos($url, "edit")) {
$match = FALSE;
}
// copy paste these for additional URLs
if (strpos($url, "admin")) {
$match = FALSE;
}
return $match;
?>Also, You can see the alternative snippet which does sort of the opposite, which is show on content types and show on specific URLS.
Also, Drupal 7 will reintroduce a GUI for block visibility by content type, which reduces dependency on snippets like this one.
sandwich panel and prefabricated house
sandwich panel and prefabricated house
Jing'aoxing Light Steel and Color Plate Co., Ltd.is a design,manufacture,install and trade enterprise with steel structure and color steel plate.
We are a professional Manufacturer with 12 years of experience.
Our main products includ: Color Sandwich Steel Clad Plate,Color Steel Contour Plate,Zinc-Contour Plate,Zinc-Composite Floor,C-,Z-Steel Bar and large H-Steel Structure,etc.Annual output value exceeding 100 million RMB.
There are over 20 sets of the most modern production equipment including H-automatic welding steel production line,Color steel sandwich panel production line,Color pressure-steel-plate machine and ect.
Our products have been used for all aspects of construction: airport, bulk storage plant, large span steel structure workshop, stadium, large wholesale mall, grain depot tent, cold storage, traveling scenic spots, residential building, villadom, vacation village, exhibition hall, guesthouse, high and new technology industrial development zones,supermarket and ect.
The manufacturing technique, construction quality, use effect of the production has reached the leading level of the nation, enjoying high prestige among our customers and the customers make enquires ceaseless.
The main products are:steel structure/|sandwich panel/prefabricated house(www.jaxdchina.com)
Module List for 4.7
I am looking for a clean core module list for 4.7. I need to upgrade a site that I did not build so I need to know what to disable and to re-install during the upgrade process. Can anybody help me?
Url in Drupal website is resolved to /~user/ folder instead of domain root
Hello everyone,
I have this very peculiar issue. I migrated my drupal website from one web server (A) to another (B). During the transition period, the website on B is using a temp domain name and urls.
www.server-b.com/~user/ where user is my account user name. The directory pathing is /user/www/ . So far everything is logic here.
After setting up the scripts and data, I requested the webhost to point my domain name over from A to B. After doing so, all links in my drupal website became www.mydomainname.com/~user/node/1 instead of www.mydomainname.com/node/1.
I can't find where to change this path setting. Checked that I do not have any <base> in the template files. Anyone who can shed light on this?
Thanks in advance.
