Keyword

itemAuthorBlock

More
12 years 3 months ago #67903 by jason
itemAuthorBlock was created by jason
I am trying to move the div. itemAuthorBlock to the top of the article on the item.php file.

How do I move the code without breaking the php?

Any help would be appreciated.


Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #67904 by william white
Replied by william white on topic Re: itemAuthorBlock
If you are working in the item view, create an override for that category, select it in the category parameters, then goto the override directory and edit item.php there. Move the entire block starting with the if statement all the way to the endif that corresponds to the area you want.
Look in the documentation section for info on creating overrides.
there is also a good tutorial on ostraining.com about k2 templating

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago - 12 years 2 months ago #67905 by jason
Replied by jason on topic Re: itemAuthorBlock
There must be some other code rather than the start and end if statements as it causes the item page to appear blank even if i take the whole block.


Thanks

Jason

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum