| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
i think you can only truncate to a certain number of characters, not words, if you want to do that its: <%$keywords|truncate:150%> to trim to 150chars.
__________________ Some interesting INDEXU bits :http://www.indexu.co.uk Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent ) |
| ||||
|
Thanks inspireme this works, but i had to apply this to the details_link.html page just to test as the <%$keywords$> tag on rows.html only returns the phrase "ARRAY". Does this mean i have to ad the varible somewhere to get it working on this page? |
| ||||
|
I'm far from being a programmer, but I'm pretty sure its suppose to be <%$keywords%> not <%$keywords$>
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| ||||
|
Ok... I'm going to take a stab at this.... <%$keywords%> works on the detail_links.html page but doesn't work on rows.html. If I'm correct, detail_links.html uses detail.php in the root, and rows.html uses browse.php in the root. If we look at detail.php in the root we see : Code: Content visible to License Owner only. Code: Content visible to License Owner only. In detail.php, the keywords are being called here: Code: Content visible to License Owner only. Code: Content visible to License Owner only. Now after I typed all of this out, I just noticed that there is a $meta_keywords being called in browse.php. What that means, I have NO IDEA!!! LOL I'm putting my disclaimer in here: DISCLAIMER : Following my advice has been known to cause sparatic tornadoes, higher CO2 emissions, and in some small cases, nuclear winter! Think about this before doing anything I say!!!!! My advice... Allow someone 1,000,000 times smarter than me on this board to tell you if I'm right or completely wrong!!!
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| ||||
|
Thanks for the help FSGDAG, I thought it had to be browse.php, unfortunately to no avail nice tryI would like to see some documentation on how indexu html files relate back to the appropriate php, and to see a guide for template variables. I have some more questions to ask, but dont want to start another thread till I have this sorted. BTW roflma disclaimer I have backups so do your worst, thanks for your help
|
| ||||
| Code: Content visible to License Owner only. I'm sure there is an answer out there though ![]() Code: Content visible to License Owner only.
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Smarty AND/OR | beto | v5.x | 2 | 12-18-2006 05:29 AM |
| Smarty - Detail.html - Keywords | ezykiwi | v5.x | 2 | 09-30-2006 08:17 AM |
| Smarty Errors | kevinrstruck | v5.x | 2 | 04-02-2006 06:55 PM |
| smarty code | vittle | v5.x | 1 | 02-21-2006 06:11 PM |
| More smarty plugins | dody | v5.x | 1 | 12-16-2005 10:33 PM |