Register   Login
     
  Latest Posts  
Reduce the text size of the description in RSS feeds
by schotman on 1/09/2009 10:49 AM
RE: Ligtbox effect does not working in DNN 5
by smcculloch on 1/09/2009 9:49 AM
RE: Embed the coolest google local search map control
by aviavia on 1/09/2009 8:06 AM
RE: Embed the coolest google local search map control
by odove on 1/09/2009 6:43 AM
RE: Ligtbox effect does not working in DNN 5
by David Eccles on 1/09/2009 6:11 AM
Changing The Home Directory.
by rtnovak on 1/09/2009 1:03 AM
RE: Updating Simple Gallery
by rtnovak on 1/09/2009 12:54 AM
RE: Select Image Button does not work.
by rtnovak on 1/09/2009 12:53 AM
Updating Simple Gallery
by rtnovak on 1/08/2009 9:59 PM
Has pay-per-ad. been added yet?
by wpmilk on 1/08/2009 7:13 PM
  Forums  
Subject: Search - Style and location wish list
Prev Next
You are not authorized to post a reply.

Author Messages
caroigUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:284

5/02/2007 3:12 AM  
As far as I can tell property search is as it comes out of the box and cannot be styled.
I would like to be able to style the look of search and position it where I want on the page.  The same goes for other block tokens such as photos.
I can appreciate the need to retain a straight forward out of the box config, but perhaps a further option on the Landing Page Settings could allow a div ID to be specified for each element, search, types, featured to allow positioning - for example drop the search element on the left pane and perhaps a 'search results' element on the content pane.
I realise that the search contents are complex and would be difficult to open up to styling, but as a minimum I would like to specify the width of the fields - 150 looks a bit ridiculous for a 5 character reference.  Ideally I would like to be able to position the label and contents seperately for each field. 
Could the template concept be extended to search label and search field?  It would be nice to have a class available for each control type as well.
Xmod has quite a nice feature to set templates to flow mode - this basically changes the output from tables to divs and allows the developer to add positioning but retaining a default out of the box format.  Perhaps the time has come to start the transition away from tables?
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12820


5/02/2007 6:57 AM  
Your right, the search can't really be styled at the moment.

You should be able to style the photo display, e.g. Photo.First, Photo.Item, but you need more?

I'd be interested hearing more of your ideas for the search page? e.g. flow layout. I know there is a hardcoded with of 150 on the label.

Scott McCulloch
Site Administrator
caroigUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:284

5/03/2007 6:56 AM  
I've just come across a good example of what 'flow type' might do.  I'm modifying the featured templates and I'm trying to do something like this:-

Featured.Header
(div class="FeaturedWrapper")
Featured.Item
    (div class="FeaturedContent")
       MY CONTENT
    (/div)
Featured.Footer
(/div)

When the module gets rendered then the result is:-
(div class="FeaturedWrapper")
    (table id="dnn_ctr467_Default_LandingPage__ctl2" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse;")
        (tbody)
            (tr)
                (td align="center")

                    (div class="FeaturedContent")
                         MY CONTENT
                    (/div)
                (/td)
                (td/)
            (/tr)
        (/tbody)
     (/table)

(/div)

Flow mode would just avoid all the embedded markup.

The td align="center" is a drag and I'm not sure what the (td/) is doing!

I guess the items row would become redundant.
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12820


5/03/2007 7:09 AM  
Oh right, we were talking about 2 different things I think. I understand flow mode would work similar to the list controls in DNN (renders a table rather then just a simple flow).

What about search styling?

Scott McCulloch
Site Administrator
caroigUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:284

5/03/2007 7:57 AM  
If search were templated that would do the job. 
I want to control:  My label postion, my control container postion and my controls style.
The current token format would do the job for the label position and container postion.
For text or selects that's realatively straight forward as I can postion them in the template and assign the class or id that I want.  For range, radio and checkbox - well less so but if the controls were span for range and list for checkbox, then I could use containerclass.span or .li to style them.

I would guess that if the template "seachcontrols" were not present then you'd just build today's table format on the fly.

As for layout.  Perhaps the landing page module has an invisible mode. I add it wherever I want on the page.  I then add generic landing page container modules to the panes I require naming them with the id/class that I have specified in my layout settings for each result type (search,featured,types & search results). I can't really imagine a case where you'd want more than one of a type on a page, but if so perhaps the template set for the type could be overidden.  (I could equally add a text module in place a specific container module and stick in a DIV with the appropriate ID - I'd be happy with that).
Steven WebsterUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:219


5/03/2007 7:43 PM  
If I might jump in on this it would also be nice if search was a seperate module from results and details...more control over placement on the page.

Steven Webster
Overlook Technologies
caroigUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:284

5/04/2007 12:51 AM  
Posted By smcculloch on 5/02/2007 6:57 AM

You should be able to style the photo display, e.g. Photo.First, Photo.Item, but you need more?

I hadn't noticed the photo.first etc templates - great!  I'll have a look at them.


Antonios ValamontesUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:40


5/04/2007 6:19 AM  
I agree on seperating the search option

Adonis Valamontes
GreekeMedia.com
GreekBusinessUSA.com
Greek Radio Toolbar
You are not authorized to post a reply.
Forums > Modules > Property Agent > Search - Style and location wish list



ActiveForums 3.7