Forum Replies Created
That line number is after some lines of my own code have been added so will not match any version you have.
I am trying to create a new data-type by following your example.
Following are two lines of code taken from line 1815 of class.form.php. They pretty much sum up my problem.
I had it working in a previous version when you used this:
echo ‘<p class=”add”><a id=”add_phone_number” class=”button”>Add Phone Number</a></p>’;
but now that you are using data-type I am a bit confused:
echo ‘<p class=”add”><a href=”#” class=”cn-add cn-button button” data-type=”phone” data-container=”phone-numbers”>’ , __( ‘Add Phone Number’, ‘connections’ ) , ‘</a></p>’;
Thanks Steven that gives me the background but I need to know where the specific data-type “email” or “addresses” is defined in your code. Is if in one of the .php files? Is it in a .css file? Which one please?
I also read in that link that IE does not support it. Is that still true?03/04/2013 at 7:10 am in reply to: Fatal error: Call to undefined method cnRetrieve::dates() #252869
There are also some tools for other folks who may like to use Open Street Map. You can read about them here: http://map-mapa.com/map-tools/03/04/2013 at 7:04 am in reply to: Fatal error: Call to undefined method cnRetrieve::dates() #252868
The main changes integrate Open Street Map because our area in Mexico is not well documented on Google maps i.e. lots of errors and missing streets. If you visit the link above you will see that a connections entry can be located on a map and the latitude and longitude is saved. Templates have been modified to show an interactive map with pointers to entries. Look at this map for example: http://map-mapa.com/riviera-nayarit-directory/restaurant-ma/
The other main change allow entries to be prioritized in listings so paying advertisers appear first like yellow page directories.03/03/2013 at 8:07 pm in reply to: Fatal error: Call to undefined method cnRetrieve::dates() #252813
Feeling more than a bit dumb but please mark it resolved…Thanks03/03/2013 at 7:31 pm in reply to: Fatal error: Call to undefined method cnRetrieve::dates() #252811
Thanks Steven…. it is indeed missing in Class cnRetrieve. Looks like I forgot to update that whole file with the upgrade.
Got it. so just in case anyone else has the same problem.
The problem is I started to use Chrome instead of Firefox where
works a bit differently in that it does not allow decimal places unless it also has
I found it here: http://blog.isotoma.com/2012/03/html5-input-typenumber-and-decimalsfloats-in-chrome/
and it works.
Maybe all that would be useful at this time is a visit to the website where the Connections entries show up on a map by using one of your templates. Right now I can’t even add an entry so I really shouldn’t be bothering you with it.
Yes I added the map and the location. I thought I was using the lat and loing on the address but perhpas not. I am just getting back at it.
How best to get you a copy? The mapping end of it is my main interest and there are some tools there that may be useful once I have them working better.
I still love this plugin? I was just installing the pro package. Does that mean I should post in the other subforum?