1. Stephen Armstrong-Smith
  2. Wishlist
  3. Friday, 09 August 2013
  4.  Subscribe via email
Hi Daniel,

I've adapted your code but struggling with something. Unsure if this is a wishlist question as I've already done 95% of the work.

I'm creating custom pages for users using drag & drop. The pages allow for DnD modules for different layouts.

What I've done is added a field and row to database called width. Purpose of this is to allow users to select the width of the dropped modules.

The part I'm having difficulty with is page:

/public_html/components/com_notes/views/note/tmp/default.php

See below code as example. Is this something you can assist with or is there another site you suggest I can look at which maybe able to help me.

The line "<?php echo $this->form->getInput('width'); ?>" - returns the current value of the width from the record in question.

Thanks

Stephen


<?php echo JHtml::_('form.token'); ?>
<ul>
<li>
<?php echo $this->form->getLabel('width'); ?>
<?php echo $this->form->getInput('width'); ?>
</li>
</ul>
<br>
<select size="1" name="width" id="width" type="input">
<option>150px</option>
<option>175px</option>
<option>200px</option>
<option>225px</option>
<option>250px</option>
<option>300px</option>
<option>325px</option>
<option>350px</option>
<option>375px</option>
<option>400px</option>
<option>425px</option>
<option>450px</option>
<option>475px</option>
<option>500px</option>
</select>
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
0
Votes
Undo
I'm not sure what is the question?
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Wishlist
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Sorry Daniel,

Question is how to add a drop-down list to Cnotes using existing code.

I've already worked it out for the initial adding of note.

I'll send you a private message with URL

Stephen
  1. more than a month ago
  2. Wishlist
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
I cant find where to private message you.

URL is http://mymusicwall.co.uk

I've setup test account. username daniel, password daniel

When logged in see pages "my music wall" and those below

Stephen
  1. more than a month ago
  2. Wishlist
  3. # 3
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
0
Votes
Undo
Hey Stephen,
I'm really sorry, but I still don't understand what your question is.
i went to your site, in the module I see the dropdown field, so I'm not sure what you want to do?

The data is not saving in the database or what?
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Wishlist
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Daniel,

I can get the data to save in the database but only as a text field - I do not know how to get the drop-down to work on the page to edit an existing entry. I know it must be something really easy for you to do. I can not get the drop-down to work to save - but I can get it to save from the text box. Where and what do I need to change to get drop-down to work when editing an existing record?

Stephen
  1. more than a month ago
  2. Wishlist
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Unable to order comment if imported
Hi Support, on CComment 6.0.9 (the same for previous release), importing commen...
0 Replies
Posted on Sunday, 09 August 2020
  • New
    • #bug, import id, order comments
    Hotspots frontend submissions form has severe prob
    I've been using hotspots maps for many years...6 or 7...and now I find that the ...
    0 Replies
    Posted on Friday, 07 August 2020
  • New
  • error after update hotspot pro
    Hi after update hotspot pro ger error on spot page Warning: count(): P...
    2 Replies
    Posted on Thursday, 06 August 2020
  • New
  • Update Matukio auf 7.0.18
    Hallo, ich versuche, Matukio von Version 7.0.17 auf Version 7.0.18 zu aktualisi...
    2 Replies
    Posted on Tuesday, 04 August 2020
  • New
  • Doppelte Buchungen im Backend aufgetaucht
    Hallo Yves, ich verwende noch Joomla 3.9.5 und Matukio 7.0.15 aktuell komm...
    3 Replies
    Posted on Tuesday, 28 July 2020