Noob question.
I have created a terms.php file, but how to add words in that file. Well...I can add words but the formatting is not working such as <li> </li>. Is there something Im missing? |
Quote:
When I use this method to create external pages I will frequently develop the html within a separate file and test it prior to bringing to this template passing system. |
Format looks perfect in DreamWeaver.
This does not work in the template: Code:
<ul> Code:
<p>blah blah</p> |
Quote:
|
Quote:
Regards |
If you followed the tutorial, you created
1. a php file 2. a template in AdminCP. Where do you add your html code, to 1 or 2? You need to add it to 2. It may be that you need to put a div-container around your html, since the formatting of unordered lists and the like will be reset by vB in order to format the page layout. Do HTML Code:
<div class="mytext"> HTML Code:
.mytext ul { |
Hi
I have added the first HTML code below: Code:
<div class="block row"> And yes, I have edited the template. |
Quote:
Code:
// ###### YOUR CUSTOM CODE GOES HERE ##### Code:
// ###### NOW YOUR TEMPLATE IS BEING RENDERED ###### |
Okay I might have missed this in the sea of posts.
I created my basic page but now I want to include the Widgets on it so it will match the entire website. How do I add the Widgets and be able to change with the layout manager? |
Quote:
|
Quote:
|
Hello, I'm starting on a project and I'm not exactly sure how to make it so in the bread crumbs, it shows another page that I made that is only viewable from the first created page.
I'm trying to make a few pages actually that will work off of others. I'm just curious as to how the bread crumbs work. |
works great
|
OK, like a few other beginners have more than likely done I started out by using the coding from the vB3 posting which was pointed out to me by cellarius and I was getting a 3 line error. Now that I have switched over to this template I no longer get anything except a white page and if I vie the source code all I get is this :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type></HEAD> <BODY></BODY></HTML> I have looked through 154-20 pages of replies here and could not find an answer to correct myself, so need some help please. I am just using the basic 2 files used on the first page of this article and then will change the basic name to what I need when I know it is working properly. NEVERMIND - Just kept checking and testing and found my silly error, I had the template as "Test" when it should have been "TEST"...Dohhhh!!! Great article btw Lynne and thanks for sharing! Cheers, BriShi |
I have a Paid Subscription website, where I am able to ascribe permissions to my forums as well as to my CMS articles. The only parties who can see these pages are me, the Administrator (User Group 6), as well as my Subscribed Members (User Group 9). With this in mind, I have a few questions that I would be grateful for some clarification on:
1. Are these pages considered CMS pages and, if so, are they manageable under the Content Manager of CMS control in the ACP?;Thank you for your time and for creating this valuable tutorial! Jack |
I don't know about methods (1) and (2). As suggested elsewhere in this thread I effectively use a little code in the php page (not the vBulletin template). Mine looks like:
PHP Code:
|
Quote:
2. They are manageable in the Style Manager where you may edit the templates. 3. See the post above this one. |
Thank you both for your time, I appreciate it.
|
Quote:
|
Quote:
<a href="forumdisplay.php?f=xx">Form xx</a> |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
So i have finally gotten the hang of working with this type of page haha.. Thanks Lynn.
My question is Is there away to use say a contact form created on a custom page to send a pm to a couple hard coded users and also to post in a specified section of the forums? "Not the original Contact Us Form from VB" |
Quote:
|
This may have been covered, but will the Search (and Advanced Search) features work in these new pages?
If not, is there a way to configure this to have it work? |
It will work as far as you may still search posts. But, the information on these pages will not be searchable unless you do something to make them so. (Not anything that is covered in this tutorial.)
|
Quote:
If this is not the place for that, where would such a question be posted? |
Quote:
|
Quote:
How about a variation on this that also employs create/edit/delete permissions? For example, in the other custom pages I want to design, these are going to be for an image-hosting service I am making. I want people to pay a fee to host their images, and I want "everyone" to be able to "see" these images, but where only the Administrator and Paid Subscibers can edit, delete, or create new pages. Further, the permissions should be configured to where Paid Subscribers are only able to edit/delete their own self-created pages, but to where they can't edit/delete the pages of other Paid Subscribers, while the Administrator can edit/delete anyone's pages. I know how to do this with my CMS Manager, but because these custom pages we're here aren't controlled by that, how would they be thus-configured by hand? Thanks! --------------- Added [DATE]1333138408[/DATE] at [TIME]1333138408[/TIME] --------------- Quote:
|
I've created the page, and everything works except that users are no longer logged in when visiting the custom page. Clicking any tab or link to navigate away from the page brings me back to the normal logged in state, but the custom page is logged out. How do I fix that?
edit: Found the problem. It's a privacy policy page, and in Options > Site Name / URL / Contact Details the link to the page was the full path (http://sitename.com/forums/privacy.php) instead of relative (privacy.php). Once I made it relative it worked fine. |
Code:
<?php Okay, I have followed your instructions in this tutorial to the letter and am getting a blank test page to generate just fine. However, the moment I try to add custom code to it, the setup fails. I just did a basic "I am here" insertion, but where you have indicated Your Custom Code Goes Here is generating the quote at the TOP of my test page, rather than in the body where it should be, as follows: What am I doing wrong and why is the "I am here" quote being displayed at the top of the page, rather than in the body where it should be going? Thanks for any help! Jack |
You need to insert any text you want on the page into the template. You cannot use echo. You would need to do something like:
PHP Code:
PHP Code:
HTML Code:
{vb:raw message} |
Okay, I have that bit working right now, thank you.
In order to create an actual page now, can I just use HTML tags, or do I have to register more code with the template? Thanks again. |
If you have static content for your page, you may just want to type it into the template directly. Using variables is usually something you'd only want to do if you are using php to define some text.
|
Quote:
Code:
<h1>My Title</h1> Thanks again!! |
Use the template code given in the article to create a custom vBulletin page. To just create any html page (without showing the forum framework) use standard html page architecture (basically, you'll find that in the template code in the article, too).
|
Quote:
I assume I am missing something :confused: |
Quote:
Search this article for discussions on the problems using <li> on this page and the CSS you need to add to fix it. |
All times are GMT. The time now is 05:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|