Jump to content


Photo
- - - - -

lang in navbar


  • Please log in to reply
2 replies to this topic

#1 jankowalski

jankowalski

    Advocate

  • Members
  • 353 posts
  • Country: Country Flag

Posted 30 August 2014 - 02:38 AM

how do i add simple link to  diferent anguage after search field in navbar?

didn t find any hook for that



#2 batman

batman

    Bat Learning

  • Members

  • 2167 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 30 August 2014 - 11:17 AM

HI @

Please Login or Register to see this Hidden Content

I find in this

Please Login or Register to see this Hidden Content

The

pagelines_navbar_before_search

Perhaps this is the hook you need

 



#3 antipodes

antipodes

    Advanced Member

  • Members

  • 61 posts
  • Framework Version:DMS 2.1.5
  • Country: Country Flag

Posted 30 August 2014 - 02:53 PM

@

Please Login or Register to see this Hidden Content

,

 

Do you mean, so that the search will search the target language selected on the navbar(assuming the use of wpml), I just tried this and the search seems to always default to english, resulting in no hits, but then if you hit the target language again in the search bars, it's found after all.  ..but this behaviour occurs, either with or without DMS. It's a WPML bug to my mind.