Drupal is up and running but how do I ...?

Cannot see new field type in CCK

I had CCK working for a while, with only the textfield module installed.
Today I tried to add the "number" and "nodereference" modules.

However, when I edit a content type, then go to "add field", I cannot see the newly activated field types in "Field type". I can only see "Textfield".

I have tried to activate other field type modules, but I can't see them either.

Any ideas?

Using PHP Code in drupal nodes

I have a table which includes a list of some movies in my database. And i have this code to list them in my homepage;

Movie List

But i have a problem (which i didn't have before i upgraded to 4.7.3). First of all, when i try to add this code to a new node, when i click submit, i am getting a 403 error. I don't know what causes the problem, but i partially solved this problem by inserting the code directly from the database to the "node_revisions" table.

But still i have a problem;

the page links at the bottom of the page became faulty like;

php code;

echo "<a href='film_listesi?h=".$hdeg."&sr=".$dlsorter."&start=".$dlpagecount."'>".$pagenumb."</a> ";

result;

film_listesi%3Fh%3DDESC%2526sr%3Did%2526start%3D120

while it should look like;

film_listesi?h=DESC&sr=id&start=120

the thing i can't understand is, there are some other links on the same page that looks like them which doesn't have any problems, like;

the arrows on the top of the table that are used to sort the list;

phpcode;
<a href=film_listesi?h=ASC&sr=id&start=".$dlstart."><img border=0 src='http://www.hecatomber.org/files/a.jpg'></a>

result

film_listesi?h=ASC&sr=id&start=0

here is the entire code for the page;





<?
$dlsorter=$_GET["sr"];
$hdeg=$_GET["h"];
$dlstart=$_GET["start"];
if($dlsorter=="imdbid")
{
$dlsorter="imdbid";
}
elseif($dlsorter=="id")
{
$dlsorter="id";
}
elseif($dlsorter=="mname")
{
$dlsorter="mname";
}
else
{
$dlsorter="id";
}
if($hdeg=="ASC")
{
$hdeg="ASC";
}
else
{
$hdeg="DESC";
}
if(!isset($dlstart) || !is_numeric($dlstart))
{
$dlstart=0;
}

$dlquery=db_query("SELECT * FROM `movie`");
$dlrow=mysql_num_rows($dlquery);
//satır sayısı

echo "

";
echo "

Film Listesi

Users edition to book pages are ignored

Hi,
I set access so any user can edit book pages. Not only his own, but others.

I tried from another browser, registered regular user account to edit a book page. The edit tab is present, so I click on it, edit a book page and click submit.... i'm returned to that page or to the frontpage, with NO edit message.

When I check from the admin watchdog, I see no sign of edit from the user.... plus editions of the users are not saved, neither in revision.... it all seems as the user did strictly NOTHING.

Any clue why it does this ?

Thanks,
Brakkar

Node import: only first letter of link imported

Trying to import csv data in CCK nodes with the Node Import module (latest cvs version) weird things happen:
One of the fields is a link to a website; after importing http://www.whatever.com into a field of CCK type 'Link' it shows up as h(mouseover the links).
Same behaviour without the http://, this gives a clickable w as link. Tried cvs and tsv, same thing.

Integrate picasa web album

Has anyone tried to integrate Picasa webalbums into drupal?
Kim

Can something like this be done with img_assist?

The biggest thing I like about IMCE over img_assist is that it extends the existing 'insert image' UI, rather than adding another semi-redundant button to TinyMCE's toolbar.

What I'd really like is to link a remote image from within the same UI as img_assist. I'm picturing this as a window with three tabs:

1) Link to image (default)
This screen has a URL field for the image you want to embed, plus controls for size, alignment, etc. (or no extra controls, depending on permissions set by admin)

Pages

Subscribe with RSS Subscribe to RSS - Post installation