what happened to the pencil?

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/14/2010 5:42:17 AM
Gravatar
Total Posts 8

what happened to the pencil?

Hello Joe,
I have upgraded mojoportal to version 2.3.4.1.


In areas like forums, first appeared the image of the pencil that allows you to edit a topic.
After the upgrade, is gone, and instead there is an underscore.
I have since changed the code:

<Td headers ='<%# Resources.ForumResources.ForumViewSubjectLabel%> '>
<Img alt = "" src ='<%# ImageSiteRoot + "/ Data / SiteImages /" ThreadImage +%> '/>
<Asp: HyperLink id = "editLink"
Text ="<%# Resources.ForumResources.ForumThreadEditLabel%> "
Tooltip ="<%# Resources.ForumResources.ForumThreadEditLabel%> "
ImageUrl ='<%# ImageSiteRoot + "/ Data / SiteImages /" EditContentImage +%> '
............
............
in

 

<Tr class = 'modulerow <% # GetRowCssClass (Convert.ToInt32 (eval ("SortOrder")), Convert.ToBoolean (eval ("IsLocked")))%>'>
<Td headers ='<%# Resources.ForumResources.ForumViewSubjectLabel%> '>
<Span class ='<%# GetFolderCssClass (Convert.ToInt32 (Eval ("SortOrder")), Convert.ToBoolean (Eval ("IsLocked")))%> '> </ span>
<Asp: HyperLink id = "editLink"
Text = "" CssClass = "threadEdit"
Tooltip ="<%# Resources.ForumResources.ForumThreadEditLabel%> "

May depend on whether the code has changed?

4/14/2010 7:09:13 AM
Gravatar
Total Posts 18439

Re: what happened to the pencil?

Hi,

You must have upgraded from at least a few versions ago. You should read the release notes in the blog for all versions since your previous version. There are notes in the 2.3.4.1 release about skin changes needed for the forums.

There is also a sticky thread in the skin forums about skin changes.

Hope it helps,

Joe

4/14/2010 7:45:11 AM
Gravatar
Total Posts 8

Re: what happened to the pencil?

Hi joe,
I tried to edit files and style.css style.config as indicated.

I modified the files that are under the path "root\Data \ Sites \ 1 \ skins \ SNOP-plasticboy-reflection"

I edited the correct files?

I also realized that even completely missing the css file manager.

Where did I go wrong?

thanks for the help

4/14/2010 7:46:24 AM
Gravatar
Total Posts 8

Re: what happened to the pencil?

SNOP-plasticboy-reflection is the skin that I use

4/14/2010 8:09:38 AM
Gravatar
Total Posts 18439

Re: what happened to the pencil?

Hi,

CSS is cached on the server and in the browser. You could touch the Web.config file to clear the server cache, ie download it and upload it again, and then clear your browser cache.

However there is no way to force visitors to clear their browser cache, so the only way to make the changes immediately visible to all visitors is to create a new skin folder snop_v2, copy all the skin files into that folder and then change the site settings to use the newly named skin.

Hope it helps

Joe

4/14/2010 8:24:46 AM
Gravatar
Total Posts 8

Re: what happened to the pencil?

Hi,

I tried your advice, but without any positive result.

you have other ideas?

CSS file manager, what can I do?

4/16/2010 2:41:03 AM
Gravatar
Total Posts 8

Re: what happened to the pencil?

Hello Joe, I have another question

Because the function url ('hdr.jpg) takes as the css url
url ("http://localhost/Data/Sites/1/skins/snop-plasticboy-reflection/hdr.jpg)
instead of

url ("http://MIOSITO/Data/Sites/1/skins/snop-plasticboy-reflection/hdr.jpg)

with the effect of not load any image

 

tnx

4/16/2010 5:35:35 AM
Gravatar
Total Posts 251

Re: what happened to the pencil?

did you touch style.css?

The path of hdr.jpg is relative in there, so it should be as you want

if you use an unmodified skin, just copy /data/skins/snop-plasticboy-reflection to /data/sites/1/skins/snop-plasticboy-reflection

after that, recycle the app-pool and empty your browser cache, or follow joe's solution and rename the skin to another name

----

(forse la cosa migliore, dato che usi una skin standard non modificata, sarebbe di copiare /data/skins/snop-plasticboy-reflection in /data/sites/1/skins/snop-plasticboy-reflection)

4/16/2010 7:54:39 AM
Gravatar
Total Posts 18439

Re: what happened to the pencil?

Hi,

Because the function url ('hdr.jpg) takes as the css url

I don't know if that was just a typo in the forum post or it it is a typo in your css, but it is very important to have the url enclosed in single quotes.

url ('hdr.jpg)

needs to be

url ('hdr.jpg')

If it is using http://localhost/ when you think it should be using http://MIOSITO/

then there is something not right about your IIS configuration and/or DNS settings or name resolution.

You could edit the c:\Windows\System32\Drivers\etc\hosts file (first launch notepad as administrator)

and add

127.0.0.1 MIOSITO

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.