![]() |
|
insert ads between rows - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: insert ads between rows (/thread-10719.html) |
insert ads between rows - galatea - 08-01-2013 hello code adsense where's my mistake ? insert ads between rows - acrylian - 08-01-2013 First, if you want the count to start with 1 you should set $count = ''; Also check your nesting. Using endif is possible but really no one does. In the example the while loop is not closed, too. insert ads between rows - galatea - 08-01-2013 sorry, I did not quite understand what you told me (I started in php and it is a bit complicated) mon code asdense " title=" "> " title=" "> it gives me an error unexpected $end insert ads between rows - acrylian - 08-01-2013 If you don't use endif you still need to close the bracket. Please take the time to learn PHP basics at least first before trying to modify a theme. insert ads between rows - fretzl - 08-01-2013 It should look something like this: ` mon code asdense ">
` insert ads between rows - galatea - 09-01-2013 fretzi insert ads between rows - acrylian - 09-01-2013 There is a I really again like to recommend to get into PHP basics. This is fairly basic stuff and you will be rewarded the more you work on your site. insert ads between rows - fretzl - 09-01-2013 It works for me. ` mon code asdense "> "> ` insert ads between rows - galatea - 09-01-2013 your code works perfectly, I'm just an idiot without memory, I had forgotten that I had left the cached pages I could not see advertising appear thank you very much fretzel. insert ads between rows - acrylian - 09-01-2013 Good we finally managed (sorry, fretzl, missed somehow that you raise $count at the end but $count++ is nicer..:-))) |