[Typo3] Kickstarter problem

Grunde Løvoll grunde at freecode.no
Mon Oct 24 10:38:21 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My fault!

I had inserted the categories earlier in the proses and the view page
pid had changed while the pid of the categories was unchanged...

Sorry.

The debug(); question is still open though.

Grunde

Grunde Løvoll wrote:
> Hello,
> 
> I've watched Kaspers wonderful movie where he uses the kickstarter to
> create an extension for his CD list. Based on this examle I'm trying to
> create my own similar extension.
> 
> Here is my problem:
> I can not render the categories properly. My mysql table name is:
> tx_kccbase_category
> Here is my SQL/php code:
> 
> # The query to get the fetch the category
> $my_query = 'SELECT * FROM tx_kccbase_category WHERE
> pid='.intval($GLOBALS["TSFE"]->id).$this->cObj->enableFields(tx_kccbase_category);
> debug(array($my_query));
> $res = mysql(TYPO3_db, $my_query);
> 
> # Iterate over the result set and fill the categoryCashe
> while($row = mysql_fetch_assoc($res)){
>   $this->categoryCashe[$row['uid']] = $row;
> }
> 
> ---
> The catecoryCashe is defined as earlier as in Kaspers example. The query
> retun no result and I'm not able to fetch the name of the categories.
> 
> Further: the debug(); call do not work.
> 
> Any idea why this don't work? I'm using the latest version of Typo3 and
> the kickstarter, have the api changed?
> 
> Regards,
> Grunde
> 
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

- --
Grunde Løvoll
Konsulent - Fri Programvare
FreeCode AS
Gaustadalleen 21
0341 Oslo
mob. +47 47 34 40 05
tlf. +47 21 53 69 00
e-post. grunde at freecode.no
http://www.freecode.no/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDXJzbKYgDwJX1vxwRAryzAJ4+W65No/8GTbGJwZDa/M2EviT1YwCgr/gV
jrYGLZIBPyOZ4bAC+KfGH6o=
=Fzhs
-----END PGP SIGNATURE-----



More information about the TYPO3-english mailing list