Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

RESOLVED: Cannot find code


Go to End


2 Posts   961 Views

Avatar
jseth

Community Member, 98 Posts

8 October 2010 at 6:56am

Edited: 08/10/2010 7:06am

Ok, I have to confess that this is rather embarrassing, but here goes. Quite a while ago, I was able to insert an image below our sidebar. When I view the page source, I can see what I need to change:

<div class="sidebarBottom"></div>
<div id="Sidebar" class="typography"><p><img class="leftAlone" src="assets/SplashImages/followus.png" alt="Follow Us!" width="195" height="34" usemap="#followus" title="" />
<map name="followus">
<area shape="rect" coords="121,2,149,29" href="http://www.facebook.com/EasternCenter" alt="EASTERN on Facebook"></area>
<area shape="rect" coords="151,3,177,29" href="http://intranet.eastech.org/wiki" alt="EASTERN Wiki"></area>
</map>
</p></div>

I need to remove the line <area shape="rect" coords="151,3,177,29" href="http://intranet.eastech.org/wiki" alt="EASTERN Wiki"></area>.

My problem is, I cannot find it in ANY file in my site! I have no idea where I entered this code to make the image appear and map the links on it. I've searched basically every file in my site, and although I can find references to it, such as:
<div class="FollowUs">
$Text
</div>

but I am quite out of practice and don't remember how or where I created this! Can anyone help me with this?

Avatar
jseth

Community Member, 98 Posts

8 October 2010 at 7:07am

I found it. Looking in the CMS, I had made a "Sidebar" page, inserted the image, and the code was in the html, right where it's supposed to be. Whew... one really needs to keep one's hand in this as to not get SO rusty!