[OFBiz] Users - Re: Users Digest, Vol 16, Issue 10

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - Re: Users Digest, Vol 16, Issue 10

Michael Jenson-2
Hello

I am all to new to this, and making my way through the jungle called CSS.
Earlier Ray Barlow pointed to me how to add right banner graphic. Thank
you Ray.

http://localhost:8080/catalog/control/EditProductStore?productStoreId=9000r

And I still did not have graphic in question displayed. Then I added <img
src and graphic came. Had to add search screen formbox to the top right to
be displayed on the top of graphic, and I came with this:

<div id="right"<#if (productStore.headerRightBackground)?has_content>
style="background-image:" <img
src="<@ofbizContentUrl>${productStore.headerRightBackground}</@ofbizContentUrl>;"</#if>>
 
${screens.render("component://ecommerce/widget/CatalogScreens.xml#keywordsearchbox")}
</div>

Also in keywordsearch.ftl I added CSS.
Question:
What is general best practice regarding adding CSS to .ftl files?
YES /NO or if Where.

<div class="screenlet-body" style="text-align: right;">
 <form name="keywordsearchform" method="post" <div class="screenlet-body"
style="text-align: right;">
        <form name="keywordsearchform" method="post"
action="<@ofbizUrl>/keywordsearch</@ofbizUrl>" style='position:
absolute; top: 10px; right: 8px;'>
          CUT ...
</div>

Much Obliged
--
New to OFBiz from London UK.

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users