Content layout on Contribute

I just need to find out if is it possible on contribute to be
able to upload changes on a website without in anyway altering the
design, like for example on the news page, would it be possible to
have on contribute fields where the user can input news with
seperate fields for the date and a field for the news? Basically
whereby the page will always have a standard format?

PHP:
change format as you like:
http://nl3.php.net/manual/en/function.date.php
code example:
<?php
$date = date("j-n-Y");
echo $date;
?>
Javascript:
view:
http://www.tizag.com/javascriptT/javascriptdate.php
code example:
<script type="text/javascript">
<!--
var currentTime = new Date()
var month = currentTime.getMonth() + 1
var day = currentTime.getDate()
var year = currentTime.getFullYear()
document.write(month + "/" + day + "/" + year)
//-->
</script>

Similar Messages

  • HTML content layout substitution tags

    Hi,
    We have a multi-language Portal 10.1.4 and use HTML content layout substitution tags in a HTML Template. The problem is that we would like to use the ITEM.PUBLISHDATE.LABEL and the ITEM.UPDATESDATE.LABEL tags but the text rendered isn't exactly what we would like to get (f.e. in English it's 'Publish Date' and in French it's 'Date de mise à jour').
    I looked in the documentation and found that the text rendered correspond to the display name of the attribut (not 100% sure of this). But, those attributs are in the Shared Objects and we can't modify them.
    1. We would like to modify the display name of those attributs (both in French and in English) or find any other way to make it.
    2. We also want to apply an other format to the date retreived with the ITEM.PUBLISHDATE.VALUE and the ITEM.UPDATEDDATE.VALUE tags.
    Can someone help us with those issues ?
    David

    Yes, we added languages in the Translation tab of the shared object pagegroup properties.

  • Developers Sample, Content | Layout bar

    Ok, this is a weird question, but here goes. Looking over the template files for the content | Layout link bar, I can't find for the life of me what file actually calls it! I use JSPTabContainer & JSPEditContainer, and have found a few references to it in the files themselves, but never have been able to find the file that actually controls it's content (I want to adjust the code myself).
    Thanks

    Eureka, that's it! Next question. What file calls this code? You were 100% correct, that is the file I want, but I am also curious as to moving it from the top of the developers sample to the bottom, so I need to find out what "higer-level" file is including it.
    Somewhat related question: Is there any documentation on how the "templating" system works? Looking over the portal documentation really has given me much help. I figured out the theme sysetm by just pouring over the files, but there are just too many folder and files to understand the "desktop" scheme and how the different portions are organized (Perhaps even documentation on creating a desktop from scratch. Currently, as you can probably guess, I am starting with the developer sample desktop and modifying it piece by piece until I get what I need). Any other docs out there that might be of some assistance?

  • Creating a new WPC Content Layout for a Link List

    Hello all,
      As I've been lurking about the innards of Web Page Composer, I noticed that the Link List contains two different XSLTs for it representing different "Content Layouts".
      Has anyone added a new Content Layout for an item?  If so would they happen to have some high level steps on accomplishing it?  It doesn't appear to be as difficult as some of the other custom configurations in adding new content types and new forms. So far I suspect the steps are:
    Create the new XSLT and upload to KM.
    Go to System Admin/System Configuration/KM/CM/Editor/Stylesheets/Stylesheets and hook up the XSLT to the engine
    Go to System Admin/System Configuration/KM/CM/Editor/Stylesheets/Stylesheet Groups/Document Styles Groups and add the stylesheet to the lists group.
    Bounce the Portal
    That seems to be it, but it would shock me if it was all that was required.
    Any thoughts?

    So I answered my own question.
    It is as simple as I listed above. To create a new list rendering:
    Simply create the new XSLT and stick it under /etc/wpceditor/styles
    Then create the StyleSheet reference under: System Admin/System Configuration/KM/CM/Editor/Stylesheets/Stylesheets.
    Then add the StyleSheet reference to the "lists" group.
    Bounce the portal.
    You'll have a new option when you select the style.

  • Bug in HTML Content Layout ?

    Dear all,
    I'm facing something weird...
    I've created an HTML Content Layout to display ITEMS on my own way.
    If i want to display the CREATEDATE like this
    htp.p('#ITEM.CRETEDATE.VALUE#');
    or like this
    htp.p(to_date('#ITEM.CRETEDATE.VALUE#', 'DD/MM/YY'));
    everything's correct.
    But if i want to display the PUBLISH_DATE like this :
    htp.p('#ITEM.PUBLISHDATE.VALUE#'); ---> OK
    but
    htp.p(to_date('#ITEM.PUBLISHDATE.VALUE#', 'DD/MM/YY')); ---> returns nothing !
    Same behaviour with my own "DATE attribute".
    htp.p(to_date('#ITEM.MYDATE.VALUE#', 'DD/MM/YY')); returns nothing...
    Thanks for any ideas.
    Max.

    I think the problem is that the publish date includes date AND time so you'll need to also add the time format when doing TO_DATE. Then you can TO_CHAR it to whatever format you want to show, if you want it different than the default for your system. In the following, I'm changing the date format on our system to be shown as DD/MM/YYYY w/o the time.
    HTP.P(TO_CHAR(TO_DATE('#ITEM.PUBLISHDATE.VALUE#','DD-MON-YYYY HH12:MI PM'),'DD/MM/YYYY'));

  • HTML Content Layout

    Hi,
    I'm currently using Oracle Portal 10.1.4.2.0.  I've built an HTML content layout to display my document/item content in the style and layout I want and all is working fine.  I now have a requirement where a user is to upload a lot of content at one time using a zip file.  I need to have the "unzip" link displayed next to the file name as is designed in portal.  However, the link does not display because I do not have this as part of my template.  So my question is, how do I get this link into my layout template?  Is there a substitution string for the unzip?  If so, I can't find it.
    Thanks in advance for any pointers in the right direction.

    Try this.
    <oracle>
    if '#ITEM.TYPE#' in ('baseportletinstance', 'portlet_instance') then
    htp.p('#ITEM.PORTLETCONTENT#');
    else
    htp.p('#ITEM.DESCRIPTION#');
    htp.p('#ITEM.CONTENT#');
    end if;
    </oracle>

  • HTML Content Layout Tables

    I need to set up a new HTML Content Table Layout. I can get the table set up, but I can't get the header to not repeat. Does anyone know how to set up a table layout with a non repeating header?

    HTML Content layout repeats for each item in the region. You should set the header above the content region seperately.
    thanks
    Suresh

  • HTML Page skins and content layouts

    We're running Portal 10.1.4 and trying to use page skins and content layouts to override the portal-generated html to comply with our accessibility standards.
    Portal still inserts some of its html, even though I attach my own html templates to the region and page.
    For example: it surrounds each item in my regions with another HTML table, and throws in an iframe tag with some custom JS.
    Our templates do not use tables for layout, but the html code Portal inserts in between is breaking our pages.
    Any thoughts?

    That's what I was afraid of too. I just took some Oracle training on Portal, and when I asked our instructor about this particular issue, he kind of dodged the question.
    I'll look into the docs some more for the custom renderers.... but won't it do what HTML content layouts already do for you?
    I looked at the W3C WCAG, Oracle claims Portal is AA compliant (Priority Level 1 and 2)
    Priority 1:
    5.1 For data tables, identify row and column headers.
    5.2 For data tables that have two or more logical levels of row or column headers, use markup to associate data cells and header cells.
    I don't think Portal includes the row and column identifiers.
    Priority 2:
    Do not use tables for layout unless the table makes sense when linearized. Otherwise, if the table does not make sense, provide an alternative equivalent (which may be a linearized version).
    5.4 If a table is used for layout, do not use any structural markup for the purpose of visual formatting.
    I don't think the tables, when linearized, will make sense to Screen Readers, especially if the page design contains many regions. (ie nested tables) We've tried the JAWS screen reader in the past, and it red across table columns, not down. (problem when you have a 3-column layout, the reader reads the first text item in the first column, then jumps over to the first line of text in the middle content column and so on...)

  • Examples of conditional statements in 10.1.4 HTML Content Layout Templates?

    I've read all the documentation on metalink/OTN and gone through the OBE but what I really need to see are some REAL WORLD EXAMPLES of an html content layout for an item region that may have a mix of several different item types and display options. What is the best way to handle the conditional statements for item types and display options in an HTML Content Layout Template?
    Hey, hasn't anyone started a SKINS/TEMPLATES web site for Oracle Portal yet???
    :-)

    Since I have multiple item types allowed in a page group and I want any of them to be used for an Items region, I am trying conditional statements based primarily on #ITEM.TYPE# and #ITEM.DISPLAYOPTION#. I have an html content layout I've been working on (lots of trial and error!) for use in an Items regions but I'm still looking for some examples that other people may have implemented in their portal.

  • WPC - Select Content Layout

    We just applied Patch 1 of SP14 to fix the issue with transports of pages that include portal iviews. This problem has been resolved, but we are no longer able to select the content layout of content within a page.  The menu option is greyed out.  Selections that were made before the patch was applied have now reverted back to the default layout.   Selections that were made before the patch was applied is being remembered though.
    Is there some additional configuration that needs to be done?
    Here's the entry from the log that seems to indicate some problem.  Has anyone seen this issue?
    #1.5 #005056B245B90093000000E8000024E0000447A73E42F616#1204683536359#com.sap.nw.wpc.core.toolbar.LayoutAction#sap.com/irj#com.sap.nw.wpc.core.toolbar.LayoutAction#mwohl#3584##n/a##8aaea2a0ea5611dc9418005056b245b9#Thread[PRT-Async 16,5,PRT-Async]##0#0#Error##Java###Error checking applicability of toolbar command
    [EXCEPTION]
    #1#java.lang.NullPointerException
         at com.sap.nw.wpc.km.service.layout.DefaultLayoutAdapter.mergeWithLayouts(DefaultLayoutAdapter.java:304)
         at com.sap.nw.wpc.km.service.layout.DefaultLayoutAdapter.getLayouts(DefaultLayoutAdapter.java:275)
         at com.sap.nw.wpc.km.service.layout.DefaultLayoutAdapter.getLayouts(DefaultLayoutAdapter.java:211)
         at com.sap.nw.wpc.core.toolbar.LayoutAction.isApplicable(LayoutAction.java:70)
         at com.sap.nw.wpc.core.toolbar.ToolBarManager.getHoverMenuString(ToolBarManager.java:422)
         at com.sap.nw.wpc.runtime.ContainerComponent.doDesign(ContainerComponent.java:114)
         at com.sap.nw.wpc.runtime.ContainerComponent.doEditinplace(ContainerComponent.java:63)
         at sun.reflect.GeneratedMethodAccessor832.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:134)
         at com.sap.nw.wpc.runtime.AbstractDisplayComponent.service(AbstractDisplayComponent.java:101)
         at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:273)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Edited by: Vijay on Mar 5, 2008 11:57 AM

    This issue has been resolved in SP14 Patch 2

  • Plsql in html content layout

    Hi,
    I define an item type and a content layout to display that item type.
    in the content layout, it is need to call some API package in PORTAL schema.
    between <oracle></oracle> tag, I made a call like
    package_name.procedure_name(parameters) but it fails.
    PORTAL.package_name.procedure_name(parameters) also fails.
    how to make that call works? how to specify a shcema for plsql?

    You may wanna see the item attributes defined for your item.
    If it is a custom item of type 'none', then check the following:
    * go to Navigator, pull up the item through search, and click Edit in front of the item types.
    * now click the second tab (Attributes)
    * see if the item has in its attribute properties Plsql Execute Options listed or not.
    In order to process a text using pl/sql commands we should have a PLSQL Execute option in this list of attribute properties.
    one other way to test it is to just write some simple statement like the following within the <oracle> tabs and see if your item responds.
    <oracle>
    declare
       v_user    varchar2(10):=portal.wwctx_api.get_user;
    begin
       htp.p(v_user||'<br>');
    end;
    </oracle>hope that helps.
    AMN
    [br]

  • Table of contents - layout

    Hello!
    I need to create a table of contents but I do not know how to change the layout. The table of contents has no structure:
    http://img253.imageshack.us/img253/703/tableofcontentsunstructxh8.jpg
    I have 3 types of titles. I tried to page it up manually. But after that it could not automatically be updated.
    I would like to have this structure:
    http://img444.imageshack.us/img444/6190/tableofcontentsqr3.jpg
    What should I do?
    Thank you.
    Bye
    Verena

    Reading the manual or help on how to create a TOC would be a first step, so you know how the program works....
    But to cut to the chase, you should probably go into your book file and delete your existing TOC because whatever change you made has corrupted it. It's easier to start with a fresh file than try to figure out what brokie.
    Next, Add a new TOC to the book file, and set it up to record the types of tags that you want to display. Save and update the book.
    Is your second "finished" .jpg from a file that you can open, or can you open a properly formatted TOC file? If so, open it. If not, look in your Frame templates directory for a TOC that's similar to what you want to achieve. Open that.
    In your real TOC, execute File > Import > Formats and specify the "model" TOC as your source. The only format you may want to not import are Variables. Get everything else.
    After you import the model formats, save your real TOC. In the book file, Update. Your TOC should generate with the new formats in place. From there, it should be a relatively easy job to modify the formats, a step at a time, to get to the finished product.
    Art

  • Editing  spry tab content  using  adobe contribute 4

    Hi Everyone,
    We have used Sprytabs for different tabs section for there respective pages.
    We are using Contribute CS4 for editing spry tabs content, But after study I have figured that we can't edit
    sprytabs using Contribue CS4
    Is there any way in contribute that we can edit Spry tab content in contribue CS4
    Thanks in advance!
    Rohit Yog

    Spry widget editing is allowed from Adobe Contribute CS5 version only. Please refer to http://blogs.adobe.com/contribute/2010/06/spry_widget_rendering.html

  • HELP! Problems retaining content & layouts b/w sessions.

    I prepared a layout, upload content for a meeting back on July 21st,
    Then, on July 29th I changed the layout and content and ran a different meeting
    Today, when I logged in to update my content from July 29th I found all my changes were gone and the meeting space had reverted BACK to what I had on July 21st instead of having retained my changed made on July 29th.
    I lost all my work - why?  When I look at "uploaded content' I can see what I uploaded is there, but for some reason the layout and use of the content did not.
    Please advise!

    Was this issue ever resolved?

  • Content editors and Contribute

    I am the webmaster, and I want the content editor to edit
    pages from her computer.
    The manuals discuss the key and somewhere it mentions that
    users can edit pages in Micorsoft Word, but nowhere does it say
    that the content editors must have Contribute and/or Dreamweaver on
    their computer. Do they?
    Could someone please enlighten me on this simple and probably
    very obvious point?

    Hello GretchenG,
    Upon installing Contribute 4, you have the option to install
    the Contribute plug-in to MS Office Applications. It is this plug
    in that would allow you to edit pages in MS Office Applications and
    publish it to the website. However, the plug-in still requires the
    actual Contribute application for it to work.
    To answer your question, Contribute is still required on the
    users' machines if they are to edit/publish content to the
    website.

Maybe you are looking for

  • IOMMU explanation of kernel parameters

    Hello! I've set up an HTPC with an AMD A4-5300 CPU, A75 (Hudson-D3) chipset and a PCIe sound card (Asus Xonar DX). Whenever I tried to get a sound out of it (e.g. aplay blubb.wav) I only got dozens of these messages in the kernel log: [ 46.215678] AM

  • Is Apple's Color Compatible With My Computer?

    I have a G5 . . . however, it's an older Dual 2G G5 with PCI-33 slots . . . These slots will not allow me to work w/HD material because they're not compatible w/any HD cards, etc . . . I have FCS, but am thinking about upping to FCS2 - particularly t

  • Adobe Form From Excel Has Excel File Location in Form

    I took an excel sheet that we use as a form and used the adobe form wizard to convert it to a pdf form and it has the excel files location at the bottom of the form C:\Documents and Settings\My Name\Desktop\stsform.xls. How can i make it so that this

  • Need details about Supported Device jsr184

    Dear friends i want details abt jsr 184. Following things i know it is used for developing 3d graphics mobile game it is only run over the WTK2.2 which has one package .m3g I want following details which mobile devices(nokia or motrolo or ...) would

  • My iPhone 5 keeps crashing and freezing.

    I restored it to factory settings and redownloaded the apps, etc. and it keeps happening. Battery life tanks really fast too. What do I do?