• pgolikova
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 2
    Replies

Hello, everyone again

 

Keep playing with VF. Came across this: (if this is a VF page) I insert in a page layout 

 

<apex:page standardController="Account" showHeader="true" tabStyle="account" >
   <style>
      .activeTab {background-color: #236FBD; color:white; 
         background-image:none}
      .inactiveTab { background-color: lightgrey; color:black; 
         background-image:none}
   </style>
   <apex:tabPanel switchType="client" selectedTab="tabdetails" id="AccountTabPanel" tabClass='activeTab' inactiveTabClass='inactiveTab'>   
      <apex:tab label="Details" name="AccDetails" id="tabdetails">
         <apex:detail relatedList="false" title="true"/>
      </apex:tab>
      <apex:tab label="Contacts" name="Contacts" id="tabContact">
         <apex:relatedList subject="{!account}" list="contacts" />
      </apex:tab>
      <apex:tab label="Opportunities" name="Opportunities" id="tabOpp">
         <apex:relatedList subject="{!account}" list="opportunities" />
      </apex:tab>
      <apex:tab label="Open Activities" name="OpenActivities" id="tabOpenAct">
         <apex:relatedList subject="{!account}" list="OpenActivities" />
      </apex:tab>
      <apex:tab label="Notes and Attachments" name="NotesAndAttachments" id="tabNoteAtt">
         <apex:relatedList subject="{!account}" list="NotesAndAttachments" />
      </apex:tab>
   </apex:tabPanel>
</apex:page>

 I get multiple views displayed one after the other of the same content.

 

WHat am I missing?

 

Appreciate your help, 

 

PG

Hello, guys

 

I'm a bit confused as when I was going through VF workbook and used example of entering a random account identifier it worked but it doesn't not work anymore.
When I enter /apex/VF_page?=id******** it doesn't get any results from that account.

 

What can cause that?
Have I entered ID format wrong?

 

Appreciate,

 

Hi, everyone

 

Going through VF workbook. Had an issue with #12, asks you to create Apex Class:

  1. Click Setup | Develop | Apex Classes.
  2. Click New.

but I can't see the button NEW (only Run All Tests and Schedule Apex) even though I think I have all the admin's permissions. 

What have I missed?

 

Thanks,

Hello, everyone

I’m playing with UI and Visual Force.

Does anyone know if there is way of accessing default SF CSS used for standard layout and altering that file instead of creating everything from zero?

Appreciate,

How to customise Section Layout and more?

I\m trying to change the layout let's say Account. I go to Account Layout -> edit.
But this way there is a limit of what you can do, for instance If I want to have section with 3 columns  rather than 2 (which is max default), or things like how things are aligned, I want the beginning of the word always start at the same line rather than being aligned at the end of the word / phrase.

How is this done? or at least where can I look for that info. 

Appreciate,

Hi, everyone

 

Going through VF workbook. Had an issue with #12, asks you to create Apex Class:

  1. Click Setup | Develop | Apex Classes.
  2. Click New.

but I can't see the button NEW (only Run All Tests and Schedule Apex) even though I think I have all the admin's permissions. 

What have I missed?

 

Thanks,

Hello, everyone

I’m playing with UI and Visual Force.

Does anyone know if there is way of accessing default SF CSS used for standard layout and altering that file instead of creating everything from zero?

Appreciate,