Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 22

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Archive > Mambo 4.5 > Mambo 4.5 'How Do I' Questions

 
 
LinkBack Thread Tools Display Modes
Old 08.04.2004, 03:02   #1 (permalink)
Junior Mamber
 
mame's Avatar
 
Join Date: Apr 2004
Location: Minnesota, USA
Posts: 26
mame is on a distinguished road
MOS 4.5 Best method of displaying dynamic (non-static) pages

Not sure the best way to describe what I'm asking for... but I'll try.

Mambo erases my PHP code when trying to drop it in the 'html' view when creating a page.

Example: Trying to create a new FAQ page, but instead of typeing 40 faq pages, I am trying to write ONE page that will pull that info from the data base. I tried creating a php page in dreamweaver first and then droping that code into the 'html' mode on editor.

The only (successful) example I can show you is what i did once apon a time ago using .asp.

http://www.lakelida.com/fishing/fish.asp?FishID=14235
http://www.lakelida.com/fishing/fish.asp?fishID=14102
Note same exact page... different fishid

What is the best method (other than making the pages then using "wraper") for diplaying dynamic pages? I must be missing something.

Thanks in advance.
mame is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 08.04.2004, 04:21   #2 (permalink)
mmx
Expert Mamber
 
Join Date: Apr 2004
Location: Virginia Beach, Virginia USA
Posts: 309
mmx is on a distinguished road
Send a message via MSN to mmx
Default Re: Best Method of Diplaying non-static pages

Have you considered using Content section or Content categories for your FAQ?

If the FAQ is simple and you do not need categories, create a section called FAQ, but do not publish it, then create a category called FAQ under it. You can then create FAQ items for the category and publish it. When you create the menu link for the FAQ, link to the category rather than the section.

If you need a FAQ with Categories, then publish the section and create as many categories are required. You can then assign the section to a menu link, or...

you can create a menu link for the section as a top level menu item and add the categories as submenu items. I use this a lot because it allows users to jump immediately to the FAQ they need to read.


Quote:
Originally Posted by mame
Not sure the best way to describe what I'm asking for... but I'll try.

Mambo erases my PHP code when trying to drop it in the 'html' view when creating a page.

Example: Trying to create a new FAQ page, but instead of typeing 40 faq pages, I am trying to write ONE page that will pull that info from the data base. I tried creating a php page in dreamweaver first and then droping that code into the 'html' mode on editor.

The only (successful) example I can show you is what i did once apon a time ago using .asp.

http://www.lakelida.com/fishing/fish.asp?FishID=14235
http://www.lakelida.com/fishing/fish.asp?fishID=14102
Note same exact page... different fishid

What is the best method (other than making the pages then using "wraper") for diplaying dynamic pages? I must be missing something.

Thanks in advance.
mmx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.04.2004, 17:44   #3 (permalink)
Baby Mamber
 
marcoshac's Avatar
 
Join Date: Apr 2004
Location: Brazil
Posts: 20
marcoshac is an unknown quantity at this point
Send a message via ICQ to marcoshac Send a message via MSN to marcoshac
Default Re: Best Method of Diplaying non-static pages

Hello,

I thought that you could have a .php page with wrapper (althought I never used...)

If you look into the "Best Method for Displaying a statis page", you can sse that it is posted there if you want to have .php you can use mambots (again, never used, because I am new on Mambo ).

Hope I helped.

Regards

Marcos
marcoshac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 00:30   #4 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 1
Slipknot is on a distinguished road
Default Re: Best method of displaying dynamic (non-static) pages

hey man , im from argentina and i add to my icq , im talk to marcos ..

im searching the same thing ... how to display records from an existing table ... becouse i made that in asp and now , whit Mambo , is more easy to make a site , like my problem , a hardware provider ... to list all product..

so if i can to inserte alllllll products again , i will comite suicide ... !!!!!!!

so , we can work toghether ..

Adios
Sebastian
Slipknot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 00:35   #5 (permalink)
Senior Mamber
 
coke's Avatar
 
Join Date: Apr 2004
Posts: 125
coke is on a distinguished road
Send a message via MSN to coke
Default Re: Best method of displaying dynamic (non-static) pages

ok, i friend of mine sent me a component with 1 file only!!! named com_whatever

so told me to upload it at components/com_whatever and then linking to it with ?option=com_whatever ...

i haven't tried.. but does this workk?? is there any problem with this weird way of adding php pages???
coke is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 00:36   #6 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Posts: 30
marc2004 is on a distinguished road
Default Re: Best method of displaying dynamic (non-static) pages

I'm also looking for a methode to write php code directly in the htmlarea editor... I've tried a mambot callled mosphp available here: www.mambobrothers.com

But I've got a Parse error in the script!!!


So if you find a way to do that tell me!
marc2004 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 00:36   #7 (permalink)
Expert Mamber
 
keliix06's Avatar
 
Join Date: Mar 2004
Posts: 202
keliix06 is on a distinguished road
Send a message via MSN to keliix06
Default Re: Best method of displaying dynamic (non-static) pages

You can create a simple component as well if you wish to have php. You can also use the php mambot that you can find at http://www.mambobrothers.com
keliix06 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 00:40   #8 (permalink)
Senior Mamber
 
coke's Avatar
 
Join Date: Apr 2004
Posts: 125
coke is on a distinguished road
Send a message via MSN to coke
Default Re: Best method of displaying dynamic (non-static) pages

ok, i've tried now and it woorks, but you have to call your file whatever.php

look at this: [LINK DELETED]

source of caca.php

<?php

echo "writed with php";

?>

Last edited by coke; 14.05.2004 at 02:48.
coke is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 02:39   #9 (permalink)
Junior Mamber
 
mame's Avatar
 
Join Date: Apr 2004
Location: Minnesota, USA
Posts: 26
mame is on a distinguished road
Default Re: Best Method of Diplaying non-static pages

Quote:
Originally Posted by mmx
Have you considered using Content section or Content categories for your FAQ?

If the FAQ is simple and you do not need categories, create a section called FAQ, but do not publish it, then create a category called FAQ under it. You can then create FAQ items for the category and publish it. ......
Thats a cool idea, thanks, but it doesn't fix the eraseing php code issue.

keliix06, Can you tell me what the file is called please? I will try it!!

Thanks
mame is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 18:22   #10 (permalink)
Junior Mamber
 
mame's Avatar
 
Join Date: Apr 2004
Location: Minnesota, USA
Posts: 26
mame is on a distinguished road
Default Re: Best method of displaying dynamic (non-static) pages

Very Close!!!

I created a folder called com_fish
added a file called fish.php inside it and publish and all is working well. Now I want to link to a file and dynamicaly call the page with a link, it works, but it displays outside the mambo template. (here is the link)

<a href="components/com_fish/FishNFO.php?FishID=14235" target="_self">Walleye</a>

Sorry for the dumb question. Can someone tell me what my mistake is (or point me to the manual ?)

Thanks!
mame is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best method of displaying Static Pages jabby Mambo 4.5 'How Do I' Questions 94 17.02.2006 04:28


All times are GMT +2. The time now is 06:12.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.