-
AuthorPosts
-
waelali Friend
waelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
May 2, 2012 at 1:02 am #176644Hello,
I would like to disable and remove some controls from the K2 Add New Item Popup – front-end.
Please see attached image for more details….How can we do that ??
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 2, 2012 at 6:12 am #450965Hi,
You go to Template manager,choose JA Teline IV template, then change CSS Optomize fieds to NO, so I can check how and where to customize for you.
Could you give me a link to your page as you said?waelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
May 2, 2012 at 7:36 am #450975<em>@khoand 317085 wrote:</em><blockquote>Hi,
You go to Template manager,choose JA Teline IV template, then change CSS Optomize fieds to NO, so I can check how and where to customize for you.
Could you give me a link to your page as you said?</blockquote>Site: http://www.tkareer.com
Optimize CSS: NOkhoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 2, 2012 at 2:19 pm #451057Could you give me username+password of your website? Because I can’t access the form as you gave.
waelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
May 2, 2012 at 2:20 pm #451059<em>@khoand 317196 wrote:</em><blockquote>Could you give me username+password of your website? Because I can’t access the form as you gave.</blockquote>
Thank you
Sent you to your private message area
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 3, 2012 at 8:46 am #451215How do I get the form as you gave? I can’t find it because I can’t read your language. Sorry about my inconvenience
waelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
May 3, 2012 at 9:44 am #451231<em>@khoand 317392 wrote:</em><blockquote>How do I get the form as you gave? I can’t find it because I can’t read your language. Sorry about my inconvenience</blockquote>
Attached 2 images that will tell you how to do that.
Please login to front end as in images using:
username: mjd.salman
password: mjdsalman1!The details I have PMed you are for administrator , and not for real registered user
-
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 3, 2012 at 3:19 pm #451270You remove code from /components/com_k2/templates/default/itemform.php
<tr>
<td class="adminK2LeftCol">
<label for="alias"><?php echo JText::_('K2_TITLE_ALIAS'); ?></label>
</td>
<td class="adminK2RightCol">
<input class="text_area k2TitleAliasBox" type="text" name="alias" id="alias" maxlength="250" value="<?php echo $this->row->alias; ?>" />
</td>
</tr>
<tr>
<td class="adminK2LeftCol">
<label><?php echo JText::_('K2_TAGS'); ?></label>
</td>
<td class="adminK2RightCol">
<?php if($this->params->get('taggingSystem')): ?>
<!-- Free tagging -->
<ul class="tags">
<?php if(isset($this->row->tags) && count($this->row->tags)): ?>
<?php foreach($this->row->tags as $tag): ?>
<li class="tagAdded">
<?php echo $tag->name; ?>
<span title="<?php echo JText::_('K2_CLICK_TO_REMOVE_TAG'); ?>" class="tagRemove">x</span>
<input type="hidden" name="tags[]" value="<?php echo $tag->name; ?>" />
</li>
<?php endforeach; ?>
<?php endif; ?>
<li class="tagAdd">
<input type="text" id="search-field" />
</li>
<li class="clr"></li>
</ul>
<span class="k2Note"> <?php echo JText::_('K2_WRITE_A_TAG_AND_PRESS_RETURN_OR_COMMA_TO_ADD_IT'); ?> </span>
<?php else: ?>
<!-- Selection based tagging -->
<?php if( !$this->params->get('lockTags') || $this->user->gid>23): ?>
<div style="float:left;">
<input type="text" name="tag" id="tag" />
<input type="button" id="newTagButton" value="<?php echo JText::_('K2_ADD'); ?>" />
</div>
<div id="tagsLog"></div>
<div class="clr"></div>
<span class="k2Note"> <?php echo JText::_('K2_WRITE_A_TAG_AND_PRESS_ADD_TO_INSERT_IT_TO_THE_AVAILABLE_TAGS_LISTNEW_TAGS_ARE_APPENDED_AT_THE_BOTTOM_OF_THE_AVAILABLE_TAGS_LIST_LEFT'); ?> </span>
<?php endif; ?>
<table cellspacing="0" cellpadding="0" border="0" id="tagLists">
<tr>
<td id="tagListsLeft">
<span><?php echo JText::_('K2_AVAILABLE_TAGS'); ?></span> <?php echo $this->lists['tags']; ?>
</td>
<td id="tagListsButtons">
<input type="button" id="addTagButton" value="<?php echo JText::_('K2_ADD'); ?> »" />
<br />
<br />
<input type="button" id="removeTagButton" value="« <?php echo JText::_('K2_REMOVE'); ?>" />
</td>
<td id="tagListsRight">
<span><?php echo JText::_('K2_SELECTED_TAGS'); ?></span> <?php echo $this->lists['selectedTags']; ?>
</td>
</tr>
</table>
<?php endif; ?>
</td>
</tr>
<?php if($this->mainframe->isAdmin() || ($this->mainframe->isSite() && $this->permissions->get('publish'))): ?>
<tr>
<td class="adminK2LeftCol">
<label for="featured"><?php echo JText::_('K2_IS_IT_FEATURED'); ?></label>
</td>
<td class="adminK2RightCol">
<?php echo $this->lists['featured']; ?>
</td>
</tr>
<tr>
<td class="adminK2LeftCol">
<label><?php echo JText::_('K2_PUBLISHED'); ?></label>
</td>
<td class="adminK2RightCol">
<?php echo $this->lists['published']; ?>
</td>
</tr>
<?php endif; ?>1 user says Thank You to khoand for this useful post
waelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
May 3, 2012 at 4:03 pm #451273<em>@khoand 317458 wrote:</em><blockquote>You remove code from /components/com_k2/templates/default/itemform.php
<tr>
<td class="adminK2LeftCol">
<label for="alias"><?php echo JText::_('K2_TITLE_ALIAS'); ?></label>
</td>
<td class="adminK2RightCol">
<input class="text_area k2TitleAliasBox" type="text" name="alias" id="alias" maxlength="250" value="<?php echo $this->row->alias; ?>" />
</td>
</tr>
<tr>
<td class="adminK2LeftCol">
<label><?php echo JText::_('K2_TAGS'); ?></label>
</td>
<td class="adminK2RightCol">
<?php if($this->params->get('taggingSystem')): ?>
<!-- Free tagging -->
<ul class="tags">
<?php if(isset($this->row->tags) && count($this->row->tags)): ?>
<?php foreach($this->row->tags as $tag): ?>
<li class="tagAdded">
<?php echo $tag->name; ?>
<span title="<?php echo JText::_('K2_CLICK_TO_REMOVE_TAG'); ?>" class="tagRemove">x</span>
<input type="hidden" name="tags[]" value="<?php echo $tag->name; ?>" />
</li>
<?php endforeach; ?>
<?php endif; ?>
<li class="tagAdd">
<input type="text" id="search-field" />
</li>
<li class="clr"></li>
</ul>
<span class="k2Note"> <?php echo JText::_('K2_WRITE_A_TAG_AND_PRESS_RETURN_OR_COMMA_TO_ADD_IT'); ?> </span>
<?php else: ?>
<!-- Selection based tagging -->
<?php if( !$this->params->get('lockTags') || $this->user->gid>23): ?>
<div style="float:left;">
<input type="text" name="tag" id="tag" />
<input type="button" id="newTagButton" value="<?php echo JText::_('K2_ADD'); ?>" />
</div>
<div id="tagsLog"></div>
<div class="clr"></div>
<span class="k2Note"> <?php echo JText::_('K2_WRITE_A_TAG_AND_PRESS_ADD_TO_INSERT_IT_TO_THE_AVAILABLE_TAGS_LISTNEW_TAGS_ARE_APPENDED_AT_THE_BOTTOM_OF_THE_AVAILABLE_TAGS_LIST_LEFT'); ?> </span>
<?php endif; ?>
<table cellspacing="0" cellpadding="0" border="0" id="tagLists">
<tr>
<td id="tagListsLeft">
<span><?php echo JText::_('K2_AVAILABLE_TAGS'); ?></span> <?php echo $this->lists['tags']; ?>
</td>
<td id="tagListsButtons">
<input type="button" id="addTagButton" value="<?php echo JText::_('K2_ADD'); ?> »" />
<br />
<br />
<input type="button" id="removeTagButton" value="« <?php echo JText::_('K2_REMOVE'); ?>" />
</td>
<td id="tagListsRight">
<span><?php echo JText::_('K2_SELECTED_TAGS'); ?></span> <?php echo $this->lists['selectedTags']; ?>
</td>
</tr>
</table>
<?php endif; ?>
</td>
</tr>
<?php if($this->mainframe->isAdmin() || ($this->mainframe->isSite() && $this->permissions->get('publish'))): ?>
<tr>
<td class="adminK2LeftCol">
<label for="featured"><?php echo JText::_('K2_IS_IT_FEATURED'); ?></label>
</td>
<td class="adminK2RightCol">
<?php echo $this->lists['featured']; ?>
</td>
</tr>
<tr>
<td class="adminK2LeftCol">
<label><?php echo JText::_('K2_PUBLISHED'); ?></label>
</td>
<td class="adminK2RightCol">
<?php echo $this->lists['published']; ?>
</td>
</tr>
<?php endif; ?>
</blockquote>Thank you – Works fine 🙂
-
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 2 voices, and was last updated by waelali 12 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum