[solved] Debug on display with CGUserDirectory

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
Masweb
Forum Members
Forum Members
Posts: 173
Joined: Sat May 09, 2009 4:26 pm

[solved] Debug on display with CGUserDirectory

Post by Masweb »

Using CGUserdirectory on a website and want to use the action search.

{CGUserDirectory action="search" searchproperty="bedrijfsnaam"}

The searchproperty is "bedrijfsnaam"

If I test this I get the next code on my display.
What does this mean and how get I get rid of it?


Gebruikersnaam

Debug: (0,303456) - (usage: 11046284) - (peak: 11071440)
Number of elements: 2
Array
(
[fielddefn] => Array
(
[name] => bedrijfsnaam
[prompt] => Bedrijfsnaam
[type] => 0
[length] => 80
[maxlength] => 255
[attribs] => a:0:{}
[force_unique] => 0
[encrypt] => 0
[extra] =>
)

[fieldtype] => text
)
Debug: (0,303456) - (usage: 11046284) - (peak: 11071440)
Number of elements: 2
Array
(
[fielddefn] => Array
(
[name] => bedrijfsnaam
[prompt] => Bedrijfsnaam
[type] => 0
[length] => 80
[maxlength] => 255
[attribs] => a:0:{}
[force_unique] => 0
[encrypt] => 0
[extra] =>
)

[fieldtype] => text
)
Bedrijfsnaam:
Last edited by Masweb on Sat Mar 23, 2013 3:19 pm, edited 1 time in total.
Masweb
Forum Members
Forum Members
Posts: 173
Joined: Sat May 09, 2009 4:26 pm

Re: Debug on display with CGUserDirectory

Post by Masweb »

Tss... Never mind. Found it!

Just remove {$data|@debug_display} from the template.
Post Reply

Return to “The Lounge”