Hello community I want that the user can select at the footer the language. So I found the language code in ossn/components/ossnprofile/plugins/default/forms/ossnprofile/edit.php
I added this code in to the footer ossn/themes/goblue/plugins/default/theme/page/elements/footer.php
<label><?php echo ossn_print('language');?></label>
<?php
//profile edit form shows wrong default language #546
$userlanguage = ossn_site_settings('language');
echo ossn_plugin_view('input/dropdown', array(
'name' => 'language',
'value' => $userlanguage,
'options' => ossn_get_installed_translations(false),
));
?>
</div>
So I can now select a language but this will not save automatically how I can make that after I change language that saves automatically?
Hmm okay. But when I add this after
</div>
<input type="submit" class="btn btn-primary" value="<?php echo ossn_print('save'); ?>"/>
I see the buttton save but nothing will be saved/changed. Do you have a solution ?
Hello Fatih Bayram, I think OSSN didn't supported the cookies and the default language selection automatically.
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)