Template Path Issue ...
I sent a DW template -- a .dwt file -- to a colleague for them to use to create some pages with their copy of DW. But the files they're creating are not reflecting the path structure of the template. Instead they are prefaced by "file:/// .." etc. What are they (or we) doing wrong?
Thanks.
If the site folder structure and file placements on the two systems are exactly the same, then you should not be getting this error. Are they?
Also if on a Mac, what are the two hard drive names? And are there any folders in the path to the local root that contain unusual characters like apostrophes or ampersands?
Message was edited by: Murray *ACP*
Similar Messages
-
How to setup a template to issue SHA1 certs if I have a SHA256 chain
Hi All
Can any one tell me how to setup a template to issue SHA1 certs if I have a SHA256 chain. I looked at the templates and I didn’t see where it is specified?
Puneet SinghCertificate signature algorithm is CA-wide settings and independent from certificate templates. You have to configure your CA to use SHA1 signature:
certutil -setreg ca\csp\cnghashalgorithm sha1
net stop certsvc && net start certsvc
Vadims Podāns, aka PowerShell CryptoGuy
My weblog: en-us.sysadmins.lv
PowerShell PKI Module: pspki.codeplex.com
PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
Check out new: SSL Certificate Verifier
Check out new:
PowerShell File Checksum Integrity Verifier tool. -
Document-relative Template paths in templated files?
Is it possible to make Dreamweaver use document-relative
paths to parent Templates rather than root-relative? My site
definition is setup so such that the local folder is the root of
the web site. However, on the server the site is actually in a sub
folder, so the real web root is not the same as this web sites
root. So, something like this:
Local root folder = C:\...\Project Name\www2\
(Local templates folder = C:\...\Project
Name\www2\Templates\)
HTTP Address =
http://www.mysite.com/clients/client-site/
(Remote templates folder =
http://www.mysite.com/clients/client-site/Templates/)
The end user will be using Contribute to manage the content
on this site, so I'm using Templates to control some aspects of the
site. My problen is that the path back to the Template is being
written as a root-relative link:
InstanceBegin template="/Templates/navigation-sub.dwt.php"
When I then connect to the site using Contribute and try to
edit a page, I get an error saying that it can't find the template
(which is true because the template is actually in
"/clients/client-site/Templates/navigation-sub.dwt.php" and not
"/Templates/navigation-sub.dwt.php"). I have the Links Relative to
Document option checked in my site definition, but that appears to
only apply to regular links and not paths to Template files.
Murray had mentioned some technotes that addressed this, and
I think I found the ones he was thinking of, but they seemed to
only address regular links and it wasn't clear if the Template
paths were affected by the solution (which was to set the Links
Relative to Document option which I mentioned above).
So is it possible to tell DW to use document relative paths
to its template files? I know you're thinking "Why not just create
the local folder with the client and client-name folders," but this
wouldn't work as the site will eventually be moved to the clients
own website where the site files really will be in the site root.
This is the whole reason for using document relative files in the
first place. Any help would be greatly appreciated.OK, apparently I'm not explaining myself enough here because
you guys keep giving me the same answer to something that I've
already said isn't a viable solution. Let me explain in greater
detail why just updating the local folder structure won't work.
Let's assume that I did do what you suggest. My local folder
could technically stay the same but I'd add two additional
directory levels ('clients' and 'client-site') to match the site
structure on my testing server. I then move all of the existing
files into the lower 'client-site' directory *except* for the
Templates folder because DW likes that to be at the "root" of the
"site". So now assume my local site looks something like this:
C:\...\Project Name\www2\ (DW would consider this the "root"
of the site)
.....clients\
..........client-site\ (i'll refer to this as the client root
for simplicity sake)
...............articles\
....................doc_a.html
...............images\
....................img_a.jpg
...............index.html
.....Templates\
..........client-template.dwt
If DW is writing the Paths back to the Template file using
site-relative paths then file index.html in the client root (i.e.
/clients/client-site/) would have the path back to template
client-template.dwt written as follows:
InstanceBegin template="/Templates/client-template.dwt"
Also assume that img_a.jpg is the client logo that will be
used on all of the pages and so it is in a protected part of the
template. The document-relative path from the template
client-template.dwt to the image would be:
<img src="../clients/client-site/images/img_a.jpg">
Of course since my site is defined to use document-relative
links then this path would resolve to just "../images/img_a.jpg"
for index.html.
OK, so far so good. I upload all of this to my testing
server, give my client a connection key for Contribute and let them
test away. They love it (naturally) and want to move everything to
production. This is where your suggested solution falls apart.
In order for the site to continue to work as-is I would have
to copy the entire directory tree (/client/client-site/etc) to the
clients web site, so what should be www.client-site.com/index.html
becomes www.client-site.com/clients/client-name/index.html. I also
have to copy over the Templates folder, stripping out any other
Templates that might be in there (my own site template for
example). Not only is this cumbersome, but the client hates the
fact that there are all these subdirectories in their URL (as
finicky as clients are) and they think it is unprofessional. My
whole purpose for developing using document relative links is so
that no matter where I plop the site, it will work as intended.
OK, the first fox for this that comes to mind is to take just
the site files (so everything under /clients/client-name/) and plop
that into the root folder on production. All of the existing files
should work fine since they use document-specific links. However,
the client still needs to use Contribute to edit these documents so
I have to copy over the Template folder. I can put that into the
root since all of the paths back to the template are root-relative,
right? Wrong - because all of the links in the template still point
to the files as if they were in '/clients/client-name/', which they
no longer are. So any new files based on the template will contain
broken links, and any updates to the existing files might also
result in broken links.
So then I need to keep two versions of the site? And if I
make a change to the template on the testing site, I then have to
reconcile the changes to the production version? Way too much. And
all of this would be irrelevant if I could just use
document-specific links back to my templates.
Does it make sense now why updating the site structure isn't
as optimal of a solution as you are making it out to be.
quote:
Originally posted by:
Newsgroup User
Create a new site definition for this testing site that uses
the correct
root directory. Then it doesn't matter.... -
Crystal reports templates path
Hi,
I have a question for Crystal reports template path with SAP Business One 2007A. Where can I find the report template path setting? So I can find those templates.
I worked on B1 2005 before, need some help for Crystal reports.
Thanks a lot.
ChristinaHi, Gordon
Nice to know you here. hehe, my "BenJia".
Yes, I found those templates files in the share folder. But I thought I can find the setting screen in B1, just like other path setting "Attachments Folder".
And, 2nd question, then. Can I open design window for Crystal reports from somewhere in B1? Or the only way to do it is to open Crystal reports software, then edit templates?
Thanks Gordon.
Regards
Christina
Edited by: Christina Du on Sep 7, 2010 2:35 AM -
Word 2010 Template Saving issues
When I save my new templates, they do not appear in the "My Templates" folder. What is the path for this folder? I can find the template in Recently created, but never in My Templates. I don't see a way to set the template path in the
options section either.
Any help would be appreciated.When I save my new templates, they do not appear in the "My Templates" folder. What is the path for this folder? I can find the template in Recently created, but never in My Templates. I don't see a way to set the template path in the options
section either.
Any help would be appreciated.
The path of the folder is (on my Windows 7 machine):-
C:\Users\user_name\Documents
The above is also known as the Libraries / Documents folder. -
[svn] 4018: Adding templates-path as a supported attribute of asdoc
Revision: 4018<br />Author: [email protected]<br />Date: 2008-11-04 14:43:47 -0800 (Tue, 04 Nov 2008)<br /><br />Log Message:<br />-----------<br />Adding templates-path as a supported attribute of <asdoc> <br /><br />QE Notes: None<br />Doc Notes: None <br />tests: checkintests<br /><br />Modified Paths:<br />--------------<br /> flex/sdk/trunk/modules/antTasks/src/flex/ant/AsDocTask.java
[list]
[*]. is an abbreviated syntax for self::node(). It's not correct syntax to use the dot after an explicit axis name.
[*] self::foo matches the current node if it is a <foo> element. self::* matches the current node if it is an element. self:node() matches the current node.
C. parent::node() is the "long form" which has .. as its abbreviated syntax. They are designed to give the same results.
[*]OracleXSL does not current implement the namespace axis yet.
[list] -
Air Application URL Path Issue
I am trying to invoke a content of the file which is in shared folder from Air application.
Version : Flash builder 4.5,Flex3.6 sdk and Air 2.7.
for this am using the below code..
var request:URLRequest = new URLRequest();
//request.url = ('file:///c:/params.txt'); - This is working fine
request.url = ('file:///172.20.188.25/Share/chk/Property/params.txt'); // its not working
trace("Unable to load URL: " + request);
var variables:URLLoader = new URLLoader();
variables.dataFormat = URLLoaderDataFormat.VARIABLES;
variables.addEventListener(Event.COMPLETE, completeHandler);
try
variables.load(request);
The same part of code ,I tried in Flex application is working .but in Air application its not working.
Its urgent requirement,If any one know the way to resolve this path issues.
Kindly let us know.
Thanks in Advance !!I tried in the following URL but no use ..
its throwing ioError and textError and stream error.
1.file:///172.20.188.25/Share/chk/Property/params.txt
2.http://172.20.188.25/Share/chk/Property/params.txt
3. //172.20.188.25/Share/chk/Property/params.txt
Is there any other solution for this issue ? -
Leopard + Numpy + Scipy: Path Issues Remain
+This post has been cross-posted on the pythonmac-sig mailing list.+
I've been reading about the python path issues with Leopard and have tried the different methods outlined for addressing this problem with no good result. Currently I am using a combination of .pth files and a modification to my ~/.profile. One nagging problem is that SUDO commands do not maintain these settings. When I install wxPython, these go into the /System folder, not my /Library/Python folder. Also, when installing scipy, numpy.distutils.core cannot be found.
sudo python scipy_dir/setup.py install
I've installed numpy 1.0.4 and this is placed in /Library/Python/2.5/site-packages. I've also installed the MacPython from python.org. When running python from a Terminal window, the correct version of numpy gets loaded (1.0.4). However, as has been documented before, sudo overrides these settings, so when I attempt to install scipy, the following error shows up:
Traceback (most recent call last):
File "setup.py", line 55, in <module>
setup_package()
File "setup.py", line 29, in setup_package
from numpy.distutils.core import setup
ImportError: No module named numpy.distutils.core
Has anyone found a way around this?
Just for good measure, I've included my current sys.path (after a sudo call):
['/code/libs/scipy-0.6.0', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-s criptpackages', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages' , '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/ wx-2.8-mac-unicode']Hi, newbie730
On my system, the numpy module is not found in
/System/Library/Frameworks/Python.framework/Versions/2.5/lib
but rather in
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python ...
perhaps your sys.path is missing an element?
To elaborate a bit more, the solution that worked for me was to either just use the default version of python (/usr/bin/python), in which case numpy works just fine with no further tweaking, or if I want readline support to use the interpreter from fink (/sw/bin/python), and set the environment using the PYTHONPATH variable:
(all these should be exported)
# for python:
PYTHONPATH=/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/p ython/:$ROOTSYS/pyroot:$ROOTSYS/lib
# 'base' files, including numpy and scipy installed by apple + ROOT stuff
PYTHONPATH=$PYTHONPATH:/Documents/Code/python #add my own modules
PYTHONSTARTUP=/Users/#####/.pystartup
PYTHONDOC=/sw/share/doc/python25/html
I'm not sure if that answers your question...
Caleb -
I believe I have some pathing issues and was wondering how I can change the pathing so that is can be view publicly. The problem is my videos are being played from my local folder and can't be access via web browser for other users.
It's in the code area, and I tried pasting it (didn't show anything) and then executing the code, and it didn't do anything.
I then tried creating a text area on the page, and went to the Edit menu - and "Paste Special" was the only available option. So I tried that, and it says "Source: Unknown Source" and the only option I have is to Cancel.
I then went into Flash CS6, and copied a line of code from that. I tried pasting it into the Flash CC 2014 actions console, and it did nothing. I then went back to my text area (still in Flash CC 2014) and it pasted the code in there fine.
So, it looks like I still cannot copy from or paste into the actions panel Flash CC 2014, which is what I need. But, maybe this sparks another idea? Thanks for your help, I appreciate it. -
%PATH% issue sending job
11g grid control, 11g agent, 9i database
installed agent, echo %PATH% and dont see the agent binaries there.
created a job locally on machine for rman, runs ok from command line and scheduled tasks but fails from grid control when I created an OS task job. server has dbschedule as its preferred credentials
Put some logging in, can see it logged on as dbschedule.
however the %PATH% now has my 11g agent install path at the front of the path so is failing as the 11g binaries are incorrect for the 9i database.
I can get round this by setting the paths and homes in the script. However.....
If I send an RMAN specific job down from grid control it fails as well but this time it forces grid control to lose its configuration with the 9i database. Im pretty sure its related to the PATH issue above.
anyone know why this is happening and how to fix? Im pretty sure its the logon interactive and logon as a batch job are the issues but dont know why the PATH would be different.answered this myself in case anyone else comes across it. If you call an OS job from grid control ,the agent on the server that your calling, prepends the path with the agent version binaries, so if your path on the agent server is d:\oracle\9i and youre using an 11g agent
calling the OS job from GC means the PATH gets changed to d:\oracle\11gagent\bin;...more 11g paths;d:\oracle\9i so the wrong binary is used for sqlplus or RMAN or whatever tool you wanted to use
Should always be putting paths in any OS script anyway but interesting to note the behaviour. -
Hello,
Can anybody please help me with a replacement path issue which I have been struggling with for days, and I am completely lost
now and close to despair!
Here's what I am trying to do. I have a simple query with one key figure (let it be Presence) and three items in structure in rows: 0EMPLOYEE, 0PROFIT_CTR and variance. The idea is to show the result both for the person (0EMPLOYEE), and compare it with their overall profit centre result, and calculate variance.
For example:
John Doe: 50% (presence)
Profit centre which John belongs to: 40% (presence)
variance: 10%
The only variable I want to input is John's name, and the query is supposed to find his current (time dependant) profit centre (0EMPLOYEE_0PROFIT_CTR) and use it to calculate the profit centre result. Is there any way that I can achieve this?
Once the query is done, I want to set it up on the Broadcaster to run for all the people in the firm.
Please please help me,
Cheers,
AgataAglukas,
You need two queries to achieve this
Query 1 u2013 ( this gets Profit center of that employee to feed into Query 2)
Column Presence(key figure)
Row u2013 profit center
Employee u2013 Employee variable that is user entry
Query 2 u2013
Column u2013 Presence
Row Structure u2013 Selection 1- Title- Employee u2013Restriction should be employee with user entry variable
Selecton 2 u2013 Title For entire profit center u2013 Restriction should be Profit center u2013 Variable should be-Replacment path Variable- fetching Profit center from Query 1
Selection 3 u2013 Selection 1-Selection 2 this could be a cell defination.
Hope this helps
Regards -
Cs5 "local disc" and .js path issues
Trying to add what appears to be a simple .js script to my doc:
I add the script to my <head>, which then shows next to my Source Code and other scripts. But it doesn't work, and when I click to open the file there, I get the message 'not on local disc', and 'Get' which doesn't work either, even though the file is in my local file view/f8. One would think when the script name pops up next to Source Code, the doc. path is correct, but that obviously isn't the case. So what is the deal with this 'local disc'?
I added a clearbox last week after pulling my hair out over the similar path issues, and after much trial and trib it finally worked. Would rather just like to understand it. Can anyone help? Thank you.
The .js' Column' script I'm trying to add is here if it helps: http://www.projectseven.com/tutorials/css/pvii_columns/index.htmI also would like to know how to do this!
-
Path issue leaving me unable to add blog post content in design view
Hi guys,
I am unable to add blog post content in design view when a template is applied to my blog. BC support have told me they fixed the problem by making minor changes to the paths of the css and javascript files and then told me to post on here for the solution.
When I call the files using <link rel="stylesheet" href="/css/custom.css" /> everything displays perfectly but in BC I can't add blog post content in design view. I can edit in html but this isn't ideal for clients to update the blog.
If I change the paths to <link rel="stylesheet" href="css/custom.css" /> it fixes the problem and I can then edit blog content in design view but all blog pages that are in folders display incorrectly. Only the main blog page display properly.
I'm sure the answer is simple but I can't find it so any help would be greatly appreciated. Thanks
PeteI took a look at your page URL and can't find any CSS issues or styles that would directly affect you editing/adding content to a blog post via the content editor.
Make sure you either clear your cache or try in another browser to see if the problem is localized to your current browser.
If you still have the problem can you link me to a screencast (you can use Jing if you don't have a screencast program: http://www.techsmith.com/jing.html) of what you are experiencing? -
Missing template/layout issues post-content migration
We are attempting a migration of data and content from 6.3 to 6.2 (for SAP EL integration) and we are seeing two issues. About 1/3 of the meetings display a node with the message: "The template you are looking at is the one we use if the default template feature is not working", another 1/3 show a blank meeting board and have no available layouts, and the remaining 1/3 work fine.
We are still trying to determine if this might be a versioning issue by examining creation/mod dates of the meetings and underlying templates but have yet to find a discernable pattern. Note, all meetings function without issue in the 6.3 system.
My next stop is hunting for DB discrepencies...
Any help appreciated,
LeeDoes anyone know where/how the file system path to content is configured? I have looked through the DB and App file dir with no luck. The (target) lab system I am using was installed with a non-default path (D:/AdobeConnect/breeze...) and the (source) migrated content came from a system with a default path (D:/breeze...). When attempting to access the content library, the object display window just times out. I have verified the content does exist in file system and is uncorrupted.
Any help appreciated,
Lee -
I upgraded to Dreamweaver 8 this past year, only to run into
an issue when working with templates that i wasn't having in
previous versions. Have been a web designer for 9 years, so
needless to say, frustrating at best! When i create text links on
the bottom of the site on the template, and only put reference to
the site file... i.e. ../sitemap.htm instead of
http://www.mysite.com/sitemap.htm
dreamweaver seems to create a path Template/sitemap.htm on the
actual site pages. THis is happening as well with my navigation,
which is an external js file. My only work around is to put the
full path, which becomes a pain when i'm creating a site on a test
area. I have to re-do the liinks on the final launched version.
Anyone running into this?> and only put
> reference to the site file... i.e. ../sitemap.htm
Are you typing in what you think the path should be, or are
you clicking the
folder icon and browsing to the actual file?
Paths in templates should work IN the template- they should
be the relative
path from where the template is to where the desired file is.
Then when you
create a child file of the template, dreamweaver will adjust
and manage the
path for where the child page is saved to.
Don't make the path in the template what you want it to be in
the child
files- just have it be correct IN the template and dw will
manage it for
you.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/
Maybe you are looking for
-
how do i increase memory of itunes library on my mac desktop?
-
Recording Audio and Midi at the same time in Logic 7 Express Can it be done
I am wondering if I can record audio and midi at the same time in Logic 7 Express. I am running my guitar thrugh a Roland GR 33, and a line out and using the GR 33 to trigger sounds in the Logic's synth section but cant seem to record all three track
-
HT201210 what is - can not restore ipad due to error code 2006
trying to figure out what error code 2006 is - it is not one listed and I can't restore my ipad to factory settings
-
I noticed that the startup screen (the one with the grey apple) is being displayed at a lower resolution. I can tell because it looks all fuzzy on my LCD which has a native resolution of 1280X1024. Also, when I'm at the boot camp selection menu the d
-
Where can find a simple BPEL example using Jdeveloper
Hi, I'm a beginner of BPEL. I searched about BPEL developing documents on OTN, but I cannot find an example for Jdeveloper. Who can tell me how Jdeveloper create a BPEL project, then call the BPEL in JSP/JSF. Thanks. Stone