Showing cached pages differently per user.

What is the best way of doing this?

I have a overlay over a video player saying you must register to view. Once you click the button it takes you to another site, that is basically a form. Once you fill out the form it stores a cookie that you filled out the form and redirects you to the page but this time the overlay over the video is gone and you can view the video. Also when you view another video it also goes to the other site but this time it finds the cookie so the user does not have to fill out the form.

Images disappear after migration from Xampp to Web

This is not causing a massive issue, but I wondered if anyone else has this problem?
When I migrate a site from my PC (using xampp) , to the web, I seem to lose images that are imbedded into the node , the images that are in proper image fields are fine, but those that are images inserted into the node along with text (above/below) are lost, its like as if drupal knows they are there because there is a 'frame' or 'footprint' there, but they are not displayed, like its lost the link to the image in some way. I have to reinsert them again using the editor.

How to do Single Sign On functionality using CAS module in Drupal 7?

Please go through these three requirements and help me with possible solutions. In Drupal 7, If I created an Account with username 'xyz' and password 'abc' for www.examplesite.com. Also I have sub-domain www.sub.examplesite.com.
1) How to maintain only "User Account Registration Table" common for both websites?
2) If I login to main site and if I open a subdomain website in another window then it should automatically Logged in?

Direct link to own content

I want put in the user menù a link to bring him to his own contents.
I tried with

/track
*/track
/*/track
user/*/track
/user/*/track

not al all, bad luck

some help?

iDEAL

This guide is about iDEAL v2 configuration. As of mid 2014 iDEAL switched to v3 so this information is now obsolete.

The iDEAL module enables you to implement the iDEAL payment system in your Drupal site. Due to the differences between banks, this can be quite a confusing process. This page aims to take some of that confusion away.

ABN AMRO's iDEAL Zelfbouw

Add a new acquirer with the following details:
Production server URL: https://abnamro.ideal-payment.de/ideal/iDeal
Testing server URL: https://abnamro-test.ideal-payment.de/ideal/iDeal
Path to public certificate file: Relative path to a key file containing the following key

-----BEGIN CERTIFICATE-----
MIICNjCCAZ8CBE7cwXswDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMCREUxDzANBgNVBAgTBkhl
c3NlbjESMBAGA1UEBxMJRnJhbmtmdXJ0MQ4wDAYDVQQKEwVpREVBTDEOMAwGA1UECxMFaURFQUwx
DjAMBgNVBAMTBWlERUFMMB4XDTExMTIwNTEzMDQ1OVoXDTEzMTIwNDEzMDQ1OVowYjELMAkGA1UE
BhMCREUxDzANBgNVBAgTBkhlc3NlbjESMBAGA1UEBxMJRnJhbmtmdXJ0MQ4wDAYDVQQKEwVpREVB
TDEOMAwGA1UECxMFaURFQUwxDjAMBgNVBAMTBWlERUFMMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB
iQKBgQDLsNWtfGiSS9RWj6tDiDHbgdtExfZF4FnhCSbSPc0IK1J9Wbgwa26UV4NWi+kEEv8O72mb
j9arP0Z+KAbk1ErXxWkeSHTSeZkCn1mC4CnD1TIPCPDAL/Kf4qpJMA6enPbQh6y/0neg+9yPiChd
45VxDkBCf2raDiF8XTDqPs9QYQIDAQABMA0GCSqGSIb3DQEBBAUAA4GBADEVrPUYOaB+xTYPJUrl

Weird rendering after hook_views_pre_render()

Hello everyone,

I'm using hook_views_pre_render() to filter out some results from a view but I'm getting a weird result.
Without applying the hook_views_pre_render() this is the correct result that I get (NOTE: this screen is taken with the view pager set to 4 items):

PRE_HOOK

And this is what I get after applying the hook_views_pre_render() (NOTE: this screen is taken with the view pager set to 5 items because the hook filters one out so, after the hook, it should still render 4 item)

POST_HOOK

As you can see there is a very weird hole where the third element is supposed to be. I don't think it's a html / css issue because I checked it very carefully and I didn't change it between the two screens. The markup seems totally fine, using firebug I can't even explain how the browser could have rendered that hole. Here is my hook_views_pre_render():


function notizie_post_filter_views_pre_render(&$view) {
if($view->name == "sommario_notizie" && !empty($view->result)) {
$row_removed = false;
foreach($view->result as $i => $row) {
if($row->field_field_notizia_principale[0]["raw"]["value"] && !$row_removed) {
// deleting the unwanted result

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x