Not sure why, but when I go to add an event, I have all of the options on the page except for being able to add media. Nothing to add images, video or anything else. The new ad will insert into the database, but when I go back to the Events page I get a page full of SQL errors. If I delete the entry from the database, the page is fine again.
Problem seems to be that the original Add page isn't displaying anything for the media options and that is creating the issue. All the page is showing is Event Info and Privacy Settings.
Suggestions?
|
Media is only available in the Events if the corresponding media module is installed. For example, Photo functionality will only be available if the main Photo module is installed. The same goes for other media types.
However, you should not be seeing errors. You will need to post a sample of the errors to get help.
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz |
Hello Wampy!
As you answered above you need to install media modules first, then them will be available in events modules too. But please specify about " I get a page full of SQL errors" - what errors do you see there?
With the best regards, Leonid
|
I got it straightened out.
I am trying to change the entire "Country" option to two states so that the site will be localized to my area. Going through the classes files I am changing all instances of "Country" to "State". I just missed one of the changes, but now all seems to be working fine.
The last part I am having trouble with is changing the string of text shown in the attachment, on the events page, where is shows "__country_city__" to instead display it as "City, State".
|
Changing code in classes files is very dangerous. You could easily damage the rest of your site, but your changes will probably be wiped out with the next update.
I simply removed every country except my own using: Admin/Builders/Predefined Values/Country It still leaves the country there, but it doesn't affect any code. States would be similar or done in the database (not sure), but I've never done that because I use all states.
|
johnk42
You're right, I didn't think about updates possibly undoing changes. Partly, I wanted to get a little familiar again with coding, which is one reason I went the way I did, but perhaps I overthought it all a little bit.
|
Hello Wampy!
As you answered above better do not touch the code of core or standard modules. Better to change values of Countries field or create the new field via admin panel->builder->profile fields builder.
See more details here:
https://www.boonex.com/trac/dolphin/wiki/DolphinAdminProfileFields
With the best regards, Leonid
|