can this module alter the Sticky | Not sticky labels

artatac - May 19, 2009 - 19:08
Project:String Overrides
Version:6.x-1.7
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

can this module alter the Sticky | Not sticky labels

#1

artatac - May 20, 2009 - 07:07

Sorted - for those who may hit a similar problem, - I has it working well on my local host but when I uploaded the site to the net I overwrote settings.php with a standard one configured for my webhost (thus losing the fasttoggle settings)

#2

Rob Loach - May 20, 2009 - 13:40

What did you stick in the override?

#3

artatac - May 21, 2009 - 10:36

Hi Rob
just

$conf['fasttoggle_labels'] = array(
  'node_sticky' => array(0 => ' | no surplus yet... | ', 1 => ' | SURPLUS NOW!! | '),
);

see http://174.36.153.137/~sheltho3/fruit/plums/victoria-plums

regards

joe

#4

Rob Loach - August 7, 2009 - 15:33
Status:active» fixed

You'd need to stick them in a t() function!

<?php
$conf
['fasttoggle_labels'] = array(
 
'node_sticky' => array(0 => t(' | no surplus yet... | '), 1 => t(' | SURPLUS NOW!! | ')),
);
?>

#5

System Message - August 21, 2009 - 15:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.