You can add it wherever you like, even within <p> and </p>.

Anyway, problem solved.


Kostas



On Jun 25, 2013, at 11:42 PM, remi asare <[email protected]> wrote:

> It worked. I was adding the image before the <p> </p>. Can it be my mistake?
> 
> Thanks a bundle
> 
> 
> 2013/6/25 Kostas Stamatis <[email protected]>
> It seems to work for me in my demo DSpace.
> 
> Justa dded the following in the html file, at the end:
> 
> <img 
> src="http://stuffkit.com/wp-content/uploads/2013/05/Nature-Art-Gallery.jpg"/>
> 
> and I am able to see the image (random image taken from the web :).
> 
> Be sure to edit file news-side.html and not the news-top.html which is 
> located in the same folder.
> 
> 
> No reload is needed.
> 
> 
> Kostas
> 
> 
> 
> On Jun 25, 2013, at 11:19 PM, remi asare <[email protected]> wrote:
> 
>> it is an image i'm trying to put there. Sorry
>> 
>> 
>> 2013/6/25 Kostas Stamatis <[email protected]>
>> I do not understand what you want to add in the html file... can you rewrite 
>> your question?
>> 
>> Also, try to reload the webapp, maybe this is the reason why the new html is 
>> not being loaded.
>> 
>> 
>> Kostas
>> 
>> 
>> On Jun 25, 2013, at 11:09 PM, remi asare <[email protected]> wrote:
>> 
>>> Yeah, it helps a lot. Thanks
>>> 
>>> I'm just gonna bother one last time. The file news-side.html is html but 
>>> i'm trying to add an over there it is not being displayed. Do you know why? 
>>> 
>>> Regards
>>> 
>>> 
>>> 2013/6/25 Kostas Stamatis <[email protected]>
>>> Dear Remi,
>>> 
>>> regarding the right sidebar, you should check the file 
>>> {your_jspui_webapp_path}/home.jsp. If you want to totally remove the 
>>> sidebar, comment out the lines starting from the one that says 
>>> "<dspace:sidebar>" to line that says "</dspace:sidebar>" . This will remove 
>>> the whole sidebar. If you want to leave the RSS feeds unaffected, comment 
>>> out only the line that says "<%= sideNews %>".
>>> If you just want to change the message that is displayed in this sidebar, 
>>> go to file {your_dspace_install_dir}/config/news-side.html and do any 
>>> modifications you like. This file is called within home.jsp file in line 
>>> that says: 
>>> "String sideNews = 
>>> ConfigurationManager.readNewsFile(LocaleSupport.getLocalizedMessage(pageContext,
>>>  "news-side.html"));" .
>>> 
>>> Hope it helps.
>>> 
>>> 
>>> Regards,
>>> 
>>> Kostas
>>> 
>>> 
>>> 
>>> On Jun 25, 2013, at 9:47 PM, remi asare <[email protected]> wrote:
>>> 
>>>> Works like a charm! Thanks. by the way, i want to hide the side bar where 
>>>> it is written "This is a de fault installation of DSpace! It can be 
>>>> extensively configured by installing modified JSPs, and altering the site 
>>>> configuration." I commented the line in the footer-default.jsp but it 
>>>> didn't work. Do you know how i can? 
>>>> 
>>>> 
>>>> 2013/6/25 Kostas Stamatis <[email protected]>
>>>> Dear Remi,
>>>> 
>>>> I don't seem to understand your question, but I will give it a try.
>>>> 
>>>> If I guess correctly, you do not want the title to be underlined. But the 
>>>> underlined decoration exists generally in all the links through out 
>>>> DSpace. This is the default that is set by your browser. If you want to 
>>>> remove the underline decoration you need to declare it explicitly in the 
>>>> css which is located in {your_jspui_webapp}/styles.css.
>>>> 
>>>> At the very beginning, it says: "A { color: #336699 }", which means that 
>>>> all the links will have the specified color. 
>>>> Make it: "A { color: #336699; text-decoration: none;  }", which means, 
>>>> that no decoration is needed for the "a" html elements, thus, no underline.
>>>> 
>>>> Now, refresh your page and check the difference in the UI. None of the 
>>>> links will be underlined (not only the title) even the links in the 
>>>> sidebar. If you want only the title, then you need to add the 
>>>> "text-decoration: none" for the specific "a" elements of the html!
>>>> 
>>>> 
>>>> 
>>>> Regards,
>>>> 
>>>> 
>>>> Kostas
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On Jun 25, 2013, at 4:15 PM, remi asare <[email protected]> wrote:
>>>> 
>>>>> Hi, 
>>>>> 
>>>>> I've been trying to find a way to undo the html code that makes the title 
>>>>> in dspace jspui interface by default but i couldn't. Can anybody help 
>>>>> please?
>>>>> ------------------------------------------------------------------------------
>>>>> This SF.net email is sponsored by Windows:
>>>>> 
>>>>> Build for Windows Store.
>>>>> 
>>>>> http://p.sf.net/sfu/windows-dev2dev_______________________________________________
>>>>> DSpace-tech mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>>> List Etiquette: 
>>>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to