Jump to content


Photo
- - - - -

4 clips per row in Magazine layout + show date


  • Please log in to reply
6 replies to this topic

#1 bsaul

bsaul

    Advanced Member

  • Members

  • 76 posts
  • LocationKent, UK
  • Country: Country Flag

Posted 19 May 2012 - 04:10 PM

OK - I've searched and searched but cannot find out which file to edit in order to show 4 clips per row in the magazine layout for archives, categories, etc. If anyone can help on this, it would be much appreciated. And also, I'd like to add the date - adding this to the Configure Clip Metabar does not show it. Thank you (I will master this theme one day!)

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 19 May 2012 - 04:54 PM

You cannot edit core files to make changes. In order to edit files, you need to use the Base theme described here:

Please Login or Register to see this Hidden Content



#3 bsaul

bsaul

    Advanced Member

  • Members

  • 76 posts
  • LocationKent, UK
  • Country: Country Flag

Posted 21 May 2012 - 04:59 AM

Thanks Catrina And one day I will ask the right questions too ;-) Can anyone point me to the file in which the clips per row is defined? Then I can copy that into the base theme? I ask because this was possible and the code provided some time ago when it was PlatformPro, but I cannot find that code in the PageLines files.

#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 13021 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 21 May 2012 - 11:15 AM

Hi,

You will need to edit the class.posts.php on the following lines.

Line 21 - Replace 2 with 4

Please Login or Register to see this Hidden Content


Line 133 & 134 - Replace 2 with 4

Please Login or Register to see this Hidden Content


The add the following to your custom CSS.

Please Login or Register to see this Hidden Content


Please bear in mind, that this was a quick test and I had it working. However, there may be a better way to do this. So I would recommend you contact on of the PageLines Pros.

Please Login or Register to see this Hidden Content



#5 bsaul

bsaul

    Advanced Member

  • Members

  • 76 posts
  • LocationKent, UK
  • Country: Country Flag

Posted 21 May 2012 - 02:05 PM

Thanks Danny I'll test this out and update here too. Have tried to contact the first Pro - no answer, so will try the next one if this doesn't work. Babs

#6 jomafilms

jomafilms

    Newbie

  • Members

  • 9 posts
  • Country: Country Flag

Posted 03 June 2012 - 02:46 PM

Thanks, Danny. I needed to add 4 columns as well, and it worked great. Is there a way to do this in the child theme without editing the core include file?

#7 bsaul

bsaul

    Advanced Member

  • Members

  • 76 posts
  • LocationKent, UK
  • Country: Country Flag

Posted 09 August 2012 - 01:52 PM

Just thought I should update that the above works a treat - just have to remember to update the file after each update (until the option to action in the child theme is available)