Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post How Do I Create "FAQ Style" Content Page? 
 
I read both the CMS documentation and the Advanced CMS documentation.  And these were both after going through all search results for 4 different queries (not really sure how to word what I am looking for here).

All I am trying to do, is create another page similar to rules.php or faq.php.  I already created the page in the CMS Pages ADV area.  It shows up right under 3 Columns, 2 Columns.  Then there's [mypage.php] as the third entry.  So in my infinite wisdom (puke) I click on my page to edit it, then click "Add New Block" assuming this is how I add content to that page.  My page is the 2 column layout, and I just want to add one content block that is similar to the rules and faq pages where you can click different 'titles' and they expand the content below them.

Basically our site (old site) has a nice chapter separated history.  We've been around for almost 11 years now, so all our history in one giant content window is just dumb.  But having the "chapters" of our history as the titles (sort of like the FAQ questions) and then the full story of that chapter being expanded (the answer to an FAQ) I figured it would be a nice way of organizing it all.

I am sure the answer is quite obvious and I am just missing it.  I looked through all the block types and could not find any that even sounded like they would be what I need.
 



 
tbird412Send private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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?
 




____________
| Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
 
ChaoticSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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?"
 



 
tbird412Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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  

history.zip
Description:  
Download
Filename: history.zip
Filesize: 16.89 KB
Downloaded: 77 Time(s)

 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
tbird412Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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

Code: [Download] [Hide] [Select]
Find:

        <a href="{FULL_SITE_PATH}{U_FAQ}">{L_FAQ}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;

After Add:
        <a href="{FULL_SITE_PATH}history.php">History</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;


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.

Code: [Download] [Hide] [Select]
Add: include_once(IP_ROOT_PATH . 'includes/bbcode.' . PHP_EXT);

After: include(IP_ROOT_PATH . 'common.' . PHP_EXT);

 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
tbird412Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.

 
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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".
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 
 
 
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events