Page Title

More
13 years 1 month ago #19582 by openg
Replied by openg on topic Page Title
Excellent :0)
Would something like this be able to fetch the current category as well?

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #19618 by ggppdk
Replied by ggppdk on topic Page Title
For current category you could query the jos_categories table directly to get what you need:
Code:
if (JRequest::getVar('option')=='com_flexicontent' && JRequest::getVar('view')=='category' ){ $catid= JRequest::get('cid'); $query = "SELECT * FROM #__categories WHERE id = '$cid'"; $db->setQuery($query); $catdata = $db->loadObjectList(); if($db->getErrorNum()) { echo $db->getErrorMsg(); } else { echo "Category Title: ". $catdata->title; echo "Category Description: ". $catdata->description; // etc // etc } }


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #19693 by igcorreia
Replied by igcorreia on topic Page Title
Please consider do this for description and keyword for SEO purposes.

I have this in my TO DO LIST. your help would be greatfull.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #19696 by ggppdk
Replied by ggppdk on topic Page Title
1. mmm , do what? Add something to some template layout?

2. This recent post maybe have some useful code:
www.flexicontent.org/forum/index ... =viewtopic
have you seen it?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.408 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline