'Language' question...
|
Posted
#78065
(In Topic #16019)
|
|
|---|---|
|
Honoured member |
This was a big learning curve. All the way into a function that pulls the text out of the translate table. Heck, how did it get there? The theory/concept behind having language files, AND putting all that into a database to look up, escapes me. If anyone knows how this works so it is a bit more simple to sort through next time a small text change needs to be made, it would be much appriciated. In all that, as a bit of side tracking, I learned of the function _get_where_extend (or something like that). I couldn't figure out how you could pass down to it, a 'WHERE' that would be a non-equal statment. Seems it's either =NULL or = something. Paul Busy exploding my brain with code. |
|
Posted
|
|
|
Hallowed customer |
The 'function_get_where_extend' thingy. No idea. Not an area I wander into with my eyes open! |
|
Posted
|
|
|
Honoured member |
It would seem that easy. But it is a bit more than that. Because that bit of language is used and stored in the translations database. So if users already have a gallery, it will still use the old form of 'PERSONAL_GALLERY_OF… unless you go into the translations db and edit them. |
|
Posted
|
|
|
ocStaff (admin) |
_get_where_extend is used internally (anything starting with an underscore probably isn't useful). It's used by query_select/query_delete/query_update which are nice functions to avoid you having to write SQL. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
1 guests and 0 members have just viewed this: None
Control functions:







