How to get tag name as variable on tag view page?

More
6 years 9 months ago - 6 years 9 months ago #72144 by lipatovroman
Hello!
How to get current tag name as variable on tag view page?
Thanks.
Last edit: 6 years 9 months ago by ggppdk.

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

More
6 years 9 months ago #72161 by ggppdk
Hello

already commited it

inside our layouts of our templates
it will be
Code:
$this->tag->name

FLEXIcontent tag data
Code:
$this->tag->*

Joomla tag data
Code:
$this->tag->jtag->*


-- 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
6 years 9 months ago #72163 by lipatovroman
So, if I need to get Description from Joomla Tag, I should use
Code:
$this->tag->jtag->description

Correct?

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

More
6 years 9 months ago - 6 years 9 months ago #72164 by lipatovroman
Yes, it works -
Code:
$this->tag->jtag->description;

but how to get Meta Keywords and Meta Description?

Also, can't get how to change tag text for breadcrumbs.
I should edit view.html.php?
Last edit: 6 years 9 months ago by lipatovroman.

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

More
6 years 9 months ago #72168 by lipatovroman
Ok, got it
Code:
$this->tag->jtag->metadesc

I only need last thing about tags - change tag text for breadcrumbs.

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

More
6 years 9 months ago - 6 years 9 months ago #72169 by lipatovroman
Ok, got it.
Right in FC layout
Code:
$pathway = $app->getPathway(); $pathway->setPathway($array); $pathway->addItem($myvariable);
Last edit: 6 years 9 months ago by lipatovroman.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.836 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