go41

Display rss feed titles reverse – thread title • forum name

von Joern am 9. Jun. 2013 | Keine Kommentare

I didn’t like the display of the phpBB feed titles like *Forum Name* • *Post Name*

What I prefer is first the post name and behind the forum name like

change the title tag in phpBB • phpBB MODs

to get this display you have to edit feed.php in your forum root directory

find:
Code:

      $item_row['title'] = (isset($row['forum_name']) && $row['forum_name'] !== '') ? $row['forum_name'] . ' ' . $this->separator . ' ' . $item_row['title'] : $item_row['title'];

replace with:

Code:

//      $item_row['title'] = (isset($row['forum_name']) && $row['forum_name'] !== '') ? $row['forum_name'] . ' ' . $this->separator . ' ' . $item_row['title'] : $item_row['title'];
      $item_row['title'] = (isset($row['forum_name']) && $row['forum_name'] !== '') ? $item_row['title'] . ' ' . $this->separator . ' ' . $row['forum_name'] : $item_row['title'];

for all four different feeds you find the same line four times in this file – so replace it 4 times.

I just uncommented the original code and used the new one below, you can see easily the changes

(von: f-t-cat)

Hier noch 1 weitere Ergebnisse dieses Threads:

Re: Display rss feed titles reverse – thread title • forum name :: Reply by master

7. Mrz. 2015 (von: master)

this mod doesn't work in phpBB 3.1.x anymorefeed.php is much shorter and you have to edit other source files to display the feed titles reverse.Anyone knows an extension for current phpBB 3.1.3 to change feed topic titles??____________________you find ... Weiterlesen…

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: