Keyword

Advanced Search

Search Results (Searched for: extra field order)

  • gugabm
  • gugabm's Avatar
21 Jul 2011 17:37
Replied by gugabm on topic Image extra field type

Image extra field type

Category: English K2 Community

I think I created a Solution. It´s limited, but, maybe someone can improve later. I edited the code of the editor at \administrator\components\com_k2\ lib\ nicEdit.js. My intention was to modify the way the extraField incorporates images so I could include an image from the Joomla´s midia directory. I changed it at line 92: where was written txt:"URL",value:"http://" I changed to txt:"File Name",value:"images/stories/". Then I had a little trouble: If I write "../images/stories" the images appear on the editor but not in the site. With "images/stories/". they appear on the site... but not in the editor. The solution was to edit the CSS of the editor at administrator\templates\khepri\CSS\general and include this: table#extraFields.admintable img { border: 1px solid black;height: 100px; width: 100px; padding: 30px; margin:10px;background: none repeat scroll 0 0 #EEEEEE;}.The image itself  won´t be shown on the editor but will create a square to locate it, specially if you dont forget to include a text in the ALT tag. Well, that´s what I´ve got by now...
  • bruce adams
  • bruce adams's Avatar
19 Jul 2011 14:15
Replied by bruce adams on topic extra fields remove wording 'additional '

extra fields remove wording 'additional '

Category: English K2 Community

more specifically where do i find /components/com_k2/templates/ - is this in joomla backend or my domain control panel?

 

cheers bruce adams said:

hi william thank you for your fast response - although not new to joomla i'm pretty confused by the template tutorial i had hoped it would be simple to remove the wording - is the tutorial saying that i need to copy info across somewhere first in order to edit k2?

 

cheers
  • bruce adams
  • bruce adams's Avatar
19 Jul 2011 14:14
Replied by bruce adams on topic extra fields remove wording 'additional '

extra fields remove wording 'additional '

Category: English K2 Community

hi william thank you for your fast response - although not new to joomla i'm pretty confused by the template tutorial i had hoped it would be simple to remove the wording - is the tutorial saying that i need to copy info across somewhere first in order to edit k2?

 

cheers
  • Ehm Dee
  • Ehm Dee's Avatar
15 Jun 2011 17:41

K2 COntent By Tag - Modules Anywhere - Internal Server Error

Category: English K2 Community

Hello,

 

I am not sure if I'm in the right section, but what I'm trying to accomplish is in theory pretty simple, but here are the straight facts.

 

Backstory: Trying to put content on a page that is filtered by tag. Found modules that do this, but the one modified and official does not work, so I took David Robinson's module. Used the "Modules Anywhere" component in order to put a K2 Content or K2 Content By Tag Module inside an item.

 

Problem: Internal Server Error 500 if I try to load a K2 Content Module or a K2 Content By Tag module inside an article, when I visit the actual page. The rest of the site loads correctly.

 

Question: Anyway around this?

 

Alternative: Ultimately, the goal was to have an item in multiple categories. That doesn't work in K2, so I tried tags instead. But if I can't have content filtered by tag, then what other alternatives are there? The multi-cat solution I found is only in beta and is not recommended for a live site.

 

I have also looked at extra fields, but the presentation does not really fit with the original goal of filtering or presenting items based on multiple categories.

 

Any other workarounds for accomplishing this?

 

Thanks in advance,

 

Sincerely,

 

Ehm
  • Andrea Vigato
  • Andrea Vigato's Avatar
09 Jun 2011 13:13
Replied by Andrea Vigato on topic Sort, group and search by extra fields

Sort, group and search by extra fields

Category: English K2 Community

I think you've choosed the wrong component.

I've made a pure ecommerce using Virtuemart, was sure more simply than using K2 with KMart & KStore (also if virtuemart it's very buggy).

 

I'm actually using K2 to create a private ads site (similar to kijiji) and it's the best solution, i'll use k2mart for paying ads.

 

I'dont have understand what's your problem, anyway if you're looking for sorting items in a category just modify the sql with an ORDER param.

 

rajesh said:

Hmmm...   Ive spent quite ab it of time trying to learn how k2 works.. and at first site it looks good....

 

I've tried CCK extensions like Fabrik and Jseblod  

I'm slightly dissapointed about k2's sorting option... It looked good at first, but just to give you an example of what troubles i have been facing... k2 recently came out with Kmart and it has Kstore...

These are based on k2 items and categories.... I thought wow cool... it should be better than Virtuemart....

 

Using Virtuemart, you can create menus and specify which categories of products to show. All of this listing has a small filter feature at the top that allows user to sort by date, product etc.

After setting up k2, kmart, kstore and figuring out the layout. I had this feature request from my client which is a MUST is the user should be able to sort by certain fields....Because of this now i am stuck.     I'm back to the drawing board. Might as well i just use Virtuemart right?  k2 has to have some advantages for us to use it otherwise it seems too much of a hassle to integrate with virtuemart, caue in the end the result does not have certain "must haves"Creating Menus..> When i create a menu item..   normally i can choose Articles and sort them by anyway i want with the parameter options (By date, order, alphabetical, etc)For k2, if i choose a k2 item, there is no option there for me to set the sorting. Even with jseblod manage to come up with a directory system with very nice sorting. Isnt that the point of using a system like k2?
  • Singh Rajesh Ram
  • Singh Rajesh Ram's Avatar
09 Jun 2011 13:01
Replied by Singh Rajesh Ram on topic Sort, group and search by extra fields

Sort, group and search by extra fields

Category: English K2 Community

Hmmm...   Ive spent quite ab it of time trying to learn how k2 works.. and at first site it looks good....

 

I've tried CCK extensions like Fabrik and Jseblod  

I'm slightly dissapointed about k2's sorting option... It looked good at first, but just to give you an example of what troubles i have been facing... k2 recently came out with Kmart and it has Kstore...

These are based on k2 items and categories.... I thought wow cool... it should be better than Virtuemart....

 

Using Virtuemart, you can create menus and specify which categories of products to show. All of this listing has a small filter feature at the top that allows user to sort by date, product etc.

After setting up k2, kmart, kstore and figuring out the layout. I had this feature request from my client which is a MUST is the user should be able to sort by certain fields....Because of this now i am stuck.     I'm back to the drawing board. Might as well i just use Virtuemart right?  k2 has to have some advantages for us to use it otherwise it seems too much of a hassle to integrate with virtuemart, caue in the end the result does not have certain "must haves"Creating Menus..> When i create a menu item..   normally i can choose Articles and sort them by anyway i want with the parameter options (By date, order, alphabetical, etc)For k2, if i choose a k2 item, there is no option there for me to set the sorting. Even with jseblod manage to come up with a directory system with very nice sorting. Isnt that the point of using a system like k2?
  • Greg P
  • Greg P's Avatar
28 May 2011 21:03
Replied by Greg P on topic Sort, group and search by extra fields

Sort, group and search by extra fields

Category: English K2 Community

I wish it was just a day or two....i just spent 2 WEEKS building everything else, "assuming" I'd get to the sorting later.........guess K2 is for amateurs, anyone with more than a dozen content items is simply out of luck

Jana Fedele said:
Thanks for the confirmation that I have just wasted a day or two. Now, if I could only find the plug-in to do what I want!

William White said:
K2 sorts by several things just like Joomla....it uses most recent, alph by title, oldest first, etc etc when you pick sort orders. Extra fields are for adding all sorts of additonal info like Address, City, State, and when the title is say Last, First and you sort it by title alph you may get a pretty good listing. Things are also sorta sorted..by categories and subcategories and have an order under each - but you are correct, exta fields are not used in the sort as far as i have seen Jana Fedele said:
seriously? You put in all these fields and you can't use them to make pages sorted by the fields? What is the point? What good is K2 you can't USE the dang data???????????????????????????????????????????????????????
  • lili
  • lili's Avatar
23 May 2011 10:48
Replied by lili on topic Category item view: up additionnal info

Category item view: up additionnal info

Category: English K2 Community

Ok, I up once again this question, I really really hope at least somebody will help me...

 

Here my code in K2 CSS:

div.catItemImageBlock {float: left;width: 20%; margin: 9px;padding: 4px;}    span.catItemImage {display:block;text-align:center;margin:0 0 8px 0;}    span.catItemImage img {border:1px solid #ccc;padding:8px;}    div.catItemIntroText {width:60%; px;font-size:inherit;font-weight:normal;line-height:inherit;padding:8px 12px;}    div.catItemIntroText img {}    div.catItemExtraFields, div.genericItemExtraFields {float: right;width:35%;margin:16px 0 0 0;padding:8px 0 0 0;border-top:1px dotted #ddd;}        div.catItemExtraFields h4, div.genericItemExtraFields h4 {margin:0;padding:0 0 8px 0;line-height:normal !important;}        div.catItemExtraFields ul, div.genericItemExtraFields ul {margin:0;padding:0;list-style:none;}        div.catItemExtraFields ul li, div.genericItemExtraFields ul li {display:block;}        div.catItemExtraFields ul li span.catItemExtraFieldsLabel, div.genericItemExtraFields ul li span.genericItemExtraFieldsLabel {display:block;float:left;font-weight:bold;margin:0 4px 0 0;width:40%;}        div.catItemExtraFields ul li span.catItemExtraFieldsValue {}

 

Here my code in category_item.php

<?php if($this->item->params->get('catItemImage') && !empty($this->item->image)): ?>      <!-- Item Image -->      <div class="catItemImageBlock">          <span class="catItemImage">            <a href="<?php echo $this->item->link; ?>" title="<?php if(!empty($this->item->image_caption)) echo $this->item->image_caption; else echo $this->item->title; ?>">                <img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo $this->item->image_caption; else echo $this->item->title; ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />            </a>          </span>      </div>      <?php endif; ?>      <?php if($this->item->params->get('catItemIntroText')): ?>      <!-- Item introtext -->      <div class="catItemIntroText">          <?php echo $this->item->introtext; ?>      </div>      <?php endif; ?>      <?php if($this->item->params->get('catItemExtraFields') && count($this->item->extra_fields)): ?>      <!-- Item extra fields -->      <div class="catItemExtraFields">          <h4><?php echo JText::_('Additional Info'); ?></h4>          <ul>            <?php foreach ($this->item->extra_fields as $key=>$extraField): ?>            <li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>">                <span class="catItemExtraFieldsLabel"><?php echo $extraField->name; ?></span>                <span class="catItemExtraFieldsValue"><?php echo $extraField->value; ?></span>            </li>            <?php endforeach; ?>            </ul>          <div class="clr"></div>      </div>      <?php endif; ?>

 

Here the result:



 

And here what I want:

Please could somebody help me? I think it's a div problem, but I can't find where! Please help!

 
  • lili
  • lili's Avatar
16 May 2011 17:51
Replied by lili on topic Category item view: up additionnal info

Category item view: up additionnal info

Category: English K2 Community

Thank you for the answer!

I actually have this problem: Additionnal info is under.

I have:

Image (left) - Introtext (Middle)

Additionnal info (under)

 

Here my CSS:

div.catItemImageBlock {float: left;margin: 1px;padding: 10px;}    span.catItemImage {display:block;text-align:center;margin:0 0 8px 0;}    span.catItemImage img {border:1px solid #ccc;padding:8px;}    div.catItemIntroText {width:300px;font-size:inherit;font-weight:normal;line-height:inherit;padding:4px 0 12px 0;}    div.catItemIntroText img {}div.catItemExtraFields, div.genericItemExtraFields {float: right;width:300px;margin:16px 0 0 0;padding:8px 0 0 0;border-top:1px dotted #ddd;}    div.catItemExtraFields h4, div.genericItemExtraFields h4 {margin:0;padding:0 0 8px 0;line-height:normal !important;}    div.catItemExtraFields ul, div.genericItemExtraFields ul {margin:0;padding:0;list-style:none;}    div.catItemExtraFields ul li, div.genericItemExtraFields ul li {display:block;}    div.catItemExtraFields ul li span.catItemExtraFieldsLabel, div.genericItemExtraFields ul li span.genericItemExtraFieldsLabel {display:block;float:left;font-weight:bold;margin:0 4px 0 0;width:30%;}    div.catItemExtraFields ul li span.catItemExtraFieldsValue {}

 

Thank you for your help!


BBC said:

Maybe your blocks are to small for that place. Play with width: option for Introtext and Additional Info.

 

display:inline, display:block, float:left,,,etc...
  • Claes Norin
  • Claes Norin's Avatar
06 May 2011 16:10
Replied by Claes Norin on topic Sort, group and search by extra fields

Sort, group and search by extra fields

Category: English K2 Community

This should be an option when creating a new menu. Link to Extra Field

Simon Olsen said:
I think Sergey wants what I want!
I have Category A, Item 1, 2 and 3, as well as Category 2, Item 4, 5 and 6.

Items 2 and 5 have an Extra Field of X (whether that be a drop down or radio button, it must be either X or Y).

I want to be able to bring up a list of everything in X (currently Item 2 and Item 5) and order them according to X.

I also want to be able to create a Menu Item to display everything in Extra Field X.

Can anyone do this for us?
  • nusilmar
  • nusilmar's Avatar
28 Apr 2011 12:29

Questions or sugestions !! Where K2 is going ??

Category: English K2 Community

I realy love this component but there are some things that i need to ask :

 

There aren't any updates to k2 for a long time , although it shows stability it also show lack of future options. Is it going to take long for an update or a new version ??

 

Take this as sugestions , please .- need to show categorie content in a table style and not in blog style ( like in joomla content)- Need to have new data types in extra fields ( date type, image type, ...)- i know that there is a paid plugin that do this but i think k2 should have this in default : Import and export abilities ( to xml or csv )- Visual templating ( this is for dumb guys like me in programming) to help us in configure a template ( like define ordering of content ( Video, content, extrafiels, etc...)- Integration with Tabs & Slides In Content Items : For content or for extra fields

- Need to change images handling ( my site is growing larger and larger due to duplication of images ( i can have several articles that could use the same image but i'm stuck to upload another ( or could copy an article and change the text)))

- Allow better integration with other components ( Comunity builder, Jom Social, Alpha user points, ...)

 

Any other feature ???

 

Thank You

 

 
  • Concerto Designs Inc.
  • Concerto Designs Inc.'s Avatar
23 Apr 2011 18:15
amllp.com - K2 on large accounting firm was created by Concerto Designs Inc.

amllp.com - K2 on large accounting firm

Category: English K2 Community

I designed, developed and built amllp.com, a J1.5 website running K2 (and lot of other extensions) for the largest CPA firm in California. Prior content (300+ pages) had to be entered manually (I was able to import some with the very handy K2 import component). One major project goal was to implement a robust SEO campaign - this meant an initial intense phase of wire-framing as well as ongoing client education (client's first reaction to designs: there's too much verbiage, etc. etc.).

The site was an interesting challenge on several fronts, beginning with the accordion panels, which include modules from a wide range of components (K2, Joomla articles, JCal Pro, Docman, contact forms etc.). I created a custom mod_k2_content template with an accordion widget built on mootools. Using the 'modules anywhere' plugin, I then embedded each module into K2 items in order to add/customize intro text and other parameters.

K2's extra fields were a critical part of the individual partners' pages - the right column lists out extra fields data - I made extensive use of the very handy script for hiding null (blank) extra fields.

I created a vertical sliding tab widget based on the Qlue tabs module for the 'people' and sub-group landing pages. The js functionality was easy to customize - as in most of the site, the heavy lifting focused on the css.  The amount of AJAX functionality and very particular UI requirements forced the use of flash widgets on landing pages. Using the swf object module mitigates any SEO detriment.

I took many insights away from this project, which was costly (I went way underwater due, among other things, to ever-shifting client goals) and extensive (8 months from start to launch this past January). The social media networked multi-functionality diverse UX of this site exemplifies a new paradigm of digital publishing - let's call it Web 3.0 - that both extends and transcends the technical apparatus of web 2.0. In a site like amllp.com, the Web 3.0 is an ecosystem of technologies and UXs rather than a single-website entity. At the core of this ecosystem: K2.
  • Saulius
  • Saulius's Avatar
21 Apr 2011 13:26
Replied by Saulius on topic K2 & Extra Fields

K2 & Extra Fields

Category: English K2 Community

Thanks, William! Overriding seems to work fine! However, I could still use some sort of a plug-in or something as I'm building this vehicle rent website and at the catalog view I want only the picture of a vehicle and the intro text in which the main info (such as "maker", "model" etc) to be shown. I add these "maker", "model" as extra fields so my customer could select these values from the drop-down in the back-end. Now, in order for these fields to be shown at my catalog view they need to be inserted as intro text in an article. So that is the whole point.... :)  

I purchased this wonderful LOF K2 Scroller and it's the intro text that is shown under the photo. That's where I need my extra fields..... I know this sounds stupid but still....

 

Is there any solution to this? :) 


William White said:

You can do this with a custom override by rearanging the block for extra fields and putting it between intro text and full text

see here for a start with overrides
  • GoDHanD
  • GoDHanD's Avatar
13 Apr 2011 18:13
K2 item.php error was created by GoDHanD

K2 item.php error

Category: English K2 Community

I've managed to re-order my Extra Fields and so far so good the gallery and Videos aren't way down there closer
  • juju
  • juju's Avatar
08 Apr 2011 12:54
Replied by juju on topic K2 Add new item window resize

K2 Add new item window resize

Category: English K2 Community

Success !

 

But really really dirty, and I don't all understand what I do ^^ But it's work :p

 

It display a little gif in center of the screen (not sure in the center) while saving the item.

 

So, here is how I do , but warning : it's just a test version...

 

In form.php :

 

Just before <form action="index.php" enctype="multipart/form-data" method="post" name="adminForm" id="adminForm">, add :

 

<div id="charge-sbox-overlay" style="z-index: 65555; xg-p: fixed; top: 0px; left: 0px; visibility: hidden; opacity: 0.7; width: 1349px; height: 619px;" class=""></div>

 

&lt;div id="charge-sbox-window" style="z-index: 0; xg-p: fixed; top: 35%; left: 50%; padding: 2px; width: 100px; height: 100px; margin-left:-50px;" class=""&gt;&lt;div id="charge-sbox-content" style="visibility: hidden; opacity: 1;" class="ssbox-content-iframe"&gt;&lt;iframe height="100" frameborder="0" width="100" src="www.notreassurance.com/img/gif-anime_80px.gif"></iframe></div></div>;

 

After that, in the beginning of the file, after &lt;script type="text/javascript"&gt; , add :

 

function chargement(){        document.getElementById("charge-sbox-window").style.zIndex="70000";        document.getElementById("charge-sbox-content").style.visibility="visible";        document.getElementById("charge-sbox-overlay").style.visibility="visible";    }

 

 

And finally, add this just before syncExtraFieldsEditor(), at the beginning of the function submitbutton(pressbutton) :

 

chargement();

 

Try to save an item, and watch the animation ;) Try with an image in the article, to see the animation few seconds ;)

 

I hope you could help me to simplify this code and make it better :)
  • william white
  • william white's Avatar
08 Apr 2011 00:34
Replied by william white on topic Extra Field ordering?

Extra Field ordering?

Category: English K2 Community

In the backend, click the order text - it has hyper link

click the up or down arrows

click the save diskett icon beside the order text

I think that will reorder the extra fields within the group
  • karim bouras
  • karim bouras's Avatar
04 Apr 2011 17:10
Replied by karim bouras on topic Extra Field ordering?

Extra Field ordering?

Category: English K2 Community

You have to do it directly in your database...is there any other way do reorder extra fields???
  • Peter Monti
  • Peter Monti's Avatar
03 Apr 2011 21:58
Replied by Peter Monti on topic Hide extra field if value is empty

Hide extra field if value is empty

Category: English K2 Community

ok perfect - can i take the fields out of the unordered list and just have a div defining each field?
  • Peter Monti
  • Peter Monti's Avatar
03 Apr 2011 20:51
Replied by Peter Monti on topic Hide extra field if value is empty

Hide extra field if value is empty

Category: English K2 Community

i found this post here  but im not understanding how to do them all? i jsut want each field to have an icon rather than text and the link within that icon.and when there is no link inserted the icon does not show.....this si the code from the other post but im not getting it! thanks for your help nick
adding this line &lt;?php $custom = $this-&gt;item-&gt;extra_fields; ?&gt; and then addressing extra fields for the item like &lt;?php echo $custom[1]-&gt;value;? as long as the order of the fields is static.
  • Samuel Rydström
  • Samuel Rydström's Avatar
27 Mar 2011 17:02
Replied by Samuel Rydström on topic Make link in "Article image taken by"- field?

Make link in "Article image taken by"- field?

Category: English K2 Community

I saw that the "Article image taken by" field was named Image credits in english. ( I have the swedish translation of k2). However I solved the problem by making an extrafield and move it right up under the image by editing the layout in item.php. So now I use the extrafield in order to write image credits with links :)
Displaying 401 - 420 out of 529 results.

Powered by Kunena Forum