Setting up aliases for css and images directories
Hi
Another beginner question. I am using R2 on Linux.
I am setting up a portal wherein I would like
to reuse many of the HTML web pages from an existing
website within a Portal framework. If you have any
suggestions from experiences like this would be
helpful to me.
I have uploaded all my images to ...portal/images
and uploaded my css style file to ...portal/css
What I need to do now is set up aliases (ENV variables?)
on a system-wide (or portal-wide) level
/my_images/ -> ....portal/images
/my_css/ -> ...portal/css
so that in my HTML code I don't have to have a
hardcoded pathname.
I am not a DBA so I have asked the DBA who set up
my 9iAS Portal about this but he says he is not sure
where this should be set up. He said there is an apache
httpd.conf file, but doesn't think that would be the
correct place to define these aliases.
Thank you for your advice.
Kiirja
The image alias is held in the portal.conf file on the middle-tier at /<oracle_home>/portal/conf/portal.conf
I may have a simpler solution. All R2 default images (for the middle-tier) are located at portal/images. I made a folder under images which I'll call my_images for this example. These images can then be called as follows:
<IMG SRC="/images/my_images/image.gif">
You can create a custom CSS, place it in the Apache document root directory /<oracle_home>/Apache/Apache/htdocs and then call it from an HTML-based simple text item you place at the top of a portal page. It's not W3 spec, but it works with IE 5+ and may work with other browsers.
Similar Messages
-
CSS and Images - won't export behaviors
When I try to export as CSS and Images I get a message "Only slice images from the current state will be included in this export. Hotspot and Behavior attributes will be ignored".
I have tried to de-select the "Current States Only" check box but it is grayed out.
I have upgraded to the latest version. The about box says that I have version 10.0.3.11.
ThanksThe CSS and Images export option will not export any JavaScript based behaviors, so if you have buttons. rollovers, and image swaps then they will not work in the exported files.
For CSS and Images export, slices are only used to indicate what should be exported as bitmap graphics (e.g., JPEGs, GIFs), and you only need to put slices over the parts of the design that are graphics.
I'm not entirely sure why your export files are completely empty, but it sounds like you may not have completely identified what should be exported as a <div> and that you may not have placed slices over page elements that should export as graphics. Unless you have flattened your text to bitmaps, editable text objects should export as live HTML text.
If you can share or point to you file, we may be able to help.
Dave -
Wikis are missing all css and images!
Hello,
I enabled the wikis today, but when I visit it:
http://tinyurl.com/34maae
there are no images or styling.
How can I fix this?
Thanks,
JamesJames,
I fear your post is slightly confusing - clicking on the tinyurl gives a group listing that appears quite normal.
It's possible that you have achieved this by downloading and installing the images etc. by hand but this really isn't the way to go. (Alternatively you may have solved the problem in which case please ignore the rest of this post)
The collaboration folder (which contains javascript, css and image files) is normally at
usr/share/collaboration
on your start up hard disc
and if it's NOT there I would worry about your system install.
If it IS there, a possible source of error is that the location of 'collaboration' is set as an alias in so that web pages can access it simply as 'http://www.website.com/collaboration'
So, I advise you check that you haven't amended this in some way.
Assuming that you have your server set up in Advanced Configuration you could do the following. If you have it as a Stardard or Workgroup config I fear I can't help you as I have no experience as to how the set the alias. Someone else should be able to advise. (Alternatively you COULD start editing the Apache files directly but I wouldn't advise it unless you feel happy doing that and any edit may well get overwritten anyway The relevant files are at etc/apache2/sites/)
Launch Server Admin, select web from the list of services in the left hand column and select the domain name from the list at the top - you may only have one.
Then select aliases from the horizontal list of radio buttons and see what it says for /collaboration, it should read
Alias /collaboration /usr/share/collaboration
Beyond that I don't know what to say.
Good luck -
Css and images are not loading in SharePoint website
Scenario:-
System Configuration- Windows server 2008 R2, SharePoint Designer 2010, SP server 2010 all are in Local Machine.
1. I had reset the Windows server 2008 R2 password and opened SharePoint Designer 2010.
2. Opened previous working site and found error- services unavailable- HTTP Error 503. The service is unavailable
3. For this issue, I reset (as I reset for windows server) the Identity password in App pool for "SharePoint Central Administration v4" application.
4. The error "Service Unavailable" got vanished.
But encountered new problem - .css and images are not loading.
5. I re run "Product Configuration wizard" with below steps:-
A) Do not disconnect from this server.
B) No, this machine will continue to host the website
Still Problem persisting.
What tried:-
1. Resetting IIS Server.
2. Restarted SharePoint Admin Services from "Service window".
3. Recycled App pool.
Just do let me know for further information.
I have Checked so may forum and sites but no solution :(
Looking for excellent resolution :)Check if Style Resource Readers SharePoint group has permissions on the site, permissions to the style library and make sure that this library provides Style Resource Readers with restricted read.
If you don't see Style resource readers on the site, go to that library and set that permission. you could also just load your installation media to a folder, and execute on setup.exe, select repair option. This second option of the installation
media is the cannon vs. flyswatter approach though, but it will work
Stacy Anothersharepointblog.blogspot.com -
I see that many people have already complained about Itunes' backup encryption. I NEVER set a password for it (and the corresponding option is still unticked, as always) yet it asked me for a pwd when I upgraded my 3GS to the 5.0 OS. How to solve this?
To prevent others from reading your mail, don't give them access to your account. If others need to use your computer for some reason, set up personal accounts, or a guest account, and switch to it before allowing them access. This is the simplest, and most effective, method.
Email message files can be read as plain text in TextEdit or any word processor.
To protect your email messages from being viewed by others while in your account, you would have to lock the folder, putting it into an encrypted disk image that required a password to be opened and mounted. You would have to double-click on the image and give your password to mount it before launching Mail then unmount it as soon as you're done. My guess is that you could replace the ~/Library/Mail folder with an alias pointing to the folder on the disk image.
It may work, but it seems like a lot of unnecessary hassle. -
In fire fox and google chrome CSS and images are not loading
I am facing problem with jrun, In IE-8 application is working fine, but in FireFox and Google chrome CSS and Images are not loading.
in fire fox and google chrome requests are Aborted.
thanks
Ashok Gadiparthi.Check if Style Resource Readers SharePoint group has permissions on the site, permissions to the style library and make sure that this library provides Style Resource Readers with restricted read.
If you don't see Style resource readers on the site, go to that library and set that permission. you could also just load your installation media to a folder, and execute on setup.exe, select repair option. This second option of the installation
media is the cannon vs. flyswatter approach though, but it will work
Stacy Anothersharepointblog.blogspot.com -
Exporting "CSS and images (.htm.)" from Fireworks CS4?
Is this an effective process for developing CSS based layouts? Are there any proven tricks to improve the quality of the resulting structure?
It's a starting point, but it does not exempt you from understanding
XHTML and CSS. Currently there are some limitations to what the script
will export: it ignores additional states, javascript behaviors and
won't export more than 1 page at a time. Keep in mind this is just the
"first kick" and we'll no doubt see this feature embellished.
I recommend that you download and read about the updated CSS and
Images export script, modified by Matt Stow. You can find the new
script and his article here:
http://www.adobe.com/devnet/fireworks/articles/standards_compliant_design.html
The article also provides some tips on how to best plan your designs
if you plan to use the script.
HTH
Jim Babbage
NewMedia Services
http://www.newmediaservices.ca
Community MX Partner -
http://www.communitymx.com/author.cfm?cid=1036
Adobe Community Expert
http://www.adobe.com/communities/experts/members/206.html
Author - Lynda.com
http://movielibrary.lynda.com/authors/author/?aid=188
Author: Peachpit Press
http://www.peachpit.com/store/product.aspx?isbn=0321562879 -
Help on Fireworks Css and Images Export mess
Hi,
After slicing up my design and export using 'css and images' the slices are all in the wrong places.
Further more the formatting on the main text section has disappeared and the button from the main section is missing.
Rather unpredictable!
Hopefully there is a simple fix to all this
ThanksIf you go to Pages and make a duplicate (from this page export just the Booking button as an image
Back to page 1. add slices for top navigation
add a slice over text area
In PI change Slice Type to HTML
Export as CSS and images
In DW place the button and add link.
Paste text into content area (now HTML instead of an image)
You'll need to tweak styles to fix margins
BUT - this is NOT the way to make a website. It is all images and search engines can't read an image and it takes too long to load. It's not search engine friendly at all. If it's comping purposes the ignore the rant :-) -
Css and images not working on 3rd party server
Hello,
I have read the previous posts on this subject, but found no resolution.
I can confirm that the CSS and images were uploaded to Media Temple.
The permissions are set to "read"
I didn't change any of the file structures. uploaded as it was output by Muse.
Any new thoughts?
Thanks a bunch.
-keith.I'm back.
Okay Zak thanks...
what browser?
on Safari the html shows up but no styling and the image frames show up but empty.
On fox same thing except no image boxes even.
I have a support request in with MT so I will see what they have to say.
Thanks a bunch and I promise to update any info I gather from them.
-Keith. -
PSC1210 Photo and Imaging Director
Hi,
All systems seem go with the exception of Photo and Imaging Director.
When I click on Phot and Imaging Director nothing happens..no response at all.
All help appreciated.
Thanking you
masaloiJim,
In general, the answer is "probably not". A lot of the software packages that used to run way back when XP was a "current Operating System" are no longer around -- or at least the same packages are not supported in Windows 7 and beyond.
The following applies: Upgrading HP Photosmart Essential or HP Photosmart Studio to HP Photo Creations
The new software replacement may not have the editing capabilities that you were used to. If this is the case, you might consider it time to purchase a software that does have the ability to manage your photos in the manner desired.
Some camera software support sites might supply or offer for purchase some editing software. I know Sony offers some really nice, free software for its camera; no doubt other brands offer something as well.
You might consider PhotoShop - it is not free nor cheap; it works well and you can buy the basic package for around $100 US.
If you need new Full Feature Software for your printer, see:
How to install an HP Printer in a Wireless Network Using an Access Point in Windows 7
How-to: HP Full Feature Printer Driver Install in Windows 7 (USB)
I hope this helps.
Click the Kudos Star!
It is a great “Thank You” for the HP Experts who are here to help!
Kind Regards,
Dragon-Fur -
Hello,
I've created a very basic layout with a header, some columns of text and an image. Everything is aligned perfectly, I've put all the text into rectangles, created a slice for the image, and nothing is overlapping. When I use the Export CSS and Images option, it just exports everything as one big image. What am I doing wrong here?
Thanks,
JasonSure, here you go:
http://www.glowfoto.com/static_image/07-130236L/8862/png/04/2010/img6/glowfoto -
CSS and Images export problems
I am trying to export a page to dreamweaver using css and images method. I have created rectangles for the header, content and footer to create divs. Added text and graphics. When I export, it does not export with html codes and css, it gives me one big .jpg. "Layer_1.jpg". Does anyone know what I'm doing wrong?
Thanks,
Wendy
Message was edited by: wen8 I just found someone else with the exact same problem who said rebooting solved his problem. This also worked for me. Yeah!Problem fixed by rebooting!
-
I have been given permission for unlocking my iphone 3 GS from Orange. I want to set up the phone for my wife to use with a new number and carrier. Do I unlock under my itunes account first ( I now have a new iphone on this account) or set one up for her and then unlock the phone. I am worried about upsetting the new phone.
I would complete unlocking as is and then
restore as new once you know the iPhone is unlocked
Be aware Orange will process the request at their speed
one of the reasons they usually reside at bottom of User Sat surveys
will likely take weeks
This may also help
http://support.apple.com/kb/HT5014 -
Dear All
for printer LaserJet Professional CM1410 any chance to set printing password for windows and MAC?please help?What Windows OS are you using? Are you networked?
If you are networked, you have to setup your file and print sharing options in order to require password assess. If you are just trying to control specific files from being printed, you can do that, too.
If you are just trying to control the amount of printing off of a single PC with a printer, you could setup different accounts for each user and limit their access.
Some of the commercial printers can have password options, but I do not find any password options for the CM 1410, other than what I provided earlier.
If I have been helpful, a Kudo is always appreciated. -
How to set userlevel permission for GFS and NFS
hi
how to set userlevel permission for GFS and NFS?
regardshi
http://www.redhat.com/docs/manuals/enterprise/
AND
http://en.tldp.org/
probably your best bet.
regards
Maybe you are looking for
-
Email notification mail not working in case of customer repository
Hi Experts, We have the system MDM 7.1 SP06, we are not able to get the email notification for customer repository. For other repositories like material & vendor mails are working fine. I Have checked the following steps. 1) Added notification step t
-
Hi all, I am new to JSP. I am using Eclipse 3.2. with all lpugins. The following code throws an error. Pleas help me. <html><body> <%@ page import="java.sql.*, java.lang.ClassNotFoundException"%> <% String connectionURL = "jdbc:mysql://localhost
-
Strange syncing problem with iPhone 3GS
I've got 2 user accounts on my windows box, one for me and one for my sister. Both of us have 3GS's. I can sync my phone and transfer music to it without any issues. I haven't synced my sister's phone in quite some time. I plugged it in last night, a
-
Why is my text messaging not working
My text loads almost the whole way, and then tells me it failed to send. My phone can make calls and use the internet but wont let me text or iMessage. I have tried resetting the network settings and the hard reset (holding home and lock buttons at t
-
HT204365 Can't get my ePub book to show up in my library
I cannot get an ePub book to add on to my Book library on iTunes yet it says I can read them on my iPhone, what am I doing wrong? I've tried to add it by the file option and by clicking and dragging it to the library and still nothing!