Would like to know how to use GitHub as a version control system for my hosted Drupal site. What are steps that I need to take to push files from Drupal to GitHub? What files/directories are best to push over to GitHub.
Thanks
...
hi,
I've a view with 80.000 nodes. I need to add a search field and
1) I was wondering if I can enable the "Search filter" directly inside the view. Is it going to an endless search ?
2) Should I enable the main drupal search. Is it going to be an endless indexing ?
thanks
...
Hi
I have created a form using add new content type and cck fields. I want anonymous users to view the menu item to this form but not the content. So when users click on the link they should get redirected to login page. I have granted the permissions of access all content. Any suggestions please.
Thanks
Kanwal
...
Why does some query that works in mysql doesn't work with db_query? For instance -
" SELECT * FROM {tb1},{tb2}WHERE {tb1}.vid=%d " (Of course I substitute %d with actual vid value while I'm testing in mysql environment)
"SELECT f1,f2,...,f10 FROM {tb1} INNER JOIN {tb2} ON {tb1}.vid = {tb2}.vid WHERE {tb1}.vid = %d AND {tb2}.vid = %d
A...
Hello
I am getting strange problem.
When I am listing some content type, intead of data I am getting 'n/a' string.
I listed views, and on one view I have 'Warning - Broken view!' message.
I can't edit / delete this view because it always redirect to front page.
I checked my logs and all I see is repeating:
# warning: Invalid argument...
Drupal has a print link function that I'm using in my .tpl.php
<?php
print l(t('Announcement'), 'node/30');
?>
l makes it become a link. Does drupal have an equivalent API function to make buttons?
If not, what's your best suggestion for this?
...
I've inherited a site built with Drupal, moved it to a different server (from Ubuntu Server 9.10 to Ubuntu Server 10.04) and now I'm geting the following error when I trying to upload an image via an ImageField.
„160284.jpg” nem tölthető fel. The file is not a known image format.
The first (localized) part of the error is „160284.j...
Hi all,
Often after a Drupal (6.x) site is launched, I have people starting to sign up and enter their own content. Whenever there is need for an upgrade, the database on production is copied to dev and then the development is done on dev, later get pushed to staging for client's approval.
When the site is eventually ready to go live...
Hello fellow drupalers, I have a question about ajax loaded views. Lets say i have 15 items, and i have the pager to show 5. Now i want to have a button that says show "more". when the button is pressed i want the view to load an additional 5 items in the view. So if i have lets say animals. cat,dog,panda,snake,worm,zebra,lion if the pa...
Is this all to stop SQL injection in Drupal?
db_query('INSERT INTO {tablename} (field1, field2) VALUES ("%s", "%s")', $field1, $field2);
...
When you go to http://akademy.kde.org/
the register link is http://akademy.kde.org/register - no user in path
It goes to http://akademy.kde.org/user/register with user
This is a drupal website. How you think they did this? and how to make it stay at this path http://akademy.kde.org/register no user in path?
...
In PHP I can have a very nice registration system in less than a day with ajax username availability checking, custom fields, custom validation and everything to think of. In drupal, drupal just stands in the way of everything good.
I'm trying to customize the registration page as follows
add extra fields in the registration form
cha...
Hello,
Im using Drupal version 6.19 and the webform module in Drupal to create forms.I have two forms on my site.When the user submits the form, where in the drupal database are the entries saved for each form ?
Please help
Thank You
...
I'm using the Rules module to send a mail and I'm inserting a token that represents a CCK Date field. This token contains HTML formatting which should not be present in a plain text mail.
So when I insert the token I get
<span class="date-display-single">06.09.2010 - 15:52</span>
Instead of
06.09.2010 - 15:52
which is what I want...
Hi,
I downloaded qTip module from Drupal site and extract it to sites/all/modules.
I downloaded project from http://craigsworks.com/projects/qtip/download/ and extract it like README.txt file says ... to sites/all/libraries/qtip ... so I have in folder qtip these files
*jquery.qtip-1.0.0-rc3.min.js
*jquery-1.3.2.min.js
*REQUIREMENTS
...
Without going through the UI, how would I add an existing CCK field type to an existing content type in Drupal?
I'm imagining I could add the change of configuration straight to the database in an 'install' file, but if not, which hook should I call for this?
...
I need to override the 'node' module's 'node_search' hook in my custom module named 'tester'. I am trying to write the hook in tester.module with the name - tester_node_search, but it just would not work.
I have searched a lot over the internet but am not able to find any concrete solution. Can somebody please help...
...
I have a normal Drupal User. I have used the content_profile module to create a profile content type. This content type contains a node reference to another content type company. The company node then references a type of node called Task.
I want to create a view that list all the tasks for a given user id.
So I imagine I would create a...
Hello,
Im using Drupal 6.19 and have used the webform module in Drupal to create a form on my Drupal site.The form shows up in the navigation menu.
Is it possible to restrict access to the form to only a particular role ?.
That is, i want only users belonging to a particular role to be able to see the form link in the navigation menu a...
Drupal: Newswire theme's suckerfish menu is invisible after uploading the latest version. http://giantcalculator.com/
If you hover in the top area the dropdowns will appear but the menu bar itself is missing.
From what I understand it has something to do with the paths to the background bar image, and maybe CSS aggregation.
But if I...