Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    Vancouver, BC
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Templating website; if not Joomla... how??

    I have run a website for over 10 years which runs a different way. That is the website URL links are run by a php script with the ending url.

    Example:

    http://www.domain.com/main_page.php?[path/path/path/filename.htm

    basically I have 1 single template html file that has an empty "center page" table. There would be a $PutInBody text in this center page. The script would then import the page at the end of the "?" into the center page. The reason I had this done (This is like 10 years old); I don't know HTML and rely on MS Expression Web 3 (was frontpage 2003) WYSIWYG editior. Back then websites were run with all duplicated pages with content. Which would mean if you wanted to edit the layout you would have to edit all pages as well to reflect the change.

    To prevent this and make it easier for me, that script was built so I can have 1 template page and import the pages (and not needing frames, or iframes). Approx 1 year ago a guy on a forum introduced to me the frightening truth about this script and how adding text (coding) we could (and proved) could obtain my database information, passwords, httacess content, downloading from my own server, uploading virus's, etc) all from that script. HUGE HUGE SECURITY HOLE ! ! ! !

    I have been in contact with him for the passed year and he said he would help me with constructing the website (how to handle the pages) with the new website. The time has come for this and thru a bunch of emails, he's been pointing me out to various things to do.. He eventually realized (I did mention it many times to him) that I rely on a WYSIWYG editor; don't know html and just want 1 template to import pages into for ease of administrating..

    He said to use a rewriting technique that tell the server that it wants however this would be a problem. Since the actual images would be a php insert for each image, that means if I went to edit the page in the editor, I could not see it and since I don't know html, i couldn't just build my graphical pages.. To solve this he introduced me to something called JOOMLA that he claims would solve all my problems.

    I took a look at joomla but it appears this would be even worse! Seems you have to construct a new template over again and use joomla to store the content into a database, create and execute menu's, etc.. I see no way to just use it for template purposes.. I have my own menu image bars that I have links to other pages.

    All I want to do is this.

    1. use 1 html template file (with REGULAR html and images; no coding where images should import, etc) WYSIWYG friendly html being able to view images in layout with ease.
    2. Have 1 part in the template where to import plain html pages into
    3. Having Normal URL for the pages on the website.

    I THOUGHT Joomla was the answer but seems this isn't so since it appears I need to start over, store content in database, create pages in joomla and adhere to joomla's way of handling pages, menu's, etc.

    HELP!
    Attached Thumbnails Attached Thumbnails Templating website; if not Joomla... how??-layout.jpg  

  • #2
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    Why cant you just secure your current php script?
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)

  • #3
    New Coder
    Join Date
    Aug 2002
    Location
    Vancouver, BC
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I was told the way it handles it (looking at the url after the "?") is what is the problem and can't be solved.. ? It imports anything after the "?".. How would this be fixed?

    Thanks,

  • #4
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    Well it could be fixed quite easily, by only allowing access to certain paths. you could also only allow certain file types
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)

  • #5
    New Coder
    Join Date
    Aug 2002
    Location
    Vancouver, BC
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts
    is there a way to do it in php so the paths don't look like that and more of just plain www.domain/url/filename ?

    Can joomla do this all without having to redo the entire layout (having to use joomla's menu's, layout etc)?

  • #6
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    No Joomla can't do it like that
    And you can also do that with a bit of htaccess magic yes to allow paths like youve mentioned. I could do this fairly cheaply for you. If you want me to, send me a PM for a price
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •