Search found 4 matches

by nimzie
Thu Dec 13, 2007 12:10 pm
Forum: Joomla! Coding 101
Topic: Accessing / checking something in com_content...
Replies: 3
Views: 2706

Re: Accessing / checking something in com_content...

I am still checking this out. I find it odd that I am having a hard time with this. In content.html.php - in the show function... I want to ask if show title for the article is on .. if so, do something. How hard can that be? ... hmm... well, I haven't figured it out yet. $params->get gets me the pa...
by nimzie
Tue Dec 11, 2007 3:56 pm
Forum: Joombie Coding Q/A
Topic: Checking if page show title option is on..
Replies: 0
Views: 401

Checking if page show title option is on..

I had a thread in the main coding forum with no luck in a couple of days and noticed this room.. Maybe someone can check it out?

http://forum.joomla.org/index.php/topic,241957.0.html

Thanks :)

Adam
by nimzie
Tue Dec 11, 2007 12:51 pm
Forum: Joomla! Coding 101
Topic: Accessing / checking something in com_content...
Replies: 3
Views: 2706

Re: Accessing / checking something in com_content...

I tried this: $istitle = $row["item_title"]; echo 'istitle is ..... ' . $istitle; exit; and got this. Fatal error: Cannot use object of type stdClass as array in C:\xampp\htdocs\xampp\joomla\components\com_content\content.html.php on line 826 if I output: $istitle = $row->item_title; echo 'istitle i...
by nimzie
Mon Dec 10, 2007 12:40 pm
Forum: Joomla! Coding 101
Topic: Accessing / checking something in com_content...
Replies: 3
Views: 2706

Accessing / checking something in com_content...

I've changed my output for the most part to be semantically correct within com_content. Trying to stick to the basic H / P tags for formatting and keeping things in tidy DIVs. So, with that - I want to change the function "show" in content.html.php. I want to basically ask: Is the "show title on" If...