as a small assignment, i am trying to build something like hotornot.com, but instead of 1 image with a rating function, i am trying to place 3 images in line, and underneath each image is a ratings (5 star module), and a voting option.. the goal is sort of choosing between the 3 images, and many users can vote on it..
any ideas?
thanks
The easiest way to build something like that, would be to use nodes with image fields (using CCK), one for each picture and then use fivestar to create the voting widget.
The rest is just a matter of styling/theming.
Related
Not sure where to start with this one so after a bit of advice.
I've got Slider Revolution set up and configured. However what I would ideally like is a global layer that is called Logo to pull from 1 of 3 files randomly, each Called Logo1.png , Logo2.png , Logo3.png
I've been able to get information for how to randomise the first slide but am struggling to work out how to do so for an image that isn't part of the slides?
Does anyone know if it's possible to do this?
I've been able to get information for how to randomise the first slide but am struggling to work out how to do so for an image that isn't part of the slides?
I can't code. How can I create a Twitter widget to show tweets from a Twitter list?
I want to use it on my blog. On the left side widget area of a static home page. Ideally I'd like more than just text. I'd like a bubble graphic around each tweet.
Also there's over 4k people on the list so it would be good to show only tweets that have been faved or RTed.
This is hoping for too much right? I'll settle for just a simple widget to start off with. Do you know of plug-ins that do that?
I believe the code for the widget should be just one line.
https://twitter.com/Dev_4iOS/lists/geeks-who-know-their-shit is the URL to the list. I tried creating an RSS feed but didn't figure it out.
Thanks.
Edit: I also want to add a subscribe button for the list.
Twitter offers a few pre-built widgets - the closest to what you want is the List widget. You're pretty limited in customizing its look/feel/functionality - chances are you're not going to get your bubble graphics or filter by stars.
Now after searching for 2 weeks afther a module to work on drupal 7.x version whatever, I took another way/module/guide/tutorial and yes finally i got somehow what i want without a error occures.
But now i want to make something very simple but i don't see it.
I have the module view and panel. And i want to list 3 fields in the next way:
**so you need 10 reputation for images, i'll try it to explain it like this:
|=
(where "|" is the thumbnail and "-" are the title and the other "-" is the date.
Now it shows like this:
title
date
thumbnail
I see alot on the internet about , display suite, panels, view with rewrite output, ...
But this must be soooo simple and that is getting me crazy. If i know how i just could write it myself in php/html whatever i would do it.
But i can't see the forest for the trees
Please give me something to work with or a link of a tutorial whatever. I need a right direction for this.
Yes my english is bad and i hate drupal, but still , i think drupal can be great, but it is not for me.
You are talking about "theming" which is how your fields are displayed on the screen. By default Views emits some HTML that wraps them in elements like . The exact HTML depends on which type of display you are using.
The quickest way to achieve the layout you describe is not really about Views at all, but using CSS. Make the thumbnail float:left and ensure the other two are displayed inline (without line break).
I am trying to create a View with two page displays, one that uses HTML List and another that uses Draggable Table, per the instructions for using the DraggableViews module (http://drupal.org/node/283498). However, whenever I change the format for one of the displays, it also changes for the other. Is it possible? The DraggableViews documentation (and Issues for DraggableViews) imply that it is.
Also, I know that an almost identical question was asked last year for Drupal 6 Drupal: Views, can the displays have different styles for the view? , but no satisfactory answer was given.
So, you have 2 displays. Do this:
1. For the first Display, click on Format.
2. In the Top : 'For' -> choose 'This page' ('This x' where x is what you display)
3. For the second Display do the same.
Basically, for all items in a view, you can choose if it applies for all display or for the current one.
Hope it is clear
I came across the solution I need in PHP but I need one that I can use that's just as simple in an ASP.NET environment.
I am combining 4 transparent png images to create a single image (Lets say its a custom certificate) with one of 4 background images, one of 4 header logos, one of 18 category titles and another variable image that stack just like they would in Photoshop. Instead of doing up over 1000 images I want the page to generate this image based on input variables.
I am at the point now where everything stacks nicely but I can't for the life of me find a way to merge these images together for the visitor to save locally as a single image.
I found the perfect PHP solution here:
Combine 2-3 transparent PNG images on top of each other with PHP
What can I do that accomplishes the same thing?
.NET has lots of image processing capabilities. Look at the Image class. It lets you load and save images. You can use the Graphics.FromImage() to return a graphics object that will let you draw another graphic onto an existing image. These steps should get you there once you've discovered the details enabling the transparency.