1
zivXP
Publisher - change the "title" tag
  • 2023/3/7 12:13

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


I want to change the <title> tag.
Currently, the "title" from the article is displayed in the meta <title>. How do I display "subtitles" in <title>?
How to do it in Metagen.php ?

2
heyula
Re: Publisher - change the tag
  • 2023/3/7 17:52

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


If you enter the metadata in the other tab of the publisher while adding the article, you will get what you want.

Resized Image


Resized Image

3
zivXP
Re: Publisher - change the "title" tag
  • 2023/3/7 18:44

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


It is difficult to explain this correctly through a translator.
I want to change <title>wgFaker Released for Testing - XOOPS Modules - Publisher - XOOPS Web Application System</title>
Replace the data "subtitle" pages of the module "publisher" there.
This is necessary for SEO.

4
zivXP
Re: Publisher - change the tag
  • 2023/3/9 10:33

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Maybe it will be clearer this way
Resized Image

5
Mamba
Re: publisher
  • 2023/3/12 3:20

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Why would you like to have a subtitle instead of a title for SEO?
What's the advantage for SEO?
And why not just change the title, so it has what you want to have, instead of putting the desired text into subtitle?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

6
zivXP
Re: publisher
  • 2023/3/12 6:31

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


I would like to separate the title of the text from < title >.
This is done in most CMS.
Working with SEO specialists, I received tasks in such a way that there were different data in these fields.
The Yandex search engine manual states that the page names should be unique and should not be repeated. And that's why I make the headlines of articles on the XOOPS platform not for the visitor, but for SEO. I would like to share this.

In general, a lot has been done in the XOOPS platform without taking into account the real needs of site editors. Made by programmers for programmers. I think this is the reason for the weak popularity of XOOPS.
A more flexible approach would not hurt.

Resized Image

7
zivXP
Re: publisher
  • 2023/6/6 18:41

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


For better use in SEO, I made a conclusion in the information <title> from the "subtitle" field

item.php line 233

/** Generating meta information for this page
* old code
$publisherMetagen = new PublisherMetagen($itemObj->getVar('title'), $itemObj->getVar('meta_keywords', 'n'), $itemObj->getVar('meta_description', 'n'), $itemObj->getCategoryPath());
$itemObj->getCategoryPath()) - delete
 */
if ($itemObj->getVar('subtitle')) {
$publisherMetagen = new PublisherMetagen($itemObj->getVar('subtitle'), $itemObj->getVar('meta_keywords''n'), $itemObj->getVar('meta_description''n'));
} else {
$publisherMetagen = new PublisherMetagen($itemObj->getVar('title'), $itemObj->getVar('meta_keywords''n'), $itemObj->getVar('meta_description''n'));
}

8
Mamba
Re: publisher
  • 2023/6/12 23:53

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Thanks for sharing!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

9
svenhard
Re: publisher
  • 2023/9/20 15:02

  • svenhard

  • Just popping in

  • Posts: 1

  • Since: 2023/9/20


I apologize if this is the wrong place to post this. I've been trying to locate recent conversations about implementing an image slider directly into the Publisher module, but all discussions seem to be referencing older versions of XOOPS.

I'm building a comic strip website and I ultimately want each post to have single panel images that can be swiped like an Instagram post. I currently have a responsive CSS carousel that I could manually enter as code into an article post, but that is messy and time consuming.

So, I just wanted to know if this has been successfully implemented before I invest a lot of time doing dev work someone else already did.

10
Mamba
Re: publisher
  • 2023/10/1 2:08

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


If it worked in an older XOOPS version, then it's a good chance that it will work with the current version, with eventually small adjustments.

Please share the links you were looking at...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

98 user(s) are online (58 user(s) are browsing Support Forums)


Members: 1


Guests: 97


Heil,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits