University Web Developers

University Web Developers

We are in the process of moving to OmniUpdate with a brand new site.   We are working on incorporating  include files for headers, footer, menus, etc. for modularity, and setting up the templates. If anyone has gone through this, any advice is welcome, or share stories that helped you overcome this task.  Thanks!

 

Sylvia Nicosia

Alumni/Web Manager

Farmingdale State College

Views: 70

Replies to This Discussion

I've got OU templates setup with include files (using SSI and the .shtml extension on my pages).

 

I used the <!--#include virtual="<include-filename-here>" --> statement to pull in my include files in the XHTML (functional).

 

To also show the include in the OU Campus "Preview", I use <!-- com.omniupdate.div label="header" path="<include-file-path-here>" --><!--#include virtual="<include-filename-here>" --><!-- /com.omniupdate.div --> (you would modify this to specify the particular include you were using).  Meaning, you would need to change the 'label' attribute to match the include.  Notice that I've got the include statement between omniupdate tags with only a 'label' and a 'path', so you could just use the bold item above to both include your file in the resulting web page, and display the include in the OU Campus "Preview' as well.

 

ExampleI use the following labels for my template's includes -- 'leftnav', 'rightnav', 'header' & 'footer'

 

Hope that wasn't confusing!

 

Let me know if I can be of further assistance.

Justin

Thank you Justin, I really appreciate it.  This is very useful information because it points us to the right direction.  Once you get the template from OU, you do this to call whatever file you want to include on your page.  We are in the pre-OU template phase, meaning we are designing and applying functionality to the pages that will be sent to OU for the creation of templates.  Your information confirms how we should approach this phase by having pages named and containing only info such as for the left navigation, header, footer, content, etc. so eventually for example only one 'header' file exists and is the same file that will be called over and over.

 

Sylvia

XSLT is a good thing! ;)

 

Long live the pcf! LOL!

The templates I have I setup myself (just using the layout I had put together, and inserting the include calls where necessary for repeatable content sections).

 

Setting up templates was surprisingly simple.

 

I had held off for a few years in setting them up, because I had this concept stuck in my head that it HAD to be complicated. (I was wrong..hehe)

 

The day I decided to actually do some reading and figure out how to set up the templates from the existing website's layout(s), I was able to create three functional templates (main site, athletics site, community education site) within a single hour's time.

So far the include files we have on all templates are the header and footer, and eventually a left side nav.  For the include files, is it any preference to just have the information in plain text, or have it in additional div's?

I have the include files setup as divs within the stylesheet.

 

Example, the leftnav include in our stylesheet is the "nav" attribute in CSS, so the include file itself is the opening <div id="nav"> including everything down to the closing </div> (and all the links, etc. in between)

 

Within that div in the leftnav include, I've placed <!-- com.omniupdate.div --> tags around the list items (but not around the <ul> portion, as I have a separate 'ul' class that I don't want editors removing by accident). 

 

So, to wrap it up, I use the <div> of the include area (header/footer/leftnav) as the content of the include file, then I call it into the page using: <!--#include virtual="<filename>" -->.  The result is a web page with the ".shtml" extension (which I've configured my web server to parse as text/html in the mime.types file [Apache web server], so as not to have the page display as code but to render as a web page.)

 

Hope this helps.

It helps greatly, thank you.  Then all I have to do is call the CSS file from the .shtml page for the nav file.  This can also help with reusing the leftnav tag where  'nav'  is included with different navs like 'index-nav', 'academics-nav', etc. in addition of 'nav' to take advantage of modularity.

RSS

Elsewhere

Latest Activity

Christina Anderson is now a member of University Web Developers
9 hours ago
Cary Foster posted a discussion

UI/UX Designer Wanted, Oberlin College

Oberlin College has an extraordinary opportunity for a fun-loving designer to join the supercharged webteam.  Please share with anyone who might be interested!UI/UX Designer Wanted:http://new.oberlin.edu/home/jobs/jobs_detail.dot?id=5405961See More
yesterday
Profile IconBilly McDonald and Meg Thomas joined University Web Developers
Monday
Daniel Bashaw replied to Kimbel Jeffers's discussion Office Reservation software
"Hi Kimbel -- Does you manual process include a checklist and workflow documentation? If not, it sounds to me like checklists and schedulers are your best next steps. You can structure and document what you do now, and then look at it to see if there…"
May 17
Kimbel Jeffers replied to Kimbel Jeffers's discussion Office Reservation software
"The problem is we use a manual process right now and things keep falling through the cracks."
May 16
Annette Spearman replied to Derek Tonn's discussion Freelance web design recommendations (small projects)
"Hi Derek, We can help you! I'll in box you all my info so we can connect and set up some time to talk. Annette "
May 16
Mark Rothbaum posted a discussion

5-Minute Survey on Use of Facebook in Admissions

We're conducting our annual survey on Facebook and Admissions. Please take a few minutes to complete the survey at:http://www.varsityoutreach.com/FacebookSurvey/Our GoalOur goal is to explore trends related to how schools are using Facebook to reach out to prospective and admitted students.How Is the Data Used?All data will be shown in the aggregate. Answers from individual schools will not be released and will remain…See More
May 16
Profile IconSang Yoon and Brittany Smith joined University Web Developers
May 15
Colleen Brennan-Barry posted a discussion

HighEdWeb Welcomes Steve Wozniak & Scott Stratten

HighEdWeb is very pleased to announce HighEdWeb 2013 Annual Conference opening keynote speaker Steve Wozniak and closing keynote speaker…See More
May 15
faris ahmed commented on social networking web design's blog post Megastar Media Webby Award Honorees
"wow thats amazing article .  your stuff never fails to amaze me honestly . great work as always :D  something i would like to add in is that  the entries each year are rapidly increasing .  but i think thats cause they take the…"
May 14
Lynn Zawie posted a discussion

Freelance Web Developer Needed

Stony Brook University web team is looking for some help coding a new design.  HTML5, CSS3, JQuery, Responsive Design expertise needed.  If you are interested in bidding on this project, I am happy to share more details.  Work would need to begin early summer.  ..LynnSee More
May 14
Sara Michel commented on Lynn Zawie's group OmniUpdate
"Great blog post by Higher Education Marketing on leveraging Google pay-per-click ad extensions for higher ed."
May 14
Sara Michel commented on Lynn Zawie's group OmniUpdate
"Check out Naropa University's new online magazine. Looks awesome! Great job team."
May 13
Norma J Dowell replied to Derek Tonn's discussion Freelance web design recommendations (small projects)
"Hi Derek! First of all, apologies for taking so long to respond! Secondly, I am not your web developer for such an issue, but if you can find someone to pick their brain and use as a sounding board, it may be all you need.  In the past, when I…"
May 13
Daniel Bashaw replied to Kimbel Jeffers's discussion Office Reservation software
"Hi Kimbel. I know you've been tasked with finding a software solution, though I'm wondering if you may need an interim step first: Does your institution have checklists covering all of the steps needed in on-boarding, relocating, and…"
May 13
Kimbel Jeffers posted a discussion

Office Reservation software

I've been tasked with finding a software tool that helps manage the onboarding and exit process of new and departing faculty. Ultimately i would like this software to management faculty office interms of when resources can be removed from a particular office and when a new faculty member can be moved in with the necessary resources. This tool should have notifications and alerts so there are no conflicts with someone being removed from a office and someone being placed in a office. Does anyone…See More
May 11
Sara Michel commented on Lynn Zawie's group OmniUpdate
"Congrats to Harper College on going live with their new online course catalog! Looks great!"
May 10
Helen Mosher joined Aaron Rester's group
May 9
Helen Mosher joined Mark Greenfield's group
May 9
Helen Mosher posted a status
"After 8 years being away from higher-ed communications work, I'm very interested in returning."
May 9

UWEBD has been in existence for more than 10 years and is the very best email discussion list on the Internet, in any industry, on any topic

About

© 2013   Created by Mark Greenfield.

Badges  |  Report an Issue  |  Terms of Service