Jump to content


Photo
- - - - -

Change Flipper "view" text

flipper text view

  • Please log in to reply
10 replies to this topic

#1 BentleyD

BentleyD

    Super Member

  • Members

  • 137 posts
  • Framework Version:dms
  • Country: Country Flag

Posted 26 October 2013 - 10:15 AM

Hey guys,

 

How can I change the "view" text on the flipper. I've inspected the element but I cant seem to find where that text lies. Can you help?



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 26 October 2013 - 02:32 PM

Hi,

 

In the latest version of Flipper, there's a part called Flipper Title Text.  Change that and if you don't want View Blog, you can hide it by checking "Hide link".



#3 BentleyD

BentleyD

    Super Member

  • Members

  • 137 posts
  • Framework Version:dms
  • Country: Country Flag

Posted 26 October 2013 - 05:26 PM

@Rob the flipper title text refers to the title in the left corner. What I am referring to is the text that appears when you hover over the box. It says view and I want it to say listen. How can I achieve this?



#4 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 26 October 2013 - 06:02 PM

The string is translatable, you can use a translation plugin, or follow the old howto: http://forum.pagelin...ng-with-poedit/



#5 BentleyD

BentleyD

    Super Member

  • Members

  • 137 posts
  • Framework Version:dms
  • Country: Country Flag

Posted 26 October 2013 - 06:07 PM

You're telling me I have to do offline PHP work to change it to say Listen? That seems pretty drastic. What's another option?



#6 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 26 October 2013 - 06:23 PM

No you have 2 choices...

 

Either copy the section and edit the PHP, then you locked into never getting updates for that section...

 

Or, use the link i posted to create a translation file that changes that 1 word, no php will be edited...



#7 BentleyD

BentleyD

    Super Member

  • Members

  • 137 posts
  • Framework Version:dms
  • Country: Country Flag

Posted 26 October 2013 - 06:49 PM

First of all there is no customize file in DMS also no pagelines.pot file , second of all how can I not just pick a selector and change the text?



#8 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 26 October 2013 - 07:04 PM

http://www.pagelines...s-customize.zip

The customise plugin

 

Its dms.pot, the writeup was done for pagelines framework not dms, but is basically the same.

 

You could probably change it with CSS or jQuery but that is not my strong point. 



#9 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 26 October 2013 - 07:11 PM

There is a dms.po file in 1.1.1 located in the /language folder.

 

I believe this is what's in it:

#: ../sections/flipper/section.php:266
#: ../sections/postloop/class.posts.php:505
msgid "View"
msgstr ""
 

 

However, if you edit the dms.po file and leave it in the /languages folder, on the next upgrade, your change would be lost.

 

As Simon points out, you can create a /language folder in the pagelines-customize plugin, and upload that file there. 



#10 BentleyD

BentleyD

    Super Member

  • Members

  • 137 posts
  • Framework Version:dms
  • Country: Country Flag

Posted 26 October 2013 - 07:20 PM

en_US.mo
en_US.po
readme.txt
 
This is all that is in the DMS Languages folder?


#11 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 26 October 2013 - 07:33 PM

What version are you using, there is about 10 files in that dir https://github.com/p...ee/1.1/language







Also tagged with one or more of these keywords: flipper, text, view