Custom Site Pages Download 1.3

This component/theme works with latest OSSN version.
5.0
Indonesian Arsalan Shah 3 years ago

Add a custom page for your website. You may use menu builder component to link those pages to any menu.

Custom Page
Custom Page View

Comments
Welsh Thomas Nikidiotis Replied 1 week ago

So to make my own page with php, js and html code i ned to set up my custom component??

Breton Rafael Amorim Replied 1 week ago

Thanks

Indonesian Arsalan Shah Replied 1 week ago

Done

Breton Rafael Amorim Replied 1 week ago

@Thomas
What kind of php code inside of custom pages you want?

A modification in component to allow some codes with specific tag, such as << USERNAME >> or << SITE_NAME >> (whitout spaces) to show user or site name is not a hard job. But this is just an idea

@Arsalan
GitHub page shows version 1.0. Can you update the repository?

Indonesian Arsalan Shah Replied 1 week ago

Thomas, you can't set php code using the component for a custom php code see a Hello World component https://www.opensource-socialnetwork.org/component/view/167/hello-world

Welsh Thomas Nikidiotis Replied 2 weeks ago

Hi i would like to ask if i can put php code inside my custom page and not only html!
Thanks!

German Michael Zülsdorff Replied 2 months ago

It would be of help if these pages had the same structure as standard site pages like

<div class="col-md-11">
    <div class="ossn-site-pages">
        <div class="ossn-site-pages-inner  ossn-page-contents">
            <div class="ossn-site-pages-title">
                Privacy         </div>
            <div class="ossn-site-pages-body">

Not every theme has a guaranteed fixed column width of 11, and having the same anchor class="ossn-site-pages" in place would make it easier to address it via jquery and change the parent node from 11 to whatever value is needed.

Indonesian Arsalan Shah Replied 8 months ago

Fixed

au Joel Sullivan Replied 8 months ago

Hey Guys just letting you know that there is no edit or delete button on OSSN 6.0 under settings on the right

Work around: administrator/settings/cpages?mpage=edit&guid=XX
XX repalace with custom page number
Custompage unable to edit on OSSN 6.0

us Roman Lohov Replied 2 years ago

Please add Russian. You are welcome. And change target _bla2nk in english.

<?php
/**
 * Open Source Social Network
 *
 * @packageOpen Source Social Network
 * @author    Open Social Website Core Team <[email protected]>
 * @copyright 2014 iNFORMATIKON TECHNOLOGIES
 * @license   General Public Licence http://www.opensource-socialnetwork.org/licence
 * @link      http://www.opensource-socialnetwork.org/licence
 */
$ru = array(
            'admin:cpages' => 'Доп. страницы',
            'cpages:title' => 'Название',
            'cpages:description' => 'Содержимое',
            'cpages:fillfields' => 'Пожалуйста, заполните все поля',
            'cpages:page:added' => 'Страница была создана',
            'cpages:page:add:failed' => 'Страница не может быть добавлена',
            'cpages:edit' => 'Редактировать',
            'cpages:view' => 'Посмотреть',
            'cpages:delete' => 'Удалить',
            'cpages:settings' => 'Дополнительные страницы',
            'cpages:settings:title' => 'Настройки',
            'cpages:invalid:page' => 'Неверная страница',
            'cpages:page:saved' => 'Страница была сохранена',
            'cpages:page:save:failed' => 'Невозможно сохранить страницу',
            'cpages:page:deleted' => 'Страница была удалена',
            'cpages:page:delete:failed' => 'Невозможно удалить страницу',
            'cpages:addnew' => 'Добавить Новую Страницу',
            'cpages:pageurl' => 'URL Страницы',
            'cpages:menubuilder' => 'Вы можете использовать компонент menubuilder для ссылки на страницу в любом меню вашего сайта. <a href="https://www.opensource-socialnetwork.org/component/view/3377/menubuilder" target="_blank"><strong>Посмотреть MenuBuilder</strong></a>',
);
ossn_register_languages('ru', $ru);

Component

Developer: Arsalan
License ossnv3
Type: Site admin
Requires Ossn Version : 5.0
Latest Version: 1.3
Last Updated 8 months ago
Repository Url View Repository

Versions