*

ColdFusion

  • ***
  • 72 posts
Listing ID in Mobile view
« on: June 11, 2017, 11:25:17 PM »
Hi,

the ad ids aren't displayed in the mobile view. How can we add them in there as well?

Thanks

*

MB Themes

Re: Listing ID in Mobile view
« Reply #1 on: June 12, 2017, 08:30:49 AM »
@ColdFusion
IDs are not key information of listing.
You can use following functions for listings:
https://doc.osclass.org/HItems.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ColdFusion

  • ***
  • 72 posts
Re: Listing ID in Mobile view
« Reply #2 on: June 12, 2017, 09:48:37 AM »
Hi,

I would disagree, as the ID is the single element uniquely identifying a listing, and its important to have it displayed. It is displayed in the desktop, but mobile version doesn't have it. Could you please give some more help how to add this.

Thanks

*

MB Themes

Re: Listing ID in Mobile view
« Reply #3 on: June 12, 2017, 01:12:36 PM »
@ColdFusion
ID is irrelevant for user, noone is going to write it down or save it somewhere. Admin can read it from URL.
I've sent you link with supported osclass functions that can be used for items.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ColdFusion

  • ***
  • 72 posts
Re: Listing ID in Mobile view
« Reply #4 on: June 12, 2017, 03:58:21 PM »
Ah, to me it's relevant, to my users too  :(
I'd appreciate some help on that, please.

*

MB Themes

Re: Listing ID in Mobile view
« Reply #5 on: June 13, 2017, 10:05:01 AM »
@ColdFusion
I have already send you all you need.
Anywhere place code:
Code: [Select]
<?php echo osc_item_id(); ?>
To show ID of item.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ColdFusion

  • ***
  • 72 posts
Re: Listing ID in Mobile view
« Reply #6 on: June 13, 2017, 11:21:19 AM »
Thank you, frosticek

Sorry for the trouble, but you know, we're not that good and we need some more than the basic info most times :)

The responsive design was confusing me a bit, but I ended up having this

Code: [Select]
<div class="id"><?php _e('ID''veronika'); ?> #<?php echo osc_item_id(); ?></div>
and it does the trick. The only thing is that it doesn't always start on new row, but not a big issue. If it's an easy trick, please do let me know.

Thanks
« Last Edit: June 13, 2017, 05:56:11 PM by ColdFusion »

*

MB Themes

Re: Listing ID in Mobile view
« Reply #7 on: August 03, 2017, 08:35:35 AM »
@ColdFusion
Try to place on ID element float:left css property (style="float:left;clear:none;")
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots