I get this error when I load a page that uses a specific skin ,it was working very well befor .
Could Not Load Skin: /Portals/_default/Skins/MM-SubSites-Arb/inner.ascx Error: The ID 'dnnCOPYRIGHT' is already used by another control.
The error is telling you exactly what to look for: there is more than one control in the inner.ascx file that has an ID attribute of "dnnCOPYRIGHT."
Open the file in a text editor and do a search for "dnnCOPYRIGHT" to find the elements with that ID, and delete all but one of them.
Related
Sir/Ma'am,
I was trying to create a form and get the values from user then displaying the data inserted in the form in salesforce B2C. While rendering it on storefront I got an error "Pipeline not found (SFRAForm) for current domain (Sites-RefArch-Site) in controller SFRAForm error occurred while rendering form on storefront".
1.The cartridge structure looks like this:-
enter image description here
Error message showing on the screen:-
enter image description here
Url extension after the main page url:-
enter image description here
Cartridge:-
Controllers folder:-
1.SFRAForm.Js(pic4)enter image description here
2.SFRAFormResult.Jsenter image description here
forms\defaults:-
1.SFRAFormDef.xmlenter image description here
Templets:-
1.enter image description here
2.enter image description here
I've been through the same problem, even if I used the official documentation for creating a form.
First, the name of the controllers should have a lowercase ".js" .
Then, if you want to execute middleware.http at line 6 in controllers, make sure that you have it in your device, otherwise it would not be executable and the code will render an error page like that.
Try to cut down "server.middleware.http" or make sure the url is the right one.
I'm working on an SSRS template at present which pulls lots of its format information from a database. Part of this format information sets the Background Image of cells.
I'm currently filling the image by setting the Source to External and pulling its value from the database. This works lovely, however It means pulling the image from a network source each time and while a small efficiency hit, I'd like to try and remove that pull if possible by embedding the standard images.
Again this works fine, I can pull either an external image or an embedded image and display on screen. The problem comes when I'd like the option to do either.
I find that I cannot set the image Source from a field, there isn't an option in the GUI.
I've tried going into the code and entering the details there but I get a validation error:
The 'http://scemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition:Source' element is invalid - The value =First(Fields!bodyBackgroundImageSource.Value, "dsTemplate") is invalid according to its datatype String - The Enumeration constraint failed".
Has anyone else come across this and found a solution or know of a workaround? I can continue using only external images, but would prefer to avoid as many external calls as possible.
In our local environment, we tested this scenario and if the expression can return the correct image name, then the image can display properly. You can check if the "First(Fields!bodyBackgroundImageSource.Value, "dsTemplate")" expression return the image name existing under Images folder on Report Data window. And make sure the image source is embedded.
I have created a custom datatype inside "Page Datafolders" on the "Data" perspective.
So, I have added this datafolder to a page and I am using it to show the data in the page with no problem...., but now I want to show this data sorted in admin console.
I tried to create a xml file inside of App_Data/Composite/TreeDefinitions without luck.
So, are there any tutorial to do this?
You are right to create a 'tree definition' xml file inside the ~/App_Data/Composite/TreeDefinitions folder, you should just ensure your definition has this bit:
<ElementStructure.AllowedAttachments ApplicationName="(your app name here)">
<DataType Type="Composite.Data.Types.IPage" Position="Bottom" />
</ElementStructure.AllowedAttachments>
Once you have this defined, you can attach it to a page using the 'Attach Application' command on it.
See http://docs.composite.net/Console/Guide-to-Applications/How-to-Attach-Console-Applications for details.
When I open the help (.chm) application, I could see table of contents. By default, the first entry in the file is selected, however I couldn't see the corresponding page data. Instead, I see "This program cannot display the web page" (the default error message that comes in IE7).The page is displayed only when I click on any of the contents on the left side.
Is there a way of showing the page by default without clicking on the entry?
The following code is the .hhp file.
[OPTIONS]
Compatibility = 1.1 or later
Compiled file=Config.chm
Contents file=Config.hhc
Default topic=D:\apps\bin\Debug\html\Databases.htm
Language=0x409 English (United States)
Display compile progress=No
Title=ETL_Config Documentation
[FILES]
D:\apps\bin\Debug\html\Databases.htm
D:\apps\bin\Debug\html\InstanceInformation.htm
Your default topic should reference a relative file name inside the .CHM file, not a file outside of the .CHM.
What function in Drupal gets file attachment path?
Edit: the attachments provided by Upload module in system section. But since you mentioned there may be another way around it. Maybe I could achieve may goals using FileField module so if you could tell me how to get a direct link of a file uploaded by FileField module that may also be very helpful.
Edit 2:
Ok I will start from my main and final objective:
It is to get an image linking to a file which visibility I could be managed using CCK module.
I am doing this step by step. So now I have written a code which generates the needed image and I have added that image to one of content types teaser. I found a way to warp my image in a tag and I had dug up simple attachments url. So my next step is to advance from simple upload attachment to the one added by FileFields and from odd looking HTML pace in all PHP document into beautifully managed CCK field.
How to fetch file path of a file uploaded FileFields?
Some plain and at the same time rich tutorials for making custom fields for CCK module.
Assuming you know how to get the $node object for a node containing a file attachment, this is super easy:
Upload (core)
$file = upload_load($node);
echo $file[1]->filepath;
Where 1 is the index of the file. Upload can let you upload more than one file, so file 2 would have an index of 2 and so on. If there's only one file, it'll always be 1.
More info: upload_load() API reference.
FileField
echo $node->field_fieldname[0]['filepath'];
Where field_filename is the short name you've used for the field, and 0 is the index of the field. CCK fields let you have multiple values in one field, so 0 would be the first, 1 would be the second, etc. If you only have one value, it'll always be 0.
Note: if you want to get the rendered output of the FileField using its formatters, you can just use $field_fieldname in your node template, or if you want to store the rendered output, you can use:
echo content_format('field_fieldname', $node->field_fieldname[0]);
More info: content_format() API reference.
Upload is a sad little module, and has been completely replaced with a core implementation of FileField in Drupal 7. If you have the option to use FileField, you should.
Don't direct links of file attachments appear below the uploaded file for the core Upload module?
Since you are trying to use images, you should use http://drupal.org/project/imagefield CCK module in order to add images to specified content type. After that using the Display fields tab in Content type configuration you can specify how image would be presented (as a link, image, image with link to node...) both in teaser and body view.