Author Topic: Category name in the category view and detailed view  (Read 1309 times)

0 Members and 1 Guest are viewing this topic.

Offline dijam

Category name in the category view and detailed view
« on: 03. July 2009, 23:13:07 »

Not sure if I am missing something but it doesn't show the name of the category for an entry neither in category view or in detailed view. That should be an obvious thing to see when you enter a category or when your viewing a listing (entry). Should be in BOLD somewhere. how do I get that to show the name of the category in the category view or detail view that the listing belongs to?

thanks,
Dijam
Country: Sweden Sweden |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline Syrinx

Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

Offline dijam

Re: Category name in the category view and detailed view
« Reply #2 on: 05. July 2009, 16:07:55 »

Thanks.
I added the php lines as instructed on that site but nothing happens. what am I doing wrong?

I added these two lines to the V card template:

<?php $mySobi = new sobi2( $id ); ?>
<?php echo HTML_SOBI::getMyCategories($mySobi, true);?>

I tried to have them in different places in that file, inside the function and outside the function but nothing seems to work.

Any ideas, any body, please, this is of critical matter for me. Thanks. /Dijam
Country: Sweden Sweden |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline Poffen

  • SOBI Team
  • Moderator
  • Sobi Hero
  • *
  • Posts: 2296
  • Reviews:

    What is it?

Re: Category name in the category view and detailed view
« Reply #3 on: 05. July 2009, 16:50:23 »
Hi dijam,

Have you set "Use the Template instead of the Standard Function" to "Yes" (Template & CSS >> V-Card Template)


Poffen
Joomla - 1.5.7, Sobi2 - 2.9.0.1
PHP - 5.2.4, MySQL - 5.0.51a, Apache - 2.2.8, Firefox - 3.0.3
Country: Norway Norway |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline dijam

Re: Category name in the category view and detailed view
« Reply #4 on: 06. July 2009, 15:33:16 »

How could I miss that? must have gone blind of the stress :)

Many many thanks Proffen!

/Dijam
Country: Sweden Sweden |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Tags: