When the PayPal block is enabled, the page title (node) is substituted for the subscription name.

Happens only when user is logged in. Does not happen with anonymous user

I am using a slightly modified 'interactive_media' theme and it occurred to me that I may have damaged my page.tpl.php file giving rise to the error. Therefore I have checked the situation using the standard Garland theme and can report the same error.

Screenshots:
http://www.mrpauldriver.com/images/Screenshot_1.jpg
http://www.mrpauldriver.com/images/Screenshot_2.jpg

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MrPaulDriver’s picture

Priority: Normal » Critical
lyricnz’s picture

Priority: Critical » Normal

This is not critical

MrPaulDriver’s picture

Apologies for misunderstanding of protocol, I'm new to this.

Are you able to confirm as a bug or error on my part.

lyricnz’s picture

It seems likely you are right - I vaguely recall some code that sets the page title when it probably shouldn't. Which LM Paypal block are you talking about? (PS: none of the module maintainers are very active right now - we are relying on the community to provide patches for any reported defects)

MrPaulDriver’s picture

It is the standard block that is bundled with the module.

Screenshot: http://www.mrpauldriver.com/images/Screenshot_4.png

Note also that some tags appear in the block name

lyricnz’s picture

Status: Active » Fixed

lm_paypal consists of several modules - both the donations module, and the subscriptions module, provide blocks.

I've applied an (ugly) fix to 6.x-2.x-dev (wait until the tgz is rebuilt if you're not using cvs). http://drupal.org/project/cvs/88100

MrPaulDriver’s picture

Thank you. I'll look out for the tgz file

lyricnz’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sahaj’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev
Component: Code » LM Paypal Subscriptions

This issue seems to happen again with the D7 version and the LM Paypal Subscriptions module.

Maybe the D6 fixe can be updated?

sahaj’s picture

Status: Closed (fixed) » Active

I have commented out the line 73 of the 'lm_paypal_subscriptions.pages.inc' file:

drupal_set_title(t('Subscription @name', array('@name' => $so->item_name)), PASS_THROUGH);

and the problem disappears... but I'm doubting that this should be the right solution ;)

fleclerc’s picture

Status: Active » Patch (to be ported)
FileSize
3.71 KB

Patch attached.

adding an option in /admin/config/lm_paypal/subscriptions_settings to set the title or not.

thanks