|
|
#1 |
|
Member
Join Date: May 2009
Posts: 33
Rep Power: 1 ![]() |
Ok, first off I understand that if I want to have my set # of defined Featured Listings to populate on the home page in a vertical layout, I am going to reference feature_listings_vertical. But after searching the forums about this pesky little one line of a code, I can't seem to find where or how to define adding a line break between each listing and its respective text with some padding before and after the solid line. Can anyone shed some light? I don't want to modify how the listings look in any other part of the site, just on the home page. See for yourself Industrialpost.com
Also, I am happy how featured_listings_horizontal handles the image and text info, but not how it displays the info below the image. I like how featured_listings_vertical_home displays the info to the right of the image, but I don't like how much information is being populated and how it is stylizing this info. So I am going to create a new featured_listings_horizontal_home.php page just for the home featured listings to reference. But still need to know about that solid line break between each listing. Thanks!
__________________
68C | Developer License | Running v4.1.3 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Mar 2006
Posts: 4,339
Rep Power: 106 ![]() ![]() |
I recommend you use the plugin that most closely represents how you want the ads displayed. The horizontal plugin creates a table with empty cells and does math to calculaterows and columns etc. Converting that to create a vertical display would be a lot messier than starting with the vertical plugin to begin with.
As for figuring out where to put a line break thats tough to explaine how to read and identify what goes where. At the end of the day the PHP script queries the database and collects a fixed number of ads. It loads the ad data into a multidimensional array. Then it loops over the array assigning HTML and the various values from the elements of the array to the variable called output. Then "output" is returned to the core and displayed on your page. Since the horizontal plugin creates a table ading a line break after an ad is not going to give you vertical output, its just going to add height to the content of the table cells. If you want to modify it for vertical display you are going to need to fudge with the whole table design.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
#3 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,969
Rep Power: 115 ![]() |
I haven't tried this but it did get me thinking. I wonder if you could use the horizontal and set it to 1 column to get a vertical table.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,499
Rep Power: 43 ![]() ![]() |
You beat me to it! I was just thinking the same thing.
__________________
Mike-N-Tosh IndianaPC.org - A community website (v3.1.10 Developer - heavily modified) Sandbox (v3.1.10, v4.0.9, 4.1.3) Visit My blog for tips, tricks, tutorials, reviews for 68 Classifieds as well as my store with Templates, Mods & Docs Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#5 | |
|
Moderator
Join Date: Mar 2006
Posts: 4,339
Rep Power: 106 ![]() ![]() |
Quote:
At one point I think I posted a version of the plugin converted to use CSS instead of HTML, it had much less php in it and was easier to read/modify for those unfamiliar with php. This was vor v4.0 so it may need some tweaking for 4.1 I need a hand on smarty please...
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
|
#6 |
|
Member
Join Date: May 2009
Posts: 33
Rep Power: 1 ![]() |
Now that is thinking out of the box a?
__________________
68C | Developer License | Running v4.1.3 |
|
|
|
|
|
#7 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,969
Rep Power: 115 ![]() |
Larry,
I totally forgot about it and didn't document it but that plugin is included in the core now. It is named css_featured
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| featured ads home page | darkqueen | v4 Questions & Support | 7 | 06-12-2009 02:13 PM |
| Having trouble putting Featured Listings on my Home Page | michael | HTML, CSS, and Design Help | 16 | 10-17-2008 03:24 PM |
| How show up 12 featured listing in home page ? | Marcelo | HTML, CSS, and Design Help | 2 | 05-01-2007 01:21 AM |
| Featured ads in home page | Marcelo | v3.1 Questions & Support | 0 | 04-19-2007 08:49 PM |
| Featured Listings on Home Page | LukeOut | v3.0 Questions & Support | 9 | 04-06-2006 04:36 PM |