Calling all database gurus, especially those who have been involved in running master/slave replicated sites before. We have an important decision yet to make regarding the database layer and we have a limited amount of time left in which to make it: Specifically, just how extensively are we going to use our new integrates master/slave replication capabilities. Discussion here: http://groups.drupal.org/node/27820 </commercial> -- Larry Garfield larry@garfieldtech.com
i have a variable with 3 node types as value, where only 2 are selected... in the variable the valua are saved as $type=>type how can i obtain the $type=>name?? i have: ask. i need: Do a Ask. how can i obtain the name of only some node types?? thks in advanced.
Either call node_get_types('name', $type) once for each node type or call $names = node_get_types('names') and pick out the particular names by their key $name[$type] andrew On Tue, Sep 29, 2009 at 9:41 AM, Aldo Martinez Selleras <aldo@caonao.cu> wrote:
i have a variable with 3 node types as value, where only 2 are selected...
in the variable the valua are saved as $type=>type
how can i obtain the $type=>name??
i have: ask. i need: Do a Ask.
how can i obtain the name of only some node types??
thks in advanced.
thks, was to lose a lot of hair with this :D thks very much.
may theme a UL object?? theme('table',$header,$rows) i want to change one table for a ul! there is a pager and i want to keep thks in advanced
Use theme('item_list') : it allows you to theme a ul or ol. ________________________________________ De : development-bounces@drupal.org [development-bounces@drupal.org] de la part de Aldo Martinez Selleras [aldo@caonao.cu] Date d'envoi : mercredi 30 septembre 2009 14:02 À : development@drupal.org Objet : [development] theming a UL may theme a UL object?? theme('table',$header,$rows) i want to change one table for a ul! there is a pager and i want to keep thks in advanced
Sorry but this is a support question and should be directed to the forums, or #drupal-support on irc. On Wed, Sep 30, 2009 at 5:02 AM, Aldo Martinez Selleras <aldo@caonao.cu>wrote:
may theme a UL object??
theme('table',$header,$rows)
i want to change one table for a ul!
there is a pager and i want to keep
thks in advanced
-- ~Jerad Bitner CTO ~ Rapid Waters Development http://rapidwatersdev.com
On Wed, Sep 30, 2009 at 9:51 AM, Jerad Bitner <sirkitree@gmail.com> wrote:
Sorry but this is a support question and should be directed to the forums, or #drupal-support on irc.
I *really* wonder where did people get this nonsensical idea that coding belongs to #drupal-support. Really, people where did you read this, I want to correct the documentation.
theme('table',$header,$rows) i want to change one table for a ul! there is a pager and i want to keep
Well, use theme('item_list'). I hope you were not using tablesort features in $header ...
participants (6)
-
Aldo Martinez Selleras -
andrew morton -
fgm -
Jerad Bitner -
Karoly Negyesi -
Larry Garfield