Register   Login
     
  Latest Posts  
Default search parameter
by perezandres on 3/10/2010 2:50 AM
RE: send message to multiple users?
by marbab on 3/10/2010 2:43 AM
RE: Best DNN hosting provider
by robax on 3/10/2010 1:58 AM
RE: Multicolumn Article
by avelino on 3/10/2010 1:04 AM
RE: About Comment Notifications
by greenflash on 3/10/2010 12:28 AM
RE: New features for Real Estate template
by bennypg on 3/10/2010 12:18 AM
Permission Limit On Photos, prevent mass upload in PA
by subguru on 3/09/2010 10:53 PM
RE: Pay Per Ad. Are We Close?
by subguru on 3/09/2010 10:49 PM
RE: Add a broker?
by subguru on 3/09/2010 10:48 PM
RE: New features for Real Estate template
by subguru on 3/09/2010 10:45 PM
  Forums  
Subject: Add New Property as button
Prev Next
You are not authorized to post a reply.

Author Messages
CodepointUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:199

6/17/2008 8:54 AM  

Is possible use a more visible 'Add New Property' button instead the standard link?

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17114


6/17/2008 11:21 PM  
It currently use the "CommandButton" style.

I assume you want this to change from the default button style used in DNN?

If I wrapped that section in a div container, you should be able to customise it just for that button? (using CSS).

Will this work for you?

Scott McCulloch
Site Administrator
CodepointUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:199

6/18/2008 12:28 AM  

Now the add new property button is showed in the img1 attached file (link style), it is little visible and I'd like show it better how in the img2 attached file (button style). I don't know how I can do it, any solution is good

 









AlbertramsbottomUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:415


6/20/2008 2:55 AM  
Yes so would I

www.classcampers.com
www.worldscheapesthomes.co.uk
www.beebiplayer.co.uk
www.internetinsurancequotes.co.uk
www.vwbussales.co.uk
Steve J.User is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:139

6/20/2008 4:32 AM  

I agree, it would make it much easier to read.  Perhaps a submodule that just displays the buttons, and the option to edit the text would also be a good addition.  Sometimes the standard wording doesn't fit the application as well as it could.

Steve

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17114


6/20/2008 6:39 AM  
You can control it via CSS today and create a button out of it.

e.g. button example

I can add an option to render them as buttons if you wanted to, but I doubt they would be centered (as in your screenshot) because of the breadcrumb links.

Scott McCulloch
Site Administrator
CodepointUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:199

6/20/2008 7:14 AM  

I think I can use CSS for this, but which the style name I must change for personalize them?

AlbertramsbottomUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:415


7/16/2008 3:36 AM  
Anyone managed to do this without changing the styles of all the links in property agent and dnn

Cheers

www.classcampers.com
www.worldscheapesthomes.co.uk
www.beebiplayer.co.uk
www.internetinsurancequotes.co.uk
www.vwbussales.co.uk
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17114


7/16/2008 7:33 AM  
The section isn't wrapped in a CSS style yet, after that is done, you should be able to customize it.

Scott McCulloch
Site Administrator
AlbertramsbottomUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:415


7/18/2008 5:55 AM  
Thanks Scott

www.classcampers.com
www.worldscheapesthomes.co.uk
www.beebiplayer.co.uk
www.internetinsurancequotes.co.uk
www.vwbussales.co.uk
Steve J.User is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:139

8/07/2008 5:09 AM  

First off, has anyone been able to do this "well" yet?

Is there any way to make them tokens that could be placed anywhere we wanted? That way you could also limit use of the Manager if you didn't want users to edit the items they create. It would also be great to be able to customize the text of the buttons in the settings - for some uses the wording doesn't sound quite right.

Thanks!
Steve

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17114


8/07/2008 5:45 AM  
You can customize the text via resx entries - but I assume you mean per template?

Scott McCulloch
Site Administrator
Steve J.User is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:139

8/07/2008 5:49 AM  
Right, but if I customize via resx it will apply to *all* PA modules not just the module I want it to, correct?

Yes, I would like for it to be templated if possible in order to have more control with where it shows up...

Thanks!
Steve
samanderson4User is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:15

8/13/2008 4:39 AM  

I'm going to give it a try.  I hope this works.

usheenUser is Offline
Gold Membership
Ventrian Addict
Ventrian Addict
Posts:95


9/05/2008 4:05 AM  

a.CommandButton:link, a.CommandButton:visited, a.CommandButton:active

{
    color: #6a6a6a;
    background-color: #efefef;
    font-family: tahoma;
    font-weight: bold;
    font-size: 11px;
    text-decoration: none;
    height: 20px;
    padding: 2px 3px 3px 4px;
    margin-bottom: 4px;
    border-width: 1px;
    border-style: solid;
    border-color: #ababab;
   
   
}

a.CommandButton:hover
{
    background-color: #dfdfdf;
    text-decoration: none;

}

 

You can use this css to alter the appearance of the CommandButton in DNN.

Downsides are that it will change the appearance of every link which has a css clas of CommandButton and in some cases DNN has links wrapped in two css classes which means some links get an outside wrapper called CommandButton and then the link is also called CommandButton. This css also has issues with IE 5/6.

You are not authorized to post a reply.
Forums > Modules > Property Agent > Add New Property as button



ActiveForums 3.7