41
rudycash
Re: Help modifying Xdirectory
  • 2004/7/14 10:37

  • rudycash

  • Just popping in

  • Posts: 70

  • Since: 2004/2/12


OK no replies how about this - surely this is easy.

Is there an easy way to set the default sort order for the listings to be by date order rather than alphabetically. Just so that when any new user views the lisings they see them from oldest first?. This would be a simple quick fix for me if it can be done.



42
rudycash
Re: Help modifying Xdirectory
  • 2004/7/13 15:10

  • rudycash

  • Just popping in

  • Posts: 70

  • Since: 2004/2/12


Ho Hum



43
rudycash
Help modifying Xdirectory
  • 2004/7/13 7:32

  • rudycash

  • Just popping in

  • Posts: 70

  • Since: 2004/2/12


I have a series of directories. Part of my launch strategy is to offer listings on a first come served basis.

I need to modify Xdiretory to display the listings in the order they were approved, rather than alphabetically. I contacted builderb and he said I could


Quote:
Yes, there is a way to do this but, it requires you to add an additional field in the DB called "startdate" once you do this it will require you to modify several files.

submit.php & templates/xdir_submit.html - add new hidden field and call the current date/time then define the variable and make sure it gets into the DB when submitted.

admin/index.php - you will need to add a field allowing you to edit this date.

viewcat.php - change the $orderby variable to:
$orderby = "premium DESC,startdate ASC,title ASC";

include/fuctions.php - add new order to the existing ordering list.


But I have no idea how to do this. I also need to get the map function to work with UK maps or failing this to remove the map button.

I am willing to pay for this work.


Can anyone help - this is urgent. I have a new site ready to launch but I can't do it until I get the sort order changed.




44
rudycash
Re: My Photo Website
  • 2004/7/12 22:56

  • rudycash

  • Just popping in

  • Posts: 70

  • Since: 2004/2/12


OK



45
rudycash
Re: My Photo Website
  • 2004/7/12 22:39

  • rudycash

  • Just popping in

  • Posts: 70

  • Since: 2004/2/12


I like your site. Check out my photo website - not finished yet

My photo website



46
rudycash
Re: Adsense
  • 2004/7/10 20:43

  • rudycash

  • Just popping in

  • Posts: 70

  • Since: 2004/2/12


Just don't expect to get the correct ads for your content for a while !!



47
rudycash
Re: Adsense
  • 2004/7/10 5:28

  • rudycash

  • Just popping in

  • Posts: 70

  • Since: 2004/2/12


Just create a custom block and paste the adsense html in.

do you mean like this

Find a wedding venue



48
rudycash
Re: help with x directory modification please
  • 2004/7/5 23:08

  • rudycash

  • Just popping in

  • Posts: 70

  • Since: 2004/2/12


please.



49
rudycash
help with x directory modification please
  • 2004/7/5 19:41

  • rudycash

  • Just popping in

  • Posts: 70

  • Since: 2004/2/12


I have a series of directories. Part of my launch strategy is to offer listings on a first come served basis.

I need to mofify Xdiretory to display the listings in the order they were approved, rather than alphabetically. Any Ideas how I might do this.

Forever yours

Rudy



50
rudycash
Re: Paid job developing module
  • 2004/6/30 21:48

  • rudycash

  • Just popping in

  • Posts: 70

  • Since: 2004/2/12


I don't think that will help




TopTop
« 1 2 3 4 (5) 6 7 »



Login

Who's Online

231 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 231


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits