I am using the IBM portlet development portal, and the current configuration is three columns,like this:
Now I need to add a picture like this (green color):
Can this be achieved? How would I achieve this?
You have to create a layout template and add it to your page in the Type of Page section of Page properties page.
Related
I am developing an ASP.NET application and i need to create a lot of report with same header and footer "skeleton". There is a way to create a custom component to solve this?
It is easier to make one Report with coresponding header/footer and then use it a s template. I have few of those. When I need new report, I just open Template and then use "Save As" and name it as I like.
Is there any way that I can create a Configurable footer and Header from plone admin?
Header Configuration is for adding/edting menus for a website.
Footer Configuration is for adding/edting some url name.
Also I need to have a logo at top left and the logo is also editable from plone admin.
Yes, there is a a way: Instead of relying on viewlets Plone ships with for the header- and footer-sections of a site, you can use portlets instead.
The addon "Products.ContentWellPortlets" will alow you to assign portlets also in top- and bottom-area, not only in left- and right-column.
For example, to add a logo, you can then assign a static-text-portlet, edit it just like a conventional page-type, insert a picture, it'll be also an ordinary image-item of the side, not a hard-to-customize ZMI-resource.
There is an addon, removing the viewlets and adding sample portlets in header and footer instead as a starting point (disclaimer: I'm the author): adi.simplestructure. You can give it a try, if you're lazy ;)
In the header, the menu is autogenerated for you by Plone depending on the content, but you can turn this off by:
Go to http://localhost:8080/[yoursiteId]/portal_properties/site_properties/manage_workspace
Check the checkboxes to the right of both disable_folder_sections and disable_nonfolderish_sections
Hit 'Save' at the bottom
Now you can go to http://localhost:8080/[yoursiteId]/portal_actions/portal_tabs/manage_workspace and add more menu items (copy and paste the one that's already there if you like)
For the footer, take Mathias' suggestion above: https://github.com/4teamwork/ftw.footer or perhaps collective.doormat might suit you better - you'll have to experiment with that.
For the logo see this page in the Plone docs. I can see that you might feel it should be easier, but this shouldn't be something you do every year (if your organization wants rebranding), right?
some other packages for editing your menuitems in the header:
https://plone.org/products/collective.portaltabs
https://pypi.python.org/pypi/quintagroup.plonetabs (more info on what this does in our setup: https://admin.kuleuven.be/icts/english/wms-en/extra/edit-header-links)
for our footer we use:
https://pypi.python.org/pypi/collective.phantasy (this allows layout adjustment through the web, more info on what this does in our setup: https://admin.kuleuven.be/icts/english/wms-en/extra/edit-layout)
I have the master-child pages in asp.net, i want to highlight the page which is currently active, it can be done easily using id's for various pages and navigation links in css, but here in asp.net master-child page concept, there is no <body> for child contents, how to solve this problem ?
Try using a css style. you could use something like :
U can now use a simple function to set the css class to use
I have been looking for a way to embed a dynamic page into the view of another page. In the Struts world, I would use the s:action tag to embed an action into a page. What would be the equivalent in Spring MVC?
EDIT : Found the answer...duplicate of How to include a controller from jsp page
Better than using import like the solution you posted would be to use Apache Tiles or other framework like it.
So you can use templating and create the page dynamicly inserting content when needed, like menus, content, header, footer etc...
I have a Flex mx:HTML component which uses an html window to display html data from 3rd party website.
let's call the page:
http://www.company.com/page.php (not a _real page (duh))
There is alot of "trash" displayed.
I used "Firebug" to inspect the webpage elements.
I see that the section of the page I want to display is:
/html/body/div[4]/div[2]/div/div[2]
or, to put it a another way:
html body.landing div#content-bg div#content-wrap div#content div.main
my question:
Is there a way to access this section of the page only, especially since it is "rendered" using PHP (which I have no knowledge or understanding of)?
(I will NOT be using PHP to gather this info)
many thanks!
Mark
Take a look to Flex IFrame which enables HTML Browsing in Flex apps.
You can try this URL.