![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Hi
I have made a custom view which I am using in my blog posts when I make for example a top 10 review of products. I am using it after each review = 10 times per post. The short code I am using is: [DFR:My custom view?word=coca cola] My custom view = the name I gave the view when I made it coca cola = the brandname from where I want products to be shown - it can be more then one word. Now I became aware that when I use the same short code, I have an issue with illegal attributes bec. it is the same CSS ID. Does any of you have a good tip, idea or maybe an alternative, to how I can show products in posts via tags/keywords/brandname without having illegal css as above? I can't imagine that I have to make a new view for each block of products I want to show... BG Thomas |
#2
|
||||
|
||||
![]() Hi Thomas,
What you can do to get rid of duplicate CSS IDs is to configure your custom view to "Don't use layout for this view" (under View's menu > View Properties). The only issue then is you will need to add a wrapper <div> around all of your embedded views like this: HTML Code:
<div id="view"> [DFR:My custom view?word=coca cola] [DFR:My custom view?word=foobar] [DFR:My custom view?word=qwerty] </div>
__________________
![]() ![]() ![]() ![]() |
#3
|
|||
|
|||
![]() Perfect :-)
Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Products don't show in WP posts | scgllc | Questions | 2 | March 25th, 2013 02:49 PM |
Blog posts wont show | thk1976 | Questions | 6 | October 23rd, 2012 04:20 PM |
How do I limit the store to only show dripped posts | GadgetStylist | Questions | 1 | July 29th, 2011 09:44 AM |