Oct 11, 2010 at 10:00 PM
Edited Oct 11, 2010 at 10:01 PM
I can see where you can easily add your code to the existing pages such as "Contact Us" or "Archives" but I need to add a "Photos" page and an "About Us" page. I'm NOT a C# programmer so adding the pages dynamically
as they are in the BlogEngine is not a simple matter for me. I could just copy over my pages and insert them, but the framework is not exactly the same (although it is very similar!) In order to make the website look seamless, i gave up on trying to integrate
the Blog page only into my site, but am finding it easier to integrate my client's website into the BlogEngine structure. Almost all the pages are already there - Home(Blog), Contact, Archive (I don't want a separate "Search page so I remmed that page
link out) but now, I need to add an "About Us", "Classified Ads" and a "Photo Album" page.
I went into the Admin section and added two of the pages "About Us" and Classified Ads" (Haven't done the Photo Album yet - I wan these to work before I tackle adding the Photohandler to this website.) My problem is that I don't know how to
get the links to point to the pages that I just added! Honestly, I would really prefer to create my .aspx pages using the main masterpage, but I am a NOT a C# programmer and haven't a clue how to get this to work. I added my top menu items like you would to
a normal list item:
Instead of how it was coded:
<li><a class="home" href="
<%=Utils.AbsoluteWebRoot %>" rel="home">
<li class="Home"><a href="../../Default.aspx">HOME</a></li>
Which does work because obviously the default page already exists. Now when I add my pages for the "About Us" and the Classified Ads:
<li ><a href="../../AboutUs.aspx">ABOUT<br />US</a></li>
This does NOT work because obviously there is no existing page for it. So I hunted around to see where the pages that I created dynamically using the Control Panel and found where the XML code is stored for those pages. Question 1) How do I point my menu
items to those "pages" (under the App_data/pages/b663b6a1-1c34-4c60-a891-c14772507b23.xml) OR 2) How do I create my own .aspx page to use the BlogEngine Framework (I need the columns and headers to be exactly the same in every page, so I need to
use the BlogEngine framework!)
My preference is to create my own .aspx pages (they actually already exist created using VB.Net, but of course my columns and header won't be exactly the same as those used in the BlogEngine) Does this make sense? can someone please tell me how to add my
own new pages to the BlogEngine Framework? Can I just use one of the Master pages? If so - which one? There is the one in the Themes section and the one in the Admin section. The reason I ask is because after looking at the root level default.aspx page, I
don't see where a master page is specified, nor is there one in the contact.aspx page. Any help would be greatly appreciated.