- Posts: 20
COMMUNITY FORUM
[Solved] Iphone / andoid apps and k2
- fred
-
Topic Author
- Offline
- Junior Member
Less
More
14 years 4 months ago #91565
by fred
[Solved] Iphone / andoid apps and k2 was created by fred
I have another client who wants to make an iphone app using his homepage as the content source.Apparently accessing the DB directly with a webservice does not work for the iphone app as All content in an item is in the same column.Iphone apps want content (images, content, links, etc) in separate columns.The app dev. has to create a PHP to generate a xml file.This xml does not work with all the content in one column.Is there a way to tweak k2 to generate the DB according to what iphone apps need?Any help would be greatly appreciated.
Please Log in or Create an account to join the conversation.
- Jiliko.net
-
- Offline
- Platinum Member
Less
More
- Posts: 567
14 years 4 months ago #91566
by Jiliko.net
Replied by Jiliko.net on topic [Solved] Iphone / andoid apps and k2
Hi Fred,
In the K2 item table, there's the content in one column, the image is not stored in the db but automatically retrieved in a specific folder.
What do you mean by links ?
Olivier
In the K2 item table, there's the content in one column, the image is not stored in the db but automatically retrieved in a specific folder.
What do you mean by links ?
Olivier
Please Log in or Create an account to join the conversation.
- fred
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
14 years 4 months ago #91567
by fred
Replied by fred on topic [Solved] Iphone / andoid apps and k2
Okay, When I didn't like the formating so I used a table in the content part of the item.
When I use the Image part of the item the image goes on top of the content (text). I want it to the left.
Example:
www.fintan-gastro-consulting.ch/nextup/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=24&Itemid=350&lang=de
Notice the difference between Lazy Falekn and "copy of Lazy Falken" ?
When I use the Image part of the item the image goes on top of the content (text). I want it to the left.
Example:
www.fintan-gastro-consulting.ch/nextup/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=24&Itemid=350&lang=de
Notice the difference between Lazy Falekn and "copy of Lazy Falken" ?
Please Log in or Create an account to join the conversation.
- fred
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
14 years 4 months ago #91568
by fred
Replied by fred on topic [Solved] Iphone / andoid apps and k2
Anyone?
Here ist another example:
www.nextup.ch/NextUpEdit/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=13&Itemid=334&lang=en
Conversely, how do I get the image placed to the left of the text (as in my example) without using a table??
Fred Hermanns said:
Okay, When I didn't like the formating so I used a table in the content part of the item. When I use the Image part of the item the image goes on top of the content (text). I want it to the left.
Example:
www.fintan-gastro-consulting.ch/nextup/index.php?option=com_...
Notice the difference between Lazy Falekn and "copy of Lazy Falken" ?
Here ist another example:
www.nextup.ch/NextUpEdit/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=13&Itemid=334&lang=en
Conversely, how do I get the image placed to the left of the text (as in my example) without using a table??
Fred Hermanns said:
Okay, When I didn't like the formating so I used a table in the content part of the item. When I use the Image part of the item the image goes on top of the content (text). I want it to the left.
Example:
www.fintan-gastro-consulting.ch/nextup/index.php?option=com_...
Notice the difference between Lazy Falekn and "copy of Lazy Falken" ?
Please Log in or Create an account to join the conversation.
- Fred Hermanns
-
- Offline
- New Member
Less
More
- Posts: 13
14 years 3 months ago #91569
by Fred Hermanns
Replied by Fred Hermanns on topic [Solved] Iphone / andoid apps and k2
Okay I changed the css so that the image floats left.
But this apparently does not solve the iphone access / webservice problem.
DB dump still shows text and pics in one column
BTHW this link does not work anymore.
www.fintan-gastro-consulting.ch/nextup/index.php?option=com_...
But this apparently does not solve the iphone access / webservice problem.
DB dump still shows text and pics in one column
BTHW this link does not work anymore.
www.fintan-gastro-consulting.ch/nextup/index.php?option=com_...
Please Log in or Create an account to join the conversation.
- Fred Hermanns
-
- Offline
- New Member
Less
More
- Posts: 13
14 years 3 months ago #91570
by Fred Hermanns
Replied by Fred Hermanns on topic [Solved] Iphone / andoid apps and k2
Okay, so how can the app (webservice) access this "special folder"
Olivier Nolbert said:
Hi Fred,
In the K2 item table, there's the content in one column, the image is not stored in the db but automatically retrieved in a specific folder.
What do you mean by links ?
Olivier
Olivier Nolbert said:
Hi Fred,
In the K2 item table, there's the content in one column, the image is not stored in the db but automatically retrieved in a specific folder.
What do you mean by links ?
Olivier
Please Log in or Create an account to join the conversation.
- Fred Hermanns
-
- Offline
- New Member
Less
More
- Posts: 13
14 years 2 months ago #91571
by Fred Hermanns
Replied by Fred Hermanns on topic [Solved] Iphone / andoid apps and k2
No one??
Fred Hermanns said:
Okay, so how can the app (webservice) access this "special folder"
Olivier Nolbert said:
Hi Fred, In the K2 item table, there's the content in one column, the image is not stored in the db but automatically retrieved in a specific folder.
What do you mean by links ?
Olivier
Fred Hermanns said:
Okay, so how can the app (webservice) access this "special folder"
Olivier Nolbert said:
Hi Fred, In the K2 item table, there's the content in one column, the image is not stored in the db but automatically retrieved in a specific folder.
What do you mean by links ?
Olivier
Please Log in or Create an account to join the conversation.
- DJ Enterprises
-
- Offline
- New Member
Less
More
- Posts: 13
14 years 2 days ago #91572
by DJ Enterprises
Replied by DJ Enterprises on topic [Solved] Iphone / andoid apps and k2
Is this dead?
Please Log in or Create an account to join the conversation.
- fred
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
14 years 2 days ago #91573
by fred
Replied by fred on topic [Solved] Iphone / andoid apps and k2
Thank you for reminding me.
Dead?
In the sense that I talked to myself ?
Yes.
Dead as in the apps being dead?
No.
We finally solved the issues.
One needs the the sourcer plugin:
extensions.joomla.org/extensions/edition/custom-code-in-content/5051
and a few tweaks in the webservices.
The android app is here:
www.interlaken-android.ch/
the iphone app is coming soon.
Thanks for al the fish :)
Dead?
In the sense that I talked to myself ?
Yes.
Dead as in the apps being dead?
No.
We finally solved the issues.
One needs the the sourcer plugin:
extensions.joomla.org/extensions/edition/custom-code-in-content/5051
and a few tweaks in the webservices.
The android app is here:
www.interlaken-android.ch/
the iphone app is coming soon.
Thanks for al the fish :)
Please Log in or Create an account to join the conversation.