Help needed to create a web link output from a text inputbox - Joomla! Forum - community, help and support
good afternoon
i'm having real trouble trying output web link after user enters url text inputbox, hoping knowledge of php , html me out...
what trying edit core joomla article submission form when user completes it, "article" show title , web link.
i've managed remove additional fields, such metadata, publishing dates, whether article should on frontpage etc, user sees form allows: i) article title; 2) url submission; 3) section , category selections; , 4) whether should published or not.
i want form simple possible, have removed capacity wysiwyg editor , have replaced character restricted text input box.
in form file: /public_html/templates/my_template/html/com_content/article/form.php have replaced code frontend text editor (lines 93-95)
<?php
echo $this->editor->display('text', $this->article->text, '100%', '400', '70', '15');
?>
with inputbox using following code:
<input class="inputbox" type="text" id="text" name="text" size="90" maxlength="200" value="http://"="<?php echo $this->escape($this->article->text); ?>" />
this works nicely , allows users enter 1 line url maximum of 200 characters. see, have added "http://" pretext make obvious them required. however, come unstuck...
i want url users enter in inputbox output web link when article published.
i have played around file: /public_html/templates/my_template/html/com_content/article/default.php hours trying work, far i've had no joy.
please me out here.
many thanks
sophie
i'm having real trouble trying output web link after user enters url text inputbox, hoping knowledge of php , html me out...
what trying edit core joomla article submission form when user completes it, "article" show title , web link.
i've managed remove additional fields, such metadata, publishing dates, whether article should on frontpage etc, user sees form allows: i) article title; 2) url submission; 3) section , category selections; , 4) whether should published or not.
i want form simple possible, have removed capacity wysiwyg editor , have replaced character restricted text input box.
in form file: /public_html/templates/my_template/html/com_content/article/form.php have replaced code frontend text editor (lines 93-95)
<?php
echo $this->editor->display('text', $this->article->text, '100%', '400', '70', '15');
?>
with inputbox using following code:
<input class="inputbox" type="text" id="text" name="text" size="90" maxlength="200" value="http://"="<?php echo $this->escape($this->article->text); ?>" />
this works nicely , allows users enter 1 line url maximum of 200 characters. see, have added "http://" pretext make obvious them required. however, come unstuck...
i want url users enter in inputbox output web link when article published.
i have played around file: /public_html/templates/my_template/html/com_content/article/default.php hours trying work, far i've had no joy.
please me out here.
many thanks
sophie
you need pick variable in controller let people redirect page.
Comments
Post a Comment