Not Solved [How To?] Create a content for a category.
#1
Not Solved
Hey! I have a site, but I wanted to do a new 'category' in the Navigation Menu:#
The question is: HOW TO ADD CONTENT TO THE DONATION CATEGORY...

Script:

<html>

<head>
<title>Donate</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead"><span class="smalltext"><strong>Donations</strong></span></td>
</tr>
<tr>

{$footer}
</body>
</html>
Reply
#2
Not Solved
There are probably two ways of creating a new page:
  1. Create a new PHP file, meaning to writing your own script to use templates and other features from MyBB. Or a static HTML page.
  2. Write a little plugin to attach a new page under ./misc.php page:

In either way you'll have to add the menu item to corresponding template all by yourself. See this document for details: https://docs.mybb.com/1.8/development/pl...-new-page/
Could be wrong but worth a try.
Reply
#3
Not Solved
http://www.qwery.eu/donate.php

I hacve it, but I want to fill the empty space...
Reply
#4
Not Solved
Replace "< CONTENT GOES HERE >" with your content.

<html>
<head>
<title>{$settings['bbname']} - Donate</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Donations</strong></td>
</tr>
<tr>
<td class="trow1">
< CONTENT GOES HERE >
</td>
</tr>
</table>
{$footer}
</body>
</html>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)