View Full Version : Open-Realty layout
Hi again,
I was wondering if somewhere there is some sort of layout explanation of what does what in Open Realty?
For example, I figured out that main.html in the templates section is the menu link page, but I was wondering if there is an explanation of the other particular files etc...
This would make it a lot easier to try to figure out what needs to be changed for integrating into an existing site.
Any answers on this would be appreciated. I have searched the FAQ using terms I could think of for this, but nothing has turned up. The closest I have found is the Template section of the Wiki
Bye for now, Terry
bjdavis2
06-12-2005, 09:19 PM
I am looking for the same thing... I have edited main.html, but where are the other pages stored, such as the Welcome page, About Us page, etc. Is there a way to edit these pages other that using the "Edit" option from the browser?
timeforsmilin
06-12-2005, 09:49 PM
I am looking for the same thing... I have edited main.html, but where are the other pages stored, such as the Welcome page, About Us page, etc. Is there a way to edit these pages other that using the "Edit" option from the browser?
The Welcome, About Us, Contact and Legal pages are accessed through the admin section, by clicking on the Page Editor, and selecting the page. The other .html pages that you see in the template folder, are loaded into the maincol, which is defined in vertical.php. Have fun with it! There are many different approaches being used here.
Hi again,
Yes, I think we knew that one, but the Wiki on the structure doesn't really give us a clue as to what does what.
For example, I wanted the edit the admin page HTML. Sure, main.html again allows us to change the image, but we'd like to be able to edit all of the HTML for layout & of course, we don't want to screw up important files, which is easy when you're unsure of the structure of something.
The template section of the Wiki outlining the admin area doesn't seem right - at least admin.html can't be found within the original source file I downloaded.
Thanks for the feedback though.
timeforsmilin
06-13-2005, 08:50 AM
Hi again,
Yes, I think we knew that one, but the Wiki on the structure doesn't really give us a clue as to what does what.
For example, I wanted the edit the admin page HTML. Sure, main.html again allows us to change the image, but we'd like to be able to edit all of the HTML for layout & of course, we don't want to screw up important files, which is easy when you're unsure of the structure of something.
The template section of the Wiki outlining the admin area doesn't seem right - at least admin.html can't be found within the original source file I downloaded.
Thanks for the feedback though.
Then you will need to edit every .php file in the /include directory to suit your needs. I gave most of the tables generated through them a class, and defined them in vertical.php. The drawback of that approach is changing all of those files again on update. Frobn has the right idea with using the {template_tags} in the html pages and then defining everything through css, but I haven't been able to put a new html page where I want it ... eg. maincol. I have to load a whole new page.
Then you will need to edit every .php file in the /include directory to suit your needs. I gave most of the tables generated through them a class, and defined them in vertical.php. The drawback of that approach is changing all of those files again on update. Frobn has the right idea with using the {template_tags} in the html pages and then defining everything through css, but I haven't been able to put a new html page where I want it ... eg. maincol. I have to load a whole new page.
Hi again,
Ahh - thanks for that. That's the sort of thing I was trying to find out. My next question based on that is: If I wish to modify the look & feel of the HTML in the admin area, I can change part of main.html, but what if I wish to move the links to the Open Realty Forums & the number of listings box down to the bottom of the page for example, to re-align the buttons. Which pages would I need to modify to do something simple like that?
I agree it's a drawback, but sometimes it's the only way.
pbflash
06-13-2005, 05:20 PM
You would need to modify the admin.inc.php in the includes folder under the function index_page().
You would need to modify the admin.inc.php in the includes folder under the function index_page().
Hi again,
Many thanks for that. I'm starting to get a feel for where these things are. By the time I am ready to actually set this up for the client, I should be a lot better off knowledge-wise.
potsed
06-14-2005, 08:07 PM
some of the pages are stored in the database, so if u have database access you can modify them in there
some of the pages are stored in the database, so if u have database access you can modify them in there
Hi again,
Thanks for that - I'm guessing here that you're refering to the Welcome, About Us pages etc...? If so, these are easily modified within the admin config, I suppose easier than editing them via the database. If not, I will still be checking this out.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.