![]() |
Adding new pages
1 Attachment(s)
----------------
This was moved to articles, in my opinion INCORRECT this is original and by me! ---------------- ---------------- Installed! I don't work for nothing; please press installed if you used my addon; I won't support you either if you have a problem then! ---------------- Hello all, In this tutorial i'm going to show you how to make extra pages Note: Go into your Admincp, klick Styles & Templates, klick Style Manager, klick your template that your'e working with, hover your mouse to the dropdown menu and klick, klick Add Template Give your template a name: (like gallerytemplate) and add this code to it: HTML Code:
$stylevar[htmldoctype] Code:
<!-- html code here --> HTML Code:
<p>Hello, this is my gallery</p><br> Now save it, were nothing with that Now we are going to make the PHP file Open notepad add this code in it PHP Code:
Find: PHP Code:
Find: PHP Code:
Find: PHP Code:
Save it to whatever you want (Make sure its the same name as in edit 1 (scriptname) and with .php after it) Upload it to your webserver and your'e done! If you want it to appear it into your navbar i suggest to: Use my Navbar Edit mod (for all vB versions) (Manual code changes) Or to download the double navigation bar mod |
V1.0.1 BETA - Pre-release, being tested
V1.5.0 BETA - Bugfixes; PHP should work now! V1.5.1 BETA - Added functionality for lower versions (3.6.x and higher!) V2.0.0 BETA - Minor BugFixes; almost out of beta now! Current release |
Pm me for any support; I will TRY to help you!
Make sure you READ CORRECTLY, I will not help you if you didn't follow the guide correctly.. If you're getting xhtml errors or PHP errors; check your code.. Please! I will not fix a broken html/php tag for you.. |
!!Latest update!!
Yeah! Now our script supports PHP, for flexibility, and so on! Please report bugs.. |
Works like a charm :)
|
Sweet, thank you for this!
|
thanks man .
|
No problem guys.. New release
|
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3957
|
Thanks a lot, I would consider this very useful, but i remember some members say that including php in a template could be a little unsecure. Is that correct?
|
All times are GMT. The time now is 07:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|