View Full Version : extra menu + pages????
marius
08-27-2007, 06:32 PM
I am trying to figure out how I integrate homepage information pages and other pages within the site, so it can be viewed in the directory.
But it is not going to well, so I hope someone here can help.
The thing is:
I have made a nice picture to describe what I am talking about, but I am not allowed to post it (or links) before I have made 20 or so, posts.
But perhaps you could look at it here, hjorteulv.dk/site.JPG
Because I have no idea how to tell you, without the picture...
I need a box looking like the box popular categories (above, beneath or left side, placement is not yet determent, perhaps even replacing pop-cat could be an option), and it is surposed to be called something like MENU or what ever.
How do I make that????
Inside that box is surposed to be links to local pages inside the domain, for example links to pages like "about us", "FAQ", "submit rules", "news" and so on.
How do I make those????
And last but not least, how do I make/write the pages????
I have so much to learn :o
A million thanks in advance for whom ever is able to help.
Marius - newbie
James
08-27-2007, 08:51 PM
what template are you using?
marius
08-28-2007, 02:33 PM
Template: GreyMar, for phpLD Version: 3.2.0....... I found it here on phplinkdirectory.com
Mr_Bill
08-28-2007, 04:12 PM
You could try something like this open the right_side.tpl in the template folder
and find this
Content visible to registered users only.Should be the last 3 lines replace them with this
Content visible to registered users only.Now create a file called "right_menu.tpl" and in that file simply add the links
Content visible to registered users only.Just upload these 2 files to your templates file and viola. I like to create the extra file for easy editing.
As for the extra pages one of the masters will need to help havent got that one figured out, There is a mod on this board something like pagegen that does it but have not tried it.
marius
08-28-2007, 05:54 PM
Thanks alot.... ALOT.... uhh, that was actually pretty easy, or perhaps I'm learning :)
Now I just need to figure out how to make the links open pages "inside" the directory.... And how to make a link that brings the directory back... Anyone??????
Mr_Bill
08-28-2007, 06:11 PM
Create 2 files a about_us.php and about_us.tpl
add this to the about_us.php
Content visible to registered users only.Then in the about_us.tpl add this
Content visible to registered users only.then in your right_menu.tpl you made from the last post add this for the link to the page
Content visible to registered users only.Should work and if you edit them right should work for the other extra pages you want like a TOS, Disclaimer, Guidelines etc pages
marius
08-28-2007, 06:17 PM
I will try that out tomorrow, now I have to eat :D
Just one question before off-time, the text/info I write on the pages, can it be in HTML, because I need them to have some picture, external links and so on????
Ohh, and will I make 2 files for every page????
Content visible to registered users only.
Mr_Bill
08-28-2007, 06:25 PM
you can include html, pictures and links also. Only thing is if javascript is added like adense you will need literal tags around the javascript. As far as 2 files for each page I am pretty sure but a more advanced user would need to answer for sure, might be a way to do it with one page. As I am still learning the ins and outs :) I cant say for sure
marius
08-28-2007, 06:27 PM
Well this is great, I'm looking forward to try it out... thanks again
marius
08-29-2007, 04:45 PM
Mr. Bill, or someone else who knows!!
That little menu you helped me make in the right side, og do I make one like that and then make it keep in a sertain size, so a scroll will show if I exseed the size????
Marius
Mr_Bill
08-29-2007, 04:58 PM
What do you mean exceed the size? You are making a menu so the links will keep stacking if you make the title too long it should wrap. However since its a menu I wouldn't want the titles to wrap I would try to keep the menu links uniform.
Could give a example of what you mean by exceeding the size
marius
08-29-2007, 05:02 PM
It is because beneath the menu, I have made another box for news and info on updates, and so on, and that could become very long with time, so I need it to have scroll instead of a looooong box - if its possible
Mr_Bill
08-29-2007, 05:13 PM
Yes you could add one. In the code for the box in the right column you could do this
Change
Content visible to registered users only.To something like
Content visible to registered users only.
add make the file news_box.tpl and add it to your template folder
Then in the file add the html code for you scrolling box. Not what type your going to using a javascript based one, css or standard. So you will need to reseach the type you want and add the code to the news_box.tpl
marius
08-29-2007, 06:14 PM
AHA, yes ofcourse - you are close to become one of my best new friends :)
Incase anyone wants to know what I did, then the code I made in news_box.tpl, was this:
<div style="width: 155px; height: 190px; overflow: auto;"><font face="Verdana"><font size="1">
TEXT-TEXT-TEXT-TEXT-TEXT-TEXT
</font></div>
And it worked like a charm....
Marius
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.