1

Topic: New Page Plugin explained !

Hi Admin!
I have been trying to Create a NEW page, using given add-on. The readme.txt file explains everything but it says: Step 1:Open the "root" folder in this package and edit the following files:- themes/YOUR THEME (rename the folder to your current theme)- themes/YOUR THEME/YOURNAME.php (rename the file to whatever you want and edit the content and the Headline (marked in the file)- system/controllers/YOURNAME.php (in line 6 edit the Headline again, in line 9 add the name you gave to the file before (in your theme folder))
Upload all files and folders to your Sharetronix root folder and test them.The new page should work now without any problems and with the complete site around.

Now! Upload all files and folders to your Sharetronix root folder and test them. This line is vague. I tried both the options by uploading the files to the destination folder on the server. i.e. about.php file >  to public_html/ themes/about.php ( at server )and other way round, uploading the complete " root" folder to the sharetronix root installation. None seems to produce a new page.
Help !

Thumbs up Thumbs down

2

Re: New Page Plugin explained !

Dear Member - greatkaniska . This section is for sharing the sharetronix tutorials. please post your questions on relevant topic so that we can support better.

Ok No issues . Please let me know which add-on you are using the below add-on
custom page sharetronix
or Any other else? let me know!

Install Turnkey Web Scripts start your own profit portals
Do someMicro Jobs and earn decent money on your part time

3

Re: New Page Plugin explained !

Oh ! this worked. Thanks .
Now, I have understood a bit, how the things work here. It will take me a month more to upload the site on the server. And this platform has been of great use.
Just , there is less to display on the homepage sidebar.

Thumbs up Thumbs down

4

Re: New Page Plugin explained !

As I have created a topic that doesn't belong to the section. Let me make it of some use.
Dear all, All those who wish to create a new page. Here goes an smart tutorial that will let you create any number of pages, all with different layout and design.
Steps are.
1. make a file. named                  myfilename.php >  place this file under, themes/yourthemes/ ...... HERE___  Now this file may be a customized copy of home.php or dasboard.php > Now, this file requires a control. (similar to functions.php file in wordpress) only those functions that are assigned to this page will work here. Thats the reason , you find certain elements missing on the homepage as compared to dashboard.
STEP-22 go to system/controllers/ myfilename.php Now, have a close look at the dashboard.php file. You will find certain functions that registers left  sidebar, right sidebar and main page. There are functions that registers elements on rightsidebar, such as LAST ONLINE, RECENT MEMBERS, TOP MEMBERS , also top members , top groups etc ( added by plugins). You must remember adding some snippet to controllers/dashboard.php  . Now, do repeat the same and add the functions to  your .. myfilename.php .
2. This file need to be registered at languages/ en( or your language)/outside put a copy of dashboard.php and rename it as .. yourfilename.php

Now , go to header.php file in your theme and look out for, <a href="<?= $C->SITE_URL ?>signup"><b><?= $this->lang('hdr_nav_signup') ?></b></a>Now add this , ( if you wish to have a page at the top , near log-in log out)
                                                                <a href="http://yourwebsite.com/about" target="_blank"><b> YOURFILENAME </b></a>OR
if you wish it to appear alongside , groups, members etc.. i.e navigation menu
look for  <a href="<?= $C->SITE_URL ?>groups"            in header.php file  of your theme. 
add this after it
                                                        <a href="http://news.yoursite.com" target="_blank"><b> YOURFILENAME or PAGRNAME </b></a><span><b><?= $this->lang('hdr_nav_about') ?></b></span></a>
this is lang('hdr_nav_about')  one that you made in language/ en/ outside/ etc..
STEP 3
make a copy of inside.css file. Now, rename this to anyname.css and upload it into the same folder where inside.css file exists in your theme.
Make desired changes and play with css as much as you can. nothing gonna happen to your existing theme as you have simply copied it .
NOw, must not foreget to change the file locations ( call) in your files, in case you copied it from existing one. Like, if you copied dashboard.php as base file . it earlier called up the css file as / css/ inside.css . So it must be changed to    anyname.css .

HERE GOES your new page with totally different look.
If you find it confusing I will load a sample. BUt you can go ahead downloading any page plugin and take time to understand it.





:

Thumbs up Thumbs down