| Joomla! http://forum.joomla.org/ |
|
| List - Content Section -> Blog - Content Category [Content Display Hack] http://forum.joomla.org/viewtopic.php?f=178&t=135919 |
Page 1 of 2 |
| Author: | barnett [ Mon Jan 29, 2007 4:56 am ] |
| Post subject: | List - Content Section -> Blog - Content Category [Content Display Hack] |
What this hack does: It allows you to create a menu item of type List - Content Section which lists the categories of a specific content section. Except instead of clicking on a category title to view the content items of that category in an ugly table list format, when this hack is enabled you can choose to have the category content items displayed in a blog format like the Blog - Content Category menu item would display them. How to implement the hack: Step 1: open file: components/com_content/content.php goto line 631 of function showCategory() and replace this: Code: HTML_content::showContentList( $category, $items, $access, $id, $sectionid, $gid, $params, $pageNav, $other_categories, $lists, $selected, true ); with this: Code: $params->def( 'blog_link', 0 ); if ( $params->get( 'blog_link' ) ) { global $pop; showBlogCategory( $id, $gid, $access, $pop, $now, $limit, $limitstart ); } else { HTML_content::showContentList( $category, $items, $access, $id, $sectionid, $gid, $params, $pageNav, $other_categories, $lists, $selected, true ); } scroll down to line 1202 of function BlogOutput() and after this: Code: case 'content_blog_category': $description = new mosCategory( $database ); $description->load( (int)$menu->componentid ); break; insert this: Code: case 'content_section': $description = new mosCategory( $database ); $description->load( $id ); // Dynamic Page Title $mainframe->SetPageTitle( $description->name ); if ( $header ) { $header = $description->name; } break; save the file! Step 2: open file: administrator/components/com_menus/content_section/content_section.xml after line 126 where you see this: Code: <param name="@spacer" type="spacer" default="" label="" description="" /> <param name="unpublished" type="radio" default="1" label="Unpublished Items" description="Show/Hide unpublished items for `Publisher` user group and above"> <option value="0">Hide</option> <option value="1">Show</option> </param> insert this: Code: <param name="@spacer" type="spacer" default="" label="" description="" /> <param name="@spacer" type="spacer" default="" label="Blog Category Hack Below" description="" /> <param name="blog_link" type="radio" default="0" label="Link to Blog Categories" description="Make the Category link to a blog instead of a table"> <option value="0">No</option> <option value="1">Yes</option> </param> <param name="@spacer" type="spacer" default="" label="" description="" /> <param name="cat_columns" type="text" size="3" default="1" label="Category Columns" description="When displaying the categories, how many columns to use per row" /> <param name="header" type="text" size="30" default="" label="Page Title" description="Text to display at the top of the page" /> <param name="page_title" type="radio" default="1" label="Page Title" description="Show/Hide the Page title"> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="leading" type="text" size="3" default="1" label="# Leading" description="Number of Items to display as a leading (full width) item. 0 will mean that no items will be displayed as leading." /> <param name="intro" type="text" size="3" default="4" label="# Intro" description="Number of Items to display with the introduction text shown." /> <param name="columns" type="text" size="3" default="2" label="Columns" description="When displaying the intro text, how many columns to use per row" /> <param name="link" type="text" size="3" default="4" label="# Links" description="Number of Items to display as Links." /> <param name="orderby_pri" type="list" default="" label="Category Order" description="Order items by catgeory"> <option value="">No, order by Primary Order only</option> <option value="alpha">Title Alphabetical</option> <option value="ralpha">Title Reverse-Alphabetical</option> <option value="order">Ordering</option> </param> <param name="orderby_sec" type="list" default="" label="Primary Order" description="Order that the items will be displayed in."> <option value="">Default</option> <option value="date">Oldest first</option> <option value="rdate">Most recent first</option> <option value="alpha">Title Alphabetical</option> <option value="ralpha">Title Reverse-Alphabetical</option> <option value="author">Author Alphabetical</option> <option value="rauthor">Author Reverse-Alphabetical</option> <option value="hits">Most Hits</option> <option value="rhits">Least Hits</option> <option value="order">Ordering</option> </param> <param name="pagination" type="list" default="2" label="Pagination" description="Show/Hide Pagination support"> <option value="0">Hide</option> <option value="1">Show</option> <option value="2">Auto</option> </param> <param name="pagination_results" type="radio" default="1" label="Pagination Results" description="Show/Hide Pagination Results info ( e.g 1-4 of 4 )"> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="image" type="radio" default="1" label="MOSImages" description="Display {mosimages}."> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="@spacer" type="spacer" default="" label="" description="" /> <param name="description" type="radio" default="0" label="Description" description="Show/Hide the Category Description"> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="description_image" type="radio" default="0" label="Description Image" description="Show/Hide the Category Description"> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="@spacer" type="spacer" default="" label="" description="" /> <param name="category" type="radio" default="0" label="Category Name" description="Show/Hide the Category the item belongs to"> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="category_link" type="radio" default="0" label="Category Name Linkable" description="Make the Category text a link to the actual Category page"> <option value="0">No</option> <option value="1">Yes</option> </param> <param name="item_title" type="radio" default="1" label="Item Titles" description="Show/Hide the items title"> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="link_titles" type="list" default="" label="Linked Titles" description="Make your Item titles linkable"> <option value="">Use Global</option> <option value="0">No</option> <option value="1">Yes</option> </param> <param name="readmore" type="list" default="" label="Read More" description="Show/Hide the Read More link"> <option value="">Use Global</option> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="rating" type="list" default="" label="Item Rating" description="Show/Hide the item rating - only affects this page"> <option value="">Use Global</option> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="author" type="list" default="" label="Author Names" description="Show/Hide the item author - only affects this page"> <option value="">Use Global</option> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="createdate" type="list" default="" label="Created Date and Time" description="Show/Hide the item creation date - only affects this page"> <option value="">Use Global</option> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="modifydate" type="list" default="" label="Modified Date and Time" description="Show/Hide the item modification date - only affects this page"> <option value="">Use Global</option> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="pdf" type="list" default="" label="PDF Icon" description="Show/Hide the item pdf button - only affects this page"> <option value="">Use Global</option> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="print" type="list" default="" label="Print Icon" description="Show/Hide the item print button - only affects this page"> <option value="">Use Global</option> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="email" type="list" default="" label="Email Icon" description="Show/Hide the item email button - only affects this page"> <option value="">Use Global</option> <option value="0">Hide</option> <option value="1">Show</option> </param> save the file! Step 3: (Note: this step is optional, but it fixes the bug that doesn't allow category images to display in the Content Section page and also allows for categories to be displayed in columns using the "Category Columns" field in the menu setup) open file: components/com_content/content.html.php goto function showCategories() around line 122 and replace the whole function with this: Code: function showCategories( &$params, &$items, $gid, &$other_categories, $catid, $id, $Itemid ) { if(!count($other_categories)) return; $columns = $params->def( 'cat_columns', 1 ); if ( $columns == 0 ) { $columns = 1; } $col_with = 100 / $columns; // width of each column $width = 'width="'. intval( $col_with ) .'%"'; echo '<table width="100%" cellpadding="0" cellspacing="0">'; $z = 0; $total = count($other_categories); foreach ( $other_categories as $row ) { $row->name = htmlspecialchars( stripslashes( ampReplace( $row->name ) ), ENT_QUOTES ); if ( $catid != $row->id ) { if ( !( $z % $columns ) || $columns == 1 ) { echo '<tr>'; } echo '<td valign="top" '. $width .'>'; if ( $row->access <= $gid ) { $link = sefRelToAbs( 'index.php?option=com_content&task=category§ionid='. $id .'&id='. $row->id .'&Itemid='. $Itemid ); ?> <a href="<?php echo $link; ?>" class="category"> <?php echo $row->name;?></a> <?php if ( $params->get( 'cat_items' ) ) { ?> <i>( <?php echo $row->numitems; echo _CHECKED_IN_ITEMS;?> )</i> <?php } // Writes Category Image if ( $params->get( 'description_cat' ) || $params->get( 'description_cat_image' ) ) { echo '<br />'; } if ( $params->get( 'description_cat_image' ) && $row->image ) { global $mosConfig_live_site; $link = $mosConfig_live_site .'/images/stories/'. $row->image; echo '<img src="'. $link .'" align="'. $row->image_position .'" hspace="6" alt="" />'; } // Writes Category Description if ( $params->get( 'description_cat' ) && $row->description ) { echo $row->description; } } else { echo $row->name; ?> <a href="<?php echo sefRelToAbs( 'index.php?option=com_registration&task=register' ); ?>"> ( <?php echo _E_REGISTERED; ?> )</a> <?php } echo '</td>'; $z++; if ( !( ( $z ) % $columns ) || $columns == 1 ) { echo '</tr>'; } else if ($z >= $total) { echo '</tr>'; } } } echo '</table>'; } save the file! Step 4: Log into the admin backend and goto the menu item that is of type List-Content Section and edit it. You'll see the blog Category options at the bottom of the Parameters. Select Link to Blog Categories: "yes". and save. Thanks to cronlin for originally posting my hack here: http://forum.joomla.org/index.php/topic,5895.0.html I've since updated this hack to Joomla 1.0.12 as well as added support for category lists in the section display to show description images properly. I've attached the hacked files for Joomla 1.0.12 below. Enjoy -barnett |
|
| Author: | goocharlton [ Mon Jan 29, 2007 11:44 am ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Thanks a lot for this hack barnett, greatly appreciated. I do have one question though. When you click on the menu item, it displays a list of all the categories in one single long column down the page. Is there a way i can change the code so it displays the categories in 2 columns instead of just one? I had a look at the code that will need to be edited, here is is. components/com_content/content.html.php Code: <ul>
<?php foreach ( $other_categories as $row ) { $row->name = htmlspecialchars( stripslashes( ampReplace( $row->name ) ), ENT_QUOTES ); if ( $catid != $row->id ) { ?> <li style="clear: both;"> <?php if ( $row->access <= $gid ) { $link = sefRelToAbs( 'index.php?option=com_content&task=category§ionid='. $id .'&id='. $row->id .'&Itemid='. $Itemid ); ?> <a href="<?php echo $link; ?>" class="category"> <?php echo $row->name;?></a> <?php if ( $params->get( 'cat_items' ) ) { ?> <i>( <?php echo $row->numitems; echo _CHECKED_IN_ITEMS;?> )</i> <?php } // Writes Category Image if ( $params->get( 'description_cat' ) || $params->get( 'description_cat_image' ) ) { echo '<br />'; } if ( $params->get( 'description_cat_image' ) && $row->image ) { global $mosConfig_live_site; $link = $mosConfig_live_site .'/images/stories/'. $row->image; echo '<img src="'. $link .'" align="'. $row->image_position .'" hspace="6" alt="" />'; } // Writes Category Description if ( $params->get( 'description_cat' ) && $row->description ) { echo $row->description; } } else { echo $row->name; ?> <a href="<?php echo sefRelToAbs( 'index.php?option=com_registration&task=register' ); ?>"> ( <?php echo _E_REGISTERED; ?> )</a> <?php } ?> </li> <?php } } ?> </ul> |
|
| Author: | barnett [ Mon Jan 29, 2007 4:53 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Try something like this: CODE DELETED! Edit: Scratch that. I got it working above. -barnett |
|
| Author: | goocharlton [ Tue Jan 30, 2007 4:42 am ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
That didnt work. It just listed the categories as normal Got any other idears |
|
| Author: | cronlin [ Thu Feb 01, 2007 6:37 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
omg! I think I'll stick with 1.0.11 and the version posted on my thread! goodness, that looks like a lot thank you so much for updating this to reflect new versions of joomla, with you having this thread, people will still be able to use the other one for older versions of joomla or this one for 1.0.12 |
|
| Author: | barnett [ Thu Feb 01, 2007 11:09 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
@goocharlton - I've re-edited the hack and got what you wanted working. You need to add one line to the xml file: Code: <param name="cat_columns" type="text" size="3" default="1" label="Category Columns" description="When displaying the categories, how many columns to use per row" /> and then see Step 3 up above for the rest. Enjoy -barnett |
|
| Author: | goocharlton [ Fri Feb 02, 2007 6:40 am ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
barnett wrote: @goocharlton - I've re-edited the hack and got what you wanted working. You need to add one line to the xml file: Code: <param name="cat_columns" type="text" size="3" default="1" label="Category Columns" description="When displaying the categories, how many columns to use per row" /> and then see Step 3 up above for the rest. Enjoy -barnett Thanks mate, you are so awesome. is it possible to be able to display the categorie list vertically not horizontally. ie. NOT like this: 1 2 3 4 5 6 7 8 9 10 BUT like this: 1 6 2 7 3 8 4 9 5 10 ...cheers and sorry to be such a pain to you. |
|
| Author: | barnett [ Fri Feb 02, 2007 1:45 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
goocharlton wrote: Thanks mate, you are so awesome. is it possible to be able to display the categorie list vertically not horizontally. ie. NOT like this: 1 2 3 4 5 6 7 8 9 10 BUT like this: 1 6 2 7 3 8 4 9 5 10 ...cheers and sorry to be such a pain to you. Not directly with this Hack. But you should be able to get your desired results by fiddling with the category ordering in the backend. So if you set it to 2 columns your new category ordedring should be: 1 -> 1 2 -> 3 3 -> 5 4 -> 7 5 -> 9 6 -> 2 7 -> 4 8 -> 6 9 -> 8 10 ->10 give it a try. -barnett |
|
| Author: | goocharlton [ Fri Feb 02, 2007 10:26 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
OK, thanks for all your help barnett
|
|
| Author: | MarjanP [ Sun Feb 18, 2007 6:50 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Hello, i tryed to get this hack to work in J 1.0.12. with partly effect. If i make a menuentry now i see the hacked in parameters - only in "List - content from section ", which is right, i suppose. I set the "Link to Blog Categories" var to yes. Now, if i call that page in the Frontend, i see the Category item, its name and that the texthint that there are ( 5 entrys/items ). But - no blog. Neither does it show empty categories, though i chose this. I used your files you offered for download. so i tried to comment out the lines of this starting at line 631: $params->def( 'blog_link', 0 ); if ( $params->get( 'blog_link' ) ) { global $pop; // showBlogCategory( $id, $gid, $access, $pop, $now, $limit, $limitstart ); } else { // HTML_content::showContentList( $category, $items, $access, $id, $sectionid, $gid, $params, $pageNav, $other_categories, $lists, $selected, true ); } which made no difference at all. Then i figured that instead of function "showCategory", "showSection()" is executed, which makes sense since we want to see a section list... so there is also this line: HTML_content::showContentList( $section, $null, $access, $id, $null, $gid, $params, $null, $categories, $null, $null, $categories_exist ); which i tried to exchange with your code snippet, but then i get a php error because of undefined variables. the question remains, why is the showCategorie not invoked? What am i missing here? Sorry to annoy you with this... Edit: Maybe some info from the database entry of the menu item: link = index.php?option=com_content&task=section&id=8 type = content_section params = menu_image=-1 pageclass_sfx= back_button= description_sec=1 description_sec_image=1 orderby= other_cat_section=1 empty_cat_section=0 description_cat=1 description_cat_image=1 other_cat=1 empty_cat=1 cat_items=1 cat_description=1 date_format= date= author= hits= headings=1 navigation=1 order_select=1 display=1 display_num=50 filter=1 filter_type=title unpublished=1 blog_link=1 cat_columns=1 header=BBBBBBBBBBBBBBBBBBBBBBB page_title=1 leading=1 intro=4 columns=2 link=4 orderby_pri= orderby_sec= pagination=2 pagination_results=1 image=1 description=1 description_image=1 category=1 category_link=1 item_title=1 link_titles= readmore= rating= createdate= modifydate= pdf= print= email= |
|
| Author: | barnett [ Sun Feb 18, 2007 8:09 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
MarjanP wrote: Hello, i tryed to get this hack to work in J 1.0.12. with partly effect. If i make a menuentry now i see the hacked in parameters - only in "List - content from section ", which is right, i suppose. I set the "Link to Blog Categories" var to yes. Now, if i call that page in the Frontend, i see the Category item, its name and that the texthint that there are ( 5 entrys/items ). But - no blog. Neither does it show empty categories, though i chose this. MarjanP- I think you might be missing what this hack does. It is actually working correctly as you describe it. What this hack does is show the usual section with it's categories listed (as you described).... but then when you click on a category link it goes to a blog layout of the categories content items, rather than a table of content items. So no blog of category content items is shown on the first click of the menu. But later they are shown upon clicking the category. Sorry if this is confusing. To see the difference use the parameters to turn the hack on and off to test what it looks like when you click on the categories listed in the section. -barnett |
|
| Author: | MarjanP [ Sun Feb 18, 2007 8:17 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Aaaaahhhh, i see ![]() Actually i thought, it would list the categories and then display a blog under every category with its items. Sorry, never mind
|
|
| Author: | mossimo [ Wed Mar 21, 2007 4:35 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
dear to all of you thanks to this code but i have a proble when i set the Empty categories in section and Empty category to show its not working.. It appear that i should click first in one of the category to make it appear the other category that has an empty content... the second problem is when i do not have a content for the category what i want is i just click the category then the content that i write in the category it will appear there so i enable the empty category to appear also in my section.... I hope you guys understand me... I create a menu that link to list of content section then i have COMMITTE SECTION CATEGORY 1.Main committe 2. Family Committe 3. Site COmmitte(2 content) but in main committe and family committe there is no content so when they clck the mainmenu which i add COMMITTE they will see the 3 category..i am correct bec i set it in parameter to see the empty category. when i add 1 content for main committe it will appear now But its not good idea for browser to click again the main committe bec its the same content in main committe so heres the breadcrumbs when i put content inmain committe category... HOME->COMMITTE->MAIN COMMITTE->MAin committe But i do not want to have content in main commite bec i already add the content in main comiitee category so i want the breadcrubs should be HOME->COMMITTE->MAIN COMMITTE and here it will appear the content now... so there is 2 problem i encounter.. Please i beg about this problem of mine.. I hope you guys understand me Because some category has no content but i add tetxt in category.. I hope you guys help me!!! PLEASE!! |
|
| Author: | mossimo [ Fri Mar 23, 2007 4:46 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
good day to all of you! i try this hack in my joomla version 1.0.12 and its not working the empty category to show even though i havve no content in that category i download the 3 files but still the same.... I install a fresh joomla and still not working the empty category but in my version 1.0.10 its working fine.... I do not know what is wrong now.. I copy the 3 files from version 1.0.10 (Content_section.xml, content.html.php & content.php) to my version 1.0.12 and its works now... But i do not know if is good idea to copy the 3 files and also i want the hack that you made.. I hope sombody in this thread can help me . Thanks so much!!! |
|
| Author: | barnett [ Sat Mar 24, 2007 4:41 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
mossimo wrote: good day to all of you! i try this hack in my joomla version 1.0.12 and its not working the empty category to show even though i havve no content in that category i download the 3 files but still the same.... I install a fresh joomla and still not working the empty category but in my version 1.0.10 its working fine.... I do not know what is wrong now.. I copy the 3 files from version 1.0.10 (Content_section.xml, content.html.php & content.php) to my version 1.0.12 and its works now... But i do not know if is good idea to copy the 3 files and also i want the hack that you made.. I hope sombody in this thread can help me . Thanks so much!!! this is a joomla 1.0.12 bug and has nothing to do with this hack. see here: http://forum.joomla.org/index.php/topic,126621.0.html? |
|
| Author: | mossimo [ Sat Mar 24, 2007 6:19 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
THanks Barnett!!! for the hack
|
|
| Author: | Dr3 [ Fri Mar 30, 2007 1:46 am ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
I had tried editing the code as suggested, and somehow I broke my site ![]() So I DL'd your files and it is working brilliantly! Thank you for the hack! PS: wouldn't it be possible to make a component that did all this stuff?
|
|
| Author: | mossimo [ Fri Mar 30, 2007 7:09 am ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
dear sir barnett! i know this thread is solved but i would like to ask i use your hack but iw would like to ask i set the parameters in page class suffix i add like this -book so when i view my site in firefox the developer tool i see that .contentpane-book & contentdescription-book i would like to ask how to change also the .category the link for the category also should be .category-book because i made diffrent css for different menu.. do you think it is possible that also .category-book the link for the category inherit the pageclass suffix that i set in parameters? hello sir... i would like also to ask if possible to have a filter when i used your hack..thanks |
|
| Author: | DazP [ Thu Apr 05, 2007 11:12 am ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
A very useful hack. Also saves assigning individual categories to the blog format. However, when OpenSEF is switched ON - the hacked page won't display, it just shows the content as a non hacked page except that other modules dont appear on the page, just the content section. Also the subsequent page doesn't show in blog format. When SEF is off, the category blog page doesn't show the 'next' and 'prev' for the articles that are not shown in the 'more' links. Ideas on solutions to the above would be great. Thanks, DazP |
|
| Author: | DazP [ Thu Apr 05, 2007 12:02 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Hmm, Another big problem is that on the subsequent blog page, the category title doesn't show And, modules that are set to appear on the section page can't be switched off for the blog pages to follow. These are problems. More hacking I guess? DazP |
|
| Author: | Margo [ Sun Apr 29, 2007 7:49 am ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
I am having the same problem with OpenSEF. Any ideas as this hack looks gorgeous on my site but I would really like the friendly URl's ![]() I did some research tonight, and it is related to Joomla ItemId's and in this case section Id's On my OpenSEF FURL list each category had pages of Internal URL's with different Section Id's and different Item ID's. All bar one linked to the old style list view instead of the blog view. Any suggestions here? |
|
| Author: | Margo [ Mon Apr 30, 2007 1:33 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Not sure if the cause is OpenSEF but realised today that the paginations are wrong as well. I had to completel;y remove this hack and empty my friendly URL's.
|
|
| Author: | godyn [ Tue May 08, 2007 7:16 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Thanks so much Barnett ! That's the hack I needed. Does a great job for me. |
|
| Author: | birks [ Wed Aug 15, 2007 10:21 am ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Hello! Yes, nice hack, good work! However, like DazP, I'm only getting the section title on the category pages, rather than the category title. I've been looking around seeing if it's a configurable thing, but alas no. [Update] Oh and I notice that the Section Description isn't showing anymore either.. Any ideas? Cheers, Graham |
|
| Author: | birks [ Wed Aug 15, 2007 3:58 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Actually, I found it, 'Description' turns on both the Category Title, and Section description too. Hooray! |
|
| Author: | cutesimaus [ Thu Aug 16, 2007 9:08 am ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
I'm sorry I cannot picture what this hack is trying to do. I would like to hack the content display to show the following layout. TABLE OF 10 LATEST Entries under the said category. Full Article (not just intro, but intro + main text) Anyone can help me on how to do this? Is there an extension for this? Or better to hack the content.php? Please advise as I am stuck already. Thanks, |
|
| Author: | gatto [ Sun Aug 26, 2007 8:28 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Superb hack! Succed to make a blogging system with it. The only thing, that would make even better, if the category image could appear (as a blog header image) above any item of the category. Now it appears only above the category list. Is it possible?
|
|
| Author: | PattyN [ Tue Aug 28, 2007 12:24 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
has anyone tried this with version 1.0.13? Can't seem to get it to work (doesn't link to blog) thanks, patty |
|
| Author: | lyndonr [ Fri Oct 19, 2007 4:56 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Wondering if anyone is using this hack with 1.0.13? Or perhaps it's been rolled up into a component by now? Any help is greatly appreciated, Lyndon |
|
| Author: | wizardjeje [ Sun Oct 21, 2007 5:05 pm ] |
| Post subject: | Re: List - Content Section -> Blog - Content Category [Content Display Hack] |
Answer to lyndonr : this hack is still not included in Joomla 1.0.13, unfortunately. I applied this hack to v1.0.13. I didn't test every feature, but it works really fine up to now !! And it really helped me realize this f*** link from section list to category blog. ![]() To help other interested people save time in applying this hack to Joomla 1.0.13, I've made a little zip with the hacked files, including the directory structure. This means you just have to unzip it locally, and then copy it to your joomla root directory to replace existing files. Here is a link to the file : http://www.wizardkind.be/downloads/Joomla/Content_hack_1.0.13.zip Still a lot of thanks to Barnett for this hack ! Wizardjeje |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|