hi everyone i'm a newbie in dojo mobile,i want create some thing like this image but dynamic with data by code.How i can do this ? thanks for any help
Just follow the series of tutorials on Tweetview. The first one is here : http://dojotoolkit.org/documentation/tutorials/1.9/mobile/tweetview/getting_started/
The subsequent ones are linked at the bottom of that page.
Related
I am using Yii 1.1.16 for one of my projects.
I have 5 controllers at the moment, and their data is coming from their respective models.
Now I want to add new functionality into my website, regarding comments. I want to add a form at the bottom of each view, but obviously the data will be coming from another database table (I have created a new model for that).
I am confused. Should I create 5 different forms in HTML for my problem, or can I use Yii widgets functionality to implement the same?
The Comment table would be the same for every user in the database. Comments will be coming with the help of their user id, which is stored in the table, and their comment will be inserted with the help of their user id, too.
Please let me know the best solution you can think of.
I suggest to create one widget for displaying comments section and one controller for handling request from this widget (for example adding new comment or displaying different page of comments list). In this way adding comments for any section should require only few lines of code to initialize widget:
$this->widget('CommentsWidget', [
'parentId' => 'page-' . $model->id,
]);
Hey I am not sure this is a question for this site but I am making wiki pages in a share point for my job but I notice they all just accumulate with no table of contents. Im wondering is there a way to make a table of contents page that allows the user to see all of the wiki pages made and allows them to click on the link to the page.
Thanks in advance!
do you mean that you want to see all the pages?
simply go to the all pages view, like this: http://sitename/LibraryName/Forms/AllPages.aspx
is there a simple way of creating a list with editable elements (add/remove) on a page?
Something simillar to the users managing list, where you can add and delete users.
For example, you got a table in DB with 2 columns - "Name" and "Value", and rows like
"Onion"-"10" and "Potato"-"20". The idea is to display the table on a page and make it editable.
Sounds simple but im new in Yii, just yesterday learned about it, did first app and other stuff from guides, but there is no guide how to create things like that manually (so far i was installing widgets mostly)
Thanks
The component you need is CGridView. Take a look to this website.
Yii Playground
Is there a way to add data into a data store from a textfield based form?
for example:
Name:______
Team:______
Number:_____
Age:_______
when submitted injects into the data store?
You can use form.updateRecord() and then store.add(record).
But what you should really do is look at the examples that ship with ExtJS. There are lots of great ideas on how to do most things you need.
How To Add Pagination Into List of records in sencha touch ?
help please ?
http://i.stack.imgur.com/wlft2.jpg ı want pagination as this picture
I've never used paging on the list before. But I think you could see Ext.plugins.ListPagingPlugin sample for the reference :
List Paging