Customize sidebar | Plikli Customization | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Customize sidebar
Avatar
Paul
Member
Members
Forum Posts: 9
Member Since:
December 16, 2018
sp_UserOfflineSmall Offline
1
January 16, 2019 - 6:01 pm
sp_Permalink sp_Print

Hi,

When I working on my site using Pligg I managed to change the rh sidebar to a box showing the number of users, number of posts etc. I'm now working in Plikli but can't see how I did it.

Thanks

Paul

Avatar
redwine
Admin
Forum Posts: 357
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
2
January 16, 2019 - 6:17 pm
sp_Permalink sp_Print

Hi Paul,

What do you mean by "I'm now working in Plikli but can't see how I did it" ?

You don't remember how you did it, or what?

There is a module for that. it is called Sidebar Statistics. it shows everything that you mentioned.

Click on the demo site from the top menu bar in the forum, login and go to dashboard and install the sidebar statistics module and check it in the sidebar on every page.

Avatar
Paul
Member
Members
Forum Posts: 9
Member Since:
December 16, 2018
sp_UserOfflineSmall Offline
3
January 16, 2019 - 8:21 pm
sp_Permalink sp_Print

Thank you, your answer pointed me in the right direction.

When I first built my site I used Pligg and I had managed to customize the righthand sidebar. Now I'm working in Plikli but I don't have access to the dashboad on the Pligg version I wanted to know how that customisation was handled; I couldn't remember how I did it when I worked in Pligg.

Second question: How do I get rid of the "What is Plikli?" section?

Thanks

Paul

Avatar
redwine
Admin
Forum Posts: 357
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
4
January 16, 2019 - 8:42 pm
sp_Permalink sp_Print

The dashboard and modules are pretty much the same as Pligg, except that a lot of new settings and features were added and most of the modules were fixed with the addition of some new ones.

Customizing the sidebar is pretty much about installing the modules that belong there:

example would be the sidebar tags, sidebar comments, sidebar stories, etc.

For the What is Plikli, do you want to get rid of it completely or customize it to fit your site?

To get rid of it completely:
1-/templates/bootstrap/sidebar.tpl
2- On LINE 12, modify this:
{include file=$the_template."/about_box.tpl"}

to this:
{*include file=$the_template."/about_box.tpl"*}

Save the file and hard refresh the page, the what is plikli box will not display.

To customize it to your own content:

1- go to the Dashboard -> Modules -> Modify Language
2- Scroll down a bit until you reach the Heading Sidebar
3- modify the value of this label PLIKLI_Visual_What_Is_Plikli_Text, by typing whatever you want. BUT MAKE SURE TO USE SINGLE QUOTES OR ESCAPED DOUBLE QUOTES.

Avatar
Paul
Member
Members
Forum Posts: 9
Member Since:
December 16, 2018
sp_UserOfflineSmall Offline
5
January 16, 2019 - 11:35 pm
sp_Permalink sp_Print

Thank you, exactly wanted I wanted to do.

Avatar
redwine
Admin
Forum Posts: 357
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
6
January 17, 2019 - 12:16 am
sp_Permalink sp_Print

Great. Let me know whenever you need assistance!

Avatar
Paul
Member
Members
Forum Posts: 9
Member Since:
December 16, 2018
sp_UserOfflineSmall Offline
7
January 17, 2019 - 12:29 am
sp_Permalink sp_Print sp_EditHistory

Hi,

The main menu bar which contains the options: New / Submit / Groups / Resgister / Login, If I want to add additional menu items. I assume I do that in header.tpl? Is there some documentation that shows how to do it?

Thanks

Paul

Avatar
redwine
Admin
Forum Posts: 357
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
8
January 17, 2019 - 2:46 pm
sp_Permalink sp_Print sp_EditHistory

No, you can't do that. Pages are not static and if you add a page, and link it somewhere, it won't be recognized and won't load.

There is a special Dashboard feature to add static pages:

To create a static page, go to your Dashboard -> Manage -> Pages and click on "Create a New Page":

1- Page Title: Give the page a title. This title will appear in the <title> tag and breadcrumb area. It is saved in the links table under link_title.

2- Page URL: Define the URL value (ex. about-us). If left blank, this will be generated for you. It is simply the safe title. If it contains spaces, the code will replace them with hyphens and convert the page URL to lower case and saved in the links table under link_title_url.

3- Meta keywords: This is where you give the page meta relevant keywords. They are saved in the links table under link_field1. They appear in the head section of the page under <meta name="description" content="Frequently asked questions and hands-on tutorial." />

4- Meta Description: A relevant description of the page. It is saved in the link tables under link_field2 and is used for the meta description tag <meta name="keywords" content="help,tutorial,frequently asked questions" />

5- Page Content: is where the code for the static page goes. It is saved in the links table under link_content.
a- HTML and Smarty code are allowed.
b- JavaScript and CSS must be wrapped with case sensitive {literal} and {/literal} tags:
c-

{literal}

<script>

JAVASCRIPT CODE HERE

</script>

{/literal}

OR

{literal}

<style>

CSS RULES HERE

</style>

{/literal}

d- PHP is used like so: {php} PHP CODE HERE {/php}
e- To reference a variable: you wrap it with opening and closing curly brackets. The variable is typed the normal way (preceded by a $. {$VARIABLE}
f- To reference a language constant, you wrap it with opening and closing curly brackets and the # sign: {#PLIGG_Visual_Name#}

6- Once you finished creating the page, click on Save Page and it will be displayed.

7- Now you have to link this page from somewhere in your site. In my example, I created a Help Frequently Asked Question page and linked it from the footer.

8- Note that if you are the Site Admin, you will always see "Edit Page" button, in case you want to edit it; Others won't see it!

Watch the Pligg Manage Pages hands-on video at

Avatar
Paul
Member
Members
Forum Posts: 9
Member Since:
December 16, 2018
sp_UserOfflineSmall Offline
9
January 17, 2019 - 3:56 pm
sp_Permalink sp_Print

Very useful - Thank you very much.

I had already worked out some of what you said above and what is in the video but that is very useful as it completes the picture.

Thanks

Paul

Avatar
redwine
Admin
Forum Posts: 357
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
10
January 17, 2019 - 4:01 pm
sp_Permalink sp_Print

Great. Let me know how it comes out!

Forum Timezone: Asia/Beirut

Most Users Ever Online: 118

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

john: 47

Nishant kumar: 33

Mosage: 25

Punk: 23

Martin Gold: 22

Felipe: 22

Phelix: 17

yami: 14

StaticMove: 13

Hiro: 13

Newest Members:

Riya

Daniel

Rutika Patil

Mazharul Islam

Bright

Croma

Arohi Kashyap

gopal krishna

John_1

ariananesbitt

Forum Stats:

Groups: 1

Forums: 8

Topics: 122

Posts: 722

 

Member Stats:

Guest Posters: 0

Members: 154

Moderators: 0

Admins: 1

Administrators: redwine