How to add single image in drupal in a block region and how to manage slideshow in drupal 7.
I am newbie in drupal Please give me step by step explaination.
You can add a simple image by just including it in code <img src="<url>"> and selecting the FULL HTML Filter
There are tonnes of options for slide shows, see the list here:
http://drupal.org/node/418616
You can add an image in the block region by creating a custom block and use a PHP code
sites/default/files/image-name.jpg">
For creating a slideshow in drupal 7, you can use view slideshow cs module.
For making a slideshow in drupal you have to follow few steps :
Create a content type for slideshow
create view and use a slideshow in the setting
add the images using content type
enjoy the slideshow
Related
After 1 day searching and testing I'm wondering if it's possible to embed or insert a photo from flickr (or from google+ it's the same problem) in a node using drupal 7, ckeditor 4.5.6 and colorbox (for example).
More precisions:
What I want to achieve is to embed thumbnails from flickr that I can resize and move (like shown here) and are compatible with colorbox (or anything similar).
I've been testing all day with the ckeditor plugins image2, autoembed and embed, it's quite impressive the potential of it, but every flickr link pasted in the editor turns into a gallery (??) that is not resizable, and I don't need the whole gallery.
An good example of what I'd want here but this is done with a flickr filter of the drupal flickr module, it does the job but without the awesomeness of the ckeditor widget system, meaning : I have to copy every link, my user id, change the css, for each photo...
Has anybody done that ?
I'm recreating a website in drupal7 from a basic html page. This basic current html page has these two sidebars with specify ads squares for their website that they have made. This website is really old so all of their ad squares are created in images. So there is bassicly just an img tag in one ofthese squares. In these pictures there is also an link to donation pages and other functions etc. It's done with an easy a tag. Anyway...
I want to create these ads squares in the sidebars for their new drupal site but I have no idea of how to do it. I've looked into CKEdtior and CKFinder but I dont find functions for it. I want to recreate these pictures into real divs that has css styling.
Do you guys have any idea of how to create these ads square to the new drupal site? :)
Modueles?
Thanks
You could add the ad as a block. Blocks can be displayed in certain regions of your theme, on all or on certain pages of your site.
See Working with blocks (content in regions).
EDIT:
If your users shall be able to create new ads, you could do the following:
create a content type "Ad"
add all the fields you need, set the permissions
with the Views module, you can create a new block display, which contains the relevant fields of your "Ad" content type
What else you have to do depends on when/how/which ads shall be displayed.
Please provide any examples or links which clearly explaining to create simple image gallery in Drupal 7.
Actually the image gallery should be in Thumb Nail Image with 4 images per row.
It should be categorized with simple menu.
If there is sub category, then there should be drop down menus.
Finally the gallery should be with pagination links.
I've tried with taxamony, but it not clear display as expected in front end.
Please provide the better way either thru code or any modules available.
There are different ways to do an image gallery. If something like galleria is what you are looking for you can do it very easily just by using an image field and drupal galleria module.
But in your case, you will have to use views. In that pull out the images you want, choose the
display as grid. Set the no. of columns to 4. Link to the original image. Then you can use the
Lightbox module to open them in a lightbox, if you want one.
For pagination you can use the default views pagination settings.
This might help you. Check out.
I am building a website with drupal 7 in which I have two user roles i.e. a member and an expert. I want to display slideshow of expert type of users with their image, name and few lines describing them in every instance of slideshow. All 3 fields which I require are stored in mysql database as the users entered these details at the time of signup. I used view_slideshow module but I am unable to configure it my way. Unable to create new content type.
Can it be possible to display slideshow in the way I want?
I am using "busy" theme if its required.
Using the views slideshow module you should be able to create a view where instead of displaying content you display users. On the create view page there is a spot where it says 'show: content ' as a drop down. Change this to users and then when you have the views slideshows module change the display format on the same page to slideshow.
hi i m new to drupal i want to know that how could i add my custom page for the display the some information which is come from databases, i have create that page in core php (for example information.php)but i want to add that page in drupal 7 how it is possible
looking for the quick and best reply
The quickest way would be to add a content type "Information" to your drupal site, rename your information.php file to node--information.tpl.php and use the Drupal Database API to get stuff from your database. Finally you'd want to put node--information.tpl.php in your theme/%themename/templates/ folder and add new content with the Content Type "Information".
The best way would be to make a new module. Build your menu structure and add a theming function that calls a template file. When calling the template file using theme(), pass along the data that needs to be displayed.
In addition you might want to check out the Custom Page module: http://drupal.org/project/custompage