Login

Who's Online

Google








Home arrow Programmingarrow Joomla Extensionsarrow Category Menu
Discussion Forum
January 09, 2009, 02:57:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Category Menu  (Read 2022 times)
Felipe
Newbie
*
Posts: 6


View Profile Email
« on: July 22, 2007, 09:43:27 PM »

I am using the Bib Tex, for which I created a menu of categories. The module of the menu must be visible in all the pages of the component, however, when use the buttons “next” or “prev”, or when I change the exhibition order (author asc, for example), the menu of categories is not shown… some idea? This is a problem of the Joomla or the component?
Logged
Felipe
Newbie
*
Posts: 6


View Profile Email
« Reply #1 on: July 22, 2007, 11:24:19 PM »

PS: I Already solved the menu problem (by adding the value of corresponding itemId in the buttons). What I didn't get yet is to keep the name of the category in componentheading…
Logged
Mark Austin
Administrator
Full Member
*****
Posts: 101



View Profile Email
« Reply #2 on: July 23, 2007, 07:38:15 AM »

Is your site available online?  Could i have a look?  There are some improvements relating to this problem that I should make before the next release
Logged
Felipe
Newbie
*
Posts: 6


View Profile Email
« Reply #3 on: July 23, 2007, 12:11:44 PM »

Sure! The site is under construction, so…
www.danielloebmann.com.br/portal
(I'm using only the manual data entry of Bibtex).
By the way, is it possible to edit a reference category?:
Logged
Felipe
Newbie
*
Posts: 6


View Profile Email
« Reply #4 on: July 24, 2007, 03:00:51 AM »

Now it is ok...
Code:
HTML_jombib::showTable($data,$lists,$pageNav,$sets,$catId,$catName);
}


/**
* Display Table of items
*/
function showTable($data ,$lists,$pageNav,$sets,$catId,$catName) {
global $mosConfig_live_site,$my;
//adicionamos &Itemid=40 ao link para que o menu de categoria permaneça apos aplicar o filtro
if($catName == "Produção Bibliográfica"){$item_id = "56";}
if($catName == "Produção Técnica"){$item_id = "57";}
if($catName == "Produção Artística/Cultural"){$item_id = "58";}
if($catName == "Demais trabalhos"){$item_id = "59";}
if($catName ==""){$item_id = "40";}

$link = "index.php?option=com_jombib&Itemid=$item_id";
and so on...
« Last Edit: July 25, 2007, 01:29:57 AM by Felipe » Logged
Mark Austin
Administrator
Full Member
*****
Posts: 101



View Profile Email
« Reply #5 on: July 25, 2007, 12:16:58 PM »

Nice fix, I will make sure the next release includes something like this.  you could produce the same result without needing to rewrite each time you add a category just with the line:

$link = "index.php?option=com_jombib&Itemid=$catId";
Logged
Dominique
Newbie
*
Posts: 3


View Profile Email
« Reply #6 on: August 14, 2007, 08:15:52 PM »

Hi and thxs for your work

I search the mean to create category in my bilbiography. I 've read this topic but i don't understand wich file i've to modified

Thks for you help in advance Smiley
Logged
Dominique
Newbie
*
Posts: 3


View Profile Email
« Reply #7 on: August 18, 2007, 04:01:14 PM »

So Smiley

i've modified the Jombib.html but with no great success. I can't select a category when I add a bibtext

an idea ?
Logged
Dominique
Newbie
*
Posts: 3


View Profile Email
« Reply #8 on: August 26, 2007, 11:33:00 AM »

thx for your help rosa Smiley

when i paste your lines into Jombib.html file, i obtain an error unexpected T_function
Logged
rosa
Newbie
*
Posts: 2


Salito is my life

rluzmari@hotmail.com
View Profile Email
« Reply #9 on: August 27, 2007, 04:57:20 PM »

So, look at.
In this lines into jombib.html.php, you declare as global $Itemid

function showTable($data ,$lists,$pageNav,$sets,$catId,$catName) {
   global $mosConfig_live_site, $Itemid, $my;

Then replace all next string:

"index.php?option=com_jombib&catid=$catId"

whit

"index.php?option=com_jombib&Itemid=$Itemid"

It worked for my.
« Last Edit: August 27, 2007, 10:51:12 PM by rosa » Logged
Mark Austin
Administrator
Full Member
*****
Posts: 101



View Profile Email
« Reply #10 on: August 28, 2007, 12:51:25 PM »

Dominique.  If all that you are trying to do is use the categories, you are in the wrong post.  This page is dealing with a bug which has been fixed in the latest version.  To use categories read the readme or the manual, and failing that send me an e-mail and I will explain it to you.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.1 | SMF © 2006, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
© 2009 Everything That I Know About