Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/30/2012 in all areas

  1. Here's another way you could go: $siblings = $page->siblings('publish_date<' . time()); if(($prev = $page->prev($siblings)) && $prev->id) echo "..."; if(($next = $page->next($siblings)) && $next->id) echo "...";
    2 points
  2. That additional settings field is where you can specify any additional TinyMCE settings that PW doesn't have dedicated config options for. These are the TinyMCE settings it's referring to: http://www.tinymce.com/wiki.php/Configuration So you could put this one one line in that additional settings field, as an example of specifying the theme_advanced_styles option in TinyMCE: theme_advanced_styles:Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1
    1 point
  3. Thanks for finding that Diogo. It looks like it was not yet multi-site aware. I have just updated it so that it should be now.
    1 point
  4. So the only thing that's not working is changing the link (and link content), right? If that's the case and you only have two languages, something as simple as this should do the trick: <?php $lang = ( $user->language->name == "finnish" ) ? "default" : "finnish"; echo "<a href='./?language={$lang}'>{$lang} flag</a>";
    1 point
×
×
  • Create New...