I should be easy, but how would one display a block conditional upon the value of an existing db value?
For example, block X should be visible when the value from a webform entry (such as: $webform['X']['value'][0]) is below 5, yet not visible otherwise.
Seems to me the simple approach would to set the block to always be visible, but then evaluate some PHP within the block as to whether output is printed or not. If so, this is where I lack. I do not know how to call values from the db to evaluate.
Hi i wanted to add an image reflection to the article field
ive been looking for hours and it doesnt appear to have a module to allow this for drupal 7
the next possibilty i could use is javascript.. does anyone know the code to apply a simple
reflection under the image.. please dont post links to views_image__flow because thats not what im after.
all i want is to apply a reflection to the .field-type-image area of my articles
..
is this possible? i am a noob to coding so please be gentle :D
I'm running a blog on a D7 site with a theme downloaded from d.org (Samara). As it is a personal blog, it is important being able to navigate to older posts. This is typically made by a "pager", a set of links that help you get the second, third, ... last group of posts that went through the main page or shown in a certain view (both default term views or custom ones).
My template is missing this pager and I'm not finding how to print it, I can't find what's the name of the function/variable i need to call.
Yesterday I started working on my first Drupal Module. I was actually pretty surprised by how easy it seems - even with some pretty complicated documentation.
It is a really simple module where in the back end you can select your availability status, then your selection shows in a nice graphic inside a created block. So far I have been able to create an admin configuration page and a block for my module and it is working perfectly.