Handling slave servers

View: New views
8 Messages — Rating Filter:   Alert me  

Handling slave servers

by Larry Garfield :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...

node_get_types question

by Aldo Martinez Selleras-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Re: node_get_types question

by andrew morton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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.
>

Re: node_get_types question THKS

by Aldo Martinez Selleras-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thks,

was to lose a lot of hair with this :D

thks very much.

theming a UL

by Aldo Martinez Selleras-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

RE : theming a UL

by FGM :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Use theme('item_list') : it allows you to theme a ul or ol.
________________________________________
De : development-bounces@... [development-bounces@...] de la part de Aldo Martinez Selleras [aldo@...]
Date d'envoi : mercredi 30 septembre 2009 14:02
À : development@...
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

Re: theming a UL

by Jerad Bitner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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

Re: theming a UL

by Karoly Negyesi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 30, 2009 at 9:51 AM, Jerad Bitner <sirkitree@...> 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 ...