Comments |
Re: How Do I Create "FAQ Style" Content Page?
|
Similar to the rules.php page?
I'm betting you could rename those files to whatever you like and edit the "rules" in your ACP to reflect whatever you want...Can someone confirm that?
|
Chaotic [ Fri 08 May, 2009 23:50 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
I suppose that it has´nt changed from 1.2.0.27 to RC1 ( the same).
I confirm your guess CHAOTIC.
I suggest FAQ of forum to do what you wanna do
|
spydie [ Sat 09 May, 2009 00:42 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
Yes, like the rules page.
Basically a page that does the same "expand/contract" thing with the content that rules and faq does. The problem is I use the rules and FAQ pages and like them. I just wanted to make a NEW page that is exactly the same as them (obviously with different content in the middle).
So I'm not dumb though right? It's not just a "block" type I am looking over? I am so confused about all of this as it is. This is my first try at "packaged sites" and all this weird language of blocks, ACP, cms, etc. confuses the hell out of me LOL. Even when I read the documentation. I'm like "huh?"
|
tbird412 [ Sat 09 May, 2009 01:13 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
At best a patch, but it will do what you want it to do.
copy history.php to /
copy lang_history.php to your language folder.
copy history_body.tpl to the default template folder.
Open history.php and change $l_title = History; to $l_title = Old Mother Hubbard or whatever; and that will parse through to the templates also.
I've made a "Copy" of the rules as default "lang_history.php" or you can rename the included faq array - lang_history.php to lang_history.php and use that if you prefer an open layout to start with.
Now all you need to do is edit the lang_history.php file.
Url: da da da/history.php
Description: |
|
Download |
Filename: |
history.zip |
Filesize: |
16.89 KB |
Downloaded: |
97 Time(s) |
|
Inactive User [ Sat 09 May, 2009 06:26 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
Ahh it worked! You're the greatest. Especially for packaging it all up like that for me. Seriously, one of the best communities I've seen around. Why can't real life people act like this?
Two last noob questions that I will most likely find the answer to before I even get a reply here (I will start searching now):
How do I get a link to history.php in around the same area as the included links to FAQ and Rules?
Can I use any html or ubb code in those arrays in the lang_history file? Mainly just looking for links or at least small images
|
tbird412 [ Sat 09 May, 2009 07:23 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
tbird wrote: Why can't real life people act like this?
Damn! and I thought I was a real life person.
templates/default/overall_header.tpl
Find:
<a href="{FULL_SITE_PATH}{U_FAQ}">{L_FAQ}</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
After Add:
<a href="{FULL_SITE_PATH}history.php">History</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
Yes, you can add pics and stuff to the array with html, but you must comment out any double quotes you use.
I.e. <img src=\"pics/smilie.gif\" />
Haven't tested this - but if you want try to use bbcode, add this to the top of history.php - Logic tells me it should work - Dunno - You be the Guinea pig. LOL!
Edit:
Forget the logic - bbcode wont parse in this situation irrespective of where it's called from.
Add: include_once(IP_ROOT_PATH . 'includes/bbcode.' . PHP_EXT);
After: include(IP_ROOT_PATH . 'common.' . PHP_EXT);
|
Inactive User [ Sat 09 May, 2009 09:15 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
I kept this thread open in a browser window until I was ready to add the link. That time has now come and passed and I just realized I didn't reply and thank you.
So, thanks for your help. Really appreciate it
|
tbird412 [ Tue 12 May, 2009 07:14 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
tbird412 wrote: [View Post] So, thanks for your help. Really appreciate it
You my friend are pretty easy to help.
Tis a pity that some others would describe what you ask about in no more than three words, and then wonder why people ignore them.
Welcome to IP tbird - But don't learn too much or come here too often, else they'll pin some green stars under your name.
|
Inactive User [ Mon 18 May, 2009 13:02 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
you mean the ones you just got rid off ???
Lopa one question.
I did it with your files but i get a hacking attempt.
any idea
|
spydie [ Wed 20 May, 2009 18:47 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
Works for me and tbird, and I don't see why it should throw a hacking attempt for you?
Try re-installing it, and test it before you do anything else with it.
|
Inactive User [ Thu 21 May, 2009 00:43 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
My fault.
didn´t count on you did it with RC files. that was why. because i tried it on .27.
on rc it works.
i think i just got to rename faq.php from .27 and change 1 or 2 vars and thats it to got it working on .27
|
spydie [ Thu 21 May, 2009 09:18 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
A bit late in the day to be bothering with v27* when the next stable release is not that far away.
OT:
If anything, people who are "Playing" with RC2 would be very helpful if they started checking and validating templates and / or reporting any errors and warnings that they come across. And in particular the "Errors".
|
Inactive User [ Thu 21 May, 2009 10:08 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
i´m still playing around with .27
cause i´m in the middle of a huge project i´m basing on it.
it´s just because all the mod´s avaible for it. that project will be a mix of all mod´s working together in something like an online game with shop, cash, point´s etc mod´s
|
spydie [ Thu 21 May, 2009 10:19 ]
|
|
Re: How Do I Create "FAQ Style" Content Page?
|
Still OT:
Well, if you are adding any phpBB2* mods yourself, then of course it would be a lot simpler to integrate them into v27* than having to convert them to IP-RC's at the same time.
|
Inactive User [ Thu 21 May, 2009 14:41 ]
|
|
|